Andromxda 🇺🇦🇵🇸🇹🇼@lemmy.dbzer0.com to Programmer Humor@programming.devEnglish · 6 months agoHow programmers comment their codelemmy.dbzer0.comimagemessage-square34fedilinkarrow-up141arrow-down10file-text
arrow-up141arrow-down1imageHow programmers comment their codelemmy.dbzer0.comAndromxda 🇺🇦🇵🇸🇹🇼@lemmy.dbzer0.com to Programmer Humor@programming.devEnglish · 6 months agomessage-square34fedilinkfile-text
minus-squareyetAnotherUser@discuss.tchncs.delinkfedilinkarrow-up2·6 months ago/* * Gets stupidFuckingInteger * * @returns stupidFuckingInteger */ public double getStupidFuckingInteger() { return stupidFuckingInteger; }
minus-squaremrpants@midwest.sociallinkfedilinkEnglisharrow-up2·edit-26 months agoThe lack of a return type declaration makes this sooo good.
minus-squareexpr@programming.devlinkfedilinkarrow-up3·edit-26 months agoIt has the return type declared to be double.
minus-squareILikeBoobies@lemmy.calinkfedilinkarrow-up1·6 months agoMakes sense, people looking for int would find a double
minus-squarethreelonmusketeers@sh.itjust.workslinkfedilinkEnglisharrow-up1·4 months agoHappy cake day!
/* * Gets stupidFuckingInteger * * @returns stupidFuckingInteger */ public double getStupidFuckingInteger() { return stupidFuckingInteger; }
The lack of a return type declaration makes this sooo good.
It has the return type declared to be
double
.This being a double physically hurts
Makes sense, people looking for int would find a double
Happy cake day!