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