Andromxda 🇺🇦🇵🇸🇹🇼 to Programmer [email protected]English • 10 months agoHow programmers comment their codelemmy.dbzer0.comimagemessage-square146fedilinkarrow-up11.55K
arrow-up11.55KimageHow programmers comment their codelemmy.dbzer0.comAndromxda 🇺🇦🇵🇸🇹🇼 to Programmer [email protected]English • 10 months agomessage-square146fedilink
minus-square@[email protected]linkfedilink114•10 months ago/* * Gets stupidFuckingInteger * * @returns stupidFuckingInteger */ public double getStupidFuckingInteger() { return stupidFuckingInteger; }
minus-square@[email protected]linkfedilink4•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@[email protected]linkfedilink3•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@[email protected]linkfedilinkEnglish40•edit-210 months agoThe lack of a return type declaration makes this sooo good.
minus-square@[email protected]linkfedilink32•edit-210 months agoIt has the return type declared to be double.
minus-square@[email protected]linkfedilink16•10 months agoMakes 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
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
Happy cake day!
This being a double physically hurts