alphacyberranger to Programmer Humor@programming.devEnglish • 6 months agoAdded Bugs to Keep my jobsh.itjust.worksimagemessage-square160fedilinkarrow-up1350
arrow-up1350imageAdded Bugs to Keep my jobsh.itjust.worksalphacyberranger to Programmer Humor@programming.devEnglish • 6 months agomessage-square160fedilink
minus-square@Schal330@lemmy.worldlinkfedilink51•6 months agoRemoved double quotes, added single quotes
minus-square@iAvicenna@lemmy.worldlinkfedilink35•6 months agosomeone later on -m “removed single quotes, added double quotes”
minus-square@gravitas_deficiency@sh.itjust.workslinkfedilinkEnglish7•6 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@QuazarOmega@lemy.lollinkfedilinkEnglish3•6 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@gravitas_deficiency@sh.itjust.workslinkfedilinkEnglish5•6 months agoOh, no, we can do better. Every single line of every single PR is an individual commit. And never squash-commit.
minus-square@gravitas_deficiency@sh.itjust.workslinkfedilinkEnglish2•edit-26 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@QuazarOmega@lemy.lollinkfedilinkEnglish1•6 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@grrgyle@slrpnk.netlinkfedilink4•6 months agoNot Shall330, but double quotes can imply variables in the string in some languages.
minus-square@bitchkat@lemmy.worldlinkfedilinkEnglish5•6 months agoPHP for one. “$x” will interpret the variable $x. ‘$x’ does not.
minus-square@Schal330@lemmy.worldlinkfedilink3•6 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 🤣