alphacyberranger to Programmer [email protected]English • 7 months agoAdded Bugs to Keep my jobsh.itjust.worksimagemessage-square161fedilinkarrow-up1348arrow-down127
arrow-up1321arrow-down1imageAdded Bugs to Keep my jobsh.itjust.worksalphacyberranger to Programmer [email protected]English • 7 months agomessage-square161fedilink
minus-square@iAvicennalink35•7 months agosomeone later on -m “removed single quotes, added double quotes”
minus-square@[email protected]linkfedilinkEnglish7•7 months agoReal 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.
minus-square@[email protected]linkfedilinkEnglish3•7 months agolmaoo, 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
minus-square@[email protected]linkfedilinkEnglish5•7 months agoOh, no, we can do better. Every single line of every single PR is an individual commit. And never squash-commit.
minus-square@[email protected]linkfedilinkEnglish2•edit-27 months agoIf 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.
minus-square@[email protected]linkfedilinkEnglish1•7 months agoHah, 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
minus-square@[email protected]linkfedilink4•7 months agoNot Shall330, but double quotes can imply variables in the string in some languages.
minus-square@bitchkatlinkEnglish5•7 months agoPHP for one. “$x” will interpret the variable $x. ‘$x’ does not.
minus-square@Schal330link3•7 months agoI 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 🤣