someone later on -m "removed single quotes, added double quotes"
More commits == More money!!!
Real talk: I have worked at a company where an exec briefly had the bright idea to rank developers on number of commits made.
You can imagine how that turned out.
He wasnβt an exec for very long.
lmaoo, I can't believe someone actually did that and was serious about it.
I'm already imagining commits piling up with comments like:
"add a newline"
"move function up"
"rename variable users to user_list"
"Revert previous commit"
"no John, it's user_list and that's it, don't you dare change it again"
He wasnβt an exec for very long.
Good riddance I guess
Oh, no, we can do better.
Every single line of every single PR is an individual commit. And never squash-commit.
Talk about atomic commits
If you really want to nuke it from orbit: do it for every character.
It is absolutely technically feasible to go further than that, but I think thatβs the point of diminishing returns in terms of effort.
Hah, I knew it would come to that
but I think thatβs the point of diminishing returns in terms of effort
Not if you make another application to automatically split commits in that way... application which will need its own commits, it's never-ending
Why do u prefer single quotes?
Not Shall330, but double quotes can imply variables in the string in some languages.
Which languages are these?
PHP for one. "$x" will interpret the variable $x. '$x' does not.
Well there's ya problem ur using php.
Also bash
And Perl.
I have no preference! It was to do with Spring/yaml config and some really strange conflict which required the use of single quotes. I'm still a total noob in the world of software dev, so I wouldn't be able to explain why it worked π€£
Removed double quotes, added single quotes
someone later on -m "removed single quotes, added double quotes"
More commits == More money!!!
Real talk: I have worked at a company where an exec briefly had the bright idea to rank developers on number of commits made.
You can imagine how that turned out.
He wasnβt an exec for very long.
lmaoo, I can't believe someone actually did that and was serious about it.
I'm already imagining commits piling up with comments like:
users
touser_list
"user_list
and that's it, don't you dare change it again"Good riddance I guess
Oh, no, we can do better.
Every single line of every single PR is an individual commit. And never squash-commit.
Talk about atomic commits
If you really want to nuke it from orbit: do it for every character.
It is absolutely technically feasible to go further than that, but I think thatβs the point of diminishing returns in terms of effort.
Hah, I knew it would come to that
Not if you make another application to automatically split commits in that way... application which will need its own commits, it's never-ending
Why do u prefer single quotes?
Not Shall330, but double quotes can imply variables in the string in some languages.
Which languages are these?
PHP for one. "$x" will interpret the variable $x. '$x' does not.
Well there's ya problem ur using php.
Also bash
And Perl.
I have no preference! It was to do with Spring/yaml config and some really strange conflict which required the use of single quotes. I'm still a total noob in the world of software dev, so I wouldn't be able to explain why it worked π€£