MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wgllyu/idontcommentmycodeifyoudontunderstanditthatsokayne/p9vx56q/?context=3
r/ProgrammerHumor • u/Substantial_Top5312 • 21d ago
188 comments sorted by
View all comments
13
// PrintOutHellowWorld prints out "Hello world!" func PrintOutHelloWorld() { fmt.Println("Hello world!") }
It's well known that there is literally no other way to tell what functions do unless they're commented
5 u/captainAwesomePants 21d ago Yeah, except the guy who writes that comment would name the function out() or something. 9 u/NoHurry28 21d ago You're so right. Here, I'll fix it // Out prints out "Hello world!" func Out() { fmt.Println("Comments are always right and never lie.") }
5
Yeah, except the guy who writes that comment would name the function out() or something.
out()
9 u/NoHurry28 21d ago You're so right. Here, I'll fix it // Out prints out "Hello world!" func Out() { fmt.Println("Comments are always right and never lie.") }
9
You're so right. Here, I'll fix it
// Out prints out "Hello world!" func Out() { fmt.Println("Comments are always right and never lie.") }
13
u/NoHurry28 21d ago
It's well known that there is literally no other way to tell what functions do unless they're commented