alphacyberranger@sh.itjust.works to Programmer Humor@programming.devEnglish · 8 months agoAdded Bugs to Keep my jobsh.itjust.worksimagemessage-square159fedilinkarrow-up1350arrow-down127
arrow-up1323arrow-down1imageAdded Bugs to Keep my jobsh.itjust.worksalphacyberranger@sh.itjust.works to Programmer Humor@programming.devEnglish · 8 months agomessage-square159fedilink
minus-squareSchal330@lemmy.worldlinkfedilinkarrow-up50arrow-down1·8 months agoRemoved double quotes, added single quotes
minus-squareiAvicenna@lemmy.worldlinkfedilinkarrow-up35·8 months agosomeone later on -m “removed single quotes, added double quotes”
minus-squareQuazarOmega@lemy.lollinkfedilinkEnglisharrow-up19·8 months agoMore commits == More money!!!
minus-squaregravitas_deficiency@sh.itjust.workslinkfedilinkEnglisharrow-up7·8 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-squareQuazarOmega@lemy.lollinkfedilinkEnglisharrow-up3·8 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-squaregravitas_deficiency@sh.itjust.workslinkfedilinkEnglisharrow-up5·8 months agoOh, no, we can do better. Every single line of every single PR is an individual commit. And never squash-commit.
minus-squaregravitas_deficiency@sh.itjust.workslinkfedilinkEnglisharrow-up2·edit-28 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-squareQuazarOmega@lemy.lollinkfedilinkEnglisharrow-up1·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🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕕𝕚𝕝𝕖@lemm.eelinkfedilinkEnglisharrow-up2·8 months agoWhy do u prefer single quotes?
minus-squaregrrgyle@slrpnk.netlinkfedilinkarrow-up4·8 months agoNot Shall330, but double quotes can imply variables in the string in some languages.
minus-square🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕕𝕚𝕝𝕖@lemm.eelinkfedilinkEnglisharrow-up2·7 months agoWhich languages are these?
minus-squarebitchkat@lemmy.worldlinkfedilinkEnglisharrow-up5·7 months agoPHP for one. “$x” will interpret the variable $x. ‘$x’ does not.
minus-square🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕕𝕚𝕝𝕖@lemm.eelinkfedilinkEnglisharrow-up2arrow-down1·7 months agoWell there’s ya problem ur using php.
minus-squareSchal330@lemmy.worldlinkfedilinkarrow-up3·8 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 🤣