Yeah that's awesome, the larger and more verbose the comment the better. Not to mention coupling the design documentation with the code. I shouldn't have to go searching in two places to see how it was designed. Plus, it's all right there for if you want to make any changes to the code AND the design, you can update them at the same time! Then you have the code itself! I love the member names. It even has a comment telling you the context the member is used in! This should be standard in all projects.
20
u/coecks Nov 04 '21
Actually I have a lot of respect for the author to have the dedication to make that diagram in ASCII.
9
u/arguskay Nov 02 '21
Give it half a year and it's fucked up like the rest.
12
u/GlazedHam13 Nov 02 '21
Yeah that's awesome, the larger and more verbose the comment the better. Not to mention coupling the design documentation with the code. I shouldn't have to go searching in two places to see how it was designed. Plus, it's all right there for if you want to make any changes to the code AND the design, you can update them at the same time! Then you have the code itself! I love the member names. It even has a comment telling you the context the member is used in! This should be standard in all projects.
2
u/Scibbie_ Nov 04 '21
Where's the code
2
u/HeavyRain266 Nov 14 '21
s/java/swift
1
u/[deleted] Nov 03 '21
/r/i-like-big-docblocks-and-i-cannot-lie
1
u/[deleted] Jan 12 '23
Yeah except there’s no semicolons
1
u/LucasPnhr Nov 02 '21
I'm horny rn