diffmin-examples's Introduction
diffmin-examples's People
diffmin-examples's Issues
Don't show diff for swap in docstrings
Too fine-grained or are we performing better?
Enclosing resource in try-with-resource block
Based on my subjective opinion, it is really hard to understand the intent of the commit author.
Unnecessary whitespace before `main`
Diffmin should incorporate such minimisations as well.
Whitespaces are removed even if a variable is indented in a try-block
Is this the desired behaviour? Should we also have this in diffmin? I feel the with-whitespaces diff was clearer.
Is catch printed correctly?
Candidate for checking if sniper printer works correctly. One catch should be printed with space while the other without it. https://github.com/yana-muntianu/jsonplaceholder-api/pull/6/files#diff-a456168dd06d9109b1ddeeef1733f7a7448f2dce0320b6e723d82e09697ed768R142
Docstring formatting change example
Movement of argument causes a line diff
- runNonChunkedTests(
- tail => new CachingChunkWriter[IO](tail, IO.pure(Headers.empty), 1024 * 1024))
+ runNonChunkedTests(tail =>
+ new CachingChunkWriter[IO](tail, IO.pure(Headers.empty), 1024 * 1024))
The movement of tail
can be an example of spurious formatting.
Syntactical minimisation of semantically equivalent code elements
switch-case
block is smartly converted to an if-block
.
Should we consider import changes?
Import changes can be considered to be discarded as they do not always provide useful information for review. Some would say that reviewers can refer to imports when they come across a TYPE_USE
in the code.
Examples
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.