Andromxda 🇺🇦🇵🇸🇹🇼 to Programmer Humor@programming.devEnglish • 10 months agoHow programmers comment their codelemmy.dbzer0.comimagemessage-square134fedilinkarrow-up11arrow-down10file-text
arrow-up11arrow-down1imageHow programmers comment their codelemmy.dbzer0.comAndromxda 🇺🇦🇵🇸🇹🇼 to Programmer Humor@programming.devEnglish • 10 months agomessage-square134fedilinkfile-text
minus-square@yetAnotherUser@discuss.tchncs.delinkfedilink0•10 months ago/* * Gets stupidFuckingInteger * * @returns stupidFuckingInteger */ public double getStupidFuckingInteger() { return stupidFuckingInteger; }
minus-square@AdNecrias@lemmy.ptlinkfedilink0•10 months 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-square@schnurrito@discuss.tchncs.delinkfedilink0•10 months 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-square@mrpants@midwest.sociallinkfedilinkEnglish0•edit-210 months agoThe lack of a return type declaration makes this sooo good.
minus-square@expr@programming.devlinkfedilink0•edit-210 months agoIt has the return type declared to be double.
minus-square@ILikeBoobies@lemmy.calinkfedilink0•10 months agoMakes sense, people looking for int would find a double
/* * Gets stupidFuckingInteger * * @returns stupidFuckingInteger */ public double getStupidFuckingInteger() { return stupidFuckingInteger; }
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
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.
Makes sense, people looking for int would find a double
This being a double physically hurts