Andromxda 🇺🇦🇵🇸🇹🇼@lemmy.dbzer0.com to Programmer Humor@programming.devEnglish · 4 months agoHow programmers comment their codelemmy.dbzer0.comimagemessage-square29fedilinkarrow-up114arrow-down10file-text
arrow-up114arrow-down1imageHow programmers comment their codelemmy.dbzer0.comAndromxda 🇺🇦🇵🇸🇹🇼@lemmy.dbzer0.com to Programmer Humor@programming.devEnglish · 4 months agomessage-square29fedilinkfile-text
minus-squareyetAnotherUser@discuss.tchncs.delinkfedilinkarrow-up1·4 months ago/* * Gets stupidFuckingInteger * * @returns stupidFuckingInteger */ public double getStupidFuckingInteger() { return stupidFuckingInteger; }
minus-squareILikeBoobies@lemmy.calinkfedilinkarrow-up1·4 months agoMakes sense, people looking for int would find a double
minus-squaremrpants@midwest.sociallinkfedilinkEnglisharrow-up1·edit-24 months agoThe lack of a return type declaration makes this sooo good.
minus-squareexpr@programming.devlinkfedilinkarrow-up2·edit-24 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
.