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