alphacyberranger to Programmer Humor@programming.devEnglish • 5 months agoAdded Bugs to Keep my jobsh.itjust.worksimagemessage-square160fedilinkarrow-up1349arrow-down127
arrow-up1322arrow-down1imageAdded Bugs to Keep my jobsh.itjust.worksalphacyberranger to Programmer Humor@programming.devEnglish • 5 months agomessage-square160fedilink
minus-square@grrgyle@slrpnk.netlinkfedilink4•5 months agoNot Shall330, but double quotes can imply variables in the string in some languages.
minus-square@bitchkat@lemmy.worldlinkfedilinkEnglish5•5 months agoPHP for one. “$x” will interpret the variable $x. ‘$x’ does not.
minus-square@Schal330@lemmy.worldlinkfedilink3•5 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 🤣
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 🤣