Andromxda 🇺🇦🇵🇸🇹🇼@lemmy.dbzer0.com to Programmer Humor@programming.devEnglish · 1 year agoHow programmers comment their codelemmy.dbzer0.comimagemessage-square133fedilinkarrow-up11arrow-down10file-text
arrow-up11arrow-down1imageHow programmers comment their codelemmy.dbzer0.comAndromxda 🇺🇦🇵🇸🇹🇼@lemmy.dbzer0.com to Programmer Humor@programming.devEnglish · 1 year agomessage-square133fedilinkfile-text
minus-squareyetAnotherUser@discuss.tchncs.delinkfedilinkarrow-up0·1 year ago/* * Gets stupidFuckingInteger * * @returns stupidFuckingInteger */ public double getStupidFuckingInteger() { return stupidFuckingInteger; }
minus-squareILikeBoobies@lemmy.calinkfedilinkarrow-up0·1 year agoMakes sense, people looking for int would find a double
minus-squareAdNecrias@lemmy.ptlinkfedilinkarrow-up0·1 year agoReminds me of a job I had where c# summaries were mandatory and people used a documentation generator just like that. /// Ages the Category. public int AgeCategory (…)
minus-squareschnurrito@discuss.tchncs.delinkfedilinkarrow-up0·1 year agoplenty of APIs in Java have documentation like that and it is worst when I read the documentation in order to find out the definition of the nouns and verbs used there and then it is just like that
minus-squaremrpants@midwest.sociallinkfedilinkEnglisharrow-up0·edit-21 year agoThe lack of a return type declaration makes this sooo good.
minus-squareexpr@programming.devcakelinkfedilinkarrow-up0·edit-21 year agoIt has the return type declared to be double.
/* * Gets stupidFuckingInteger * * @returns stupidFuckingInteger */ public double getStupidFuckingInteger() { return stupidFuckingInteger; }
Makes sense, people looking for int would find a double
Reminds me of a job I had where c# summaries were mandatory and people used a documentation generator just like that.
/// Ages the Category. public int AgeCategory (…)
plenty of APIs in Java have documentation like that and it is worst when I read the documentation in order to find out the definition of the nouns and verbs used there and then it is just like that
This being a double physically hurts
The lack of a return type declaration makes this sooo good.
It has the return type declared to be
double
.I cannot read. Even better.