[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
>He comments on every single line of code, even repeating
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 15
Thread images: 6
File: For_what_purpose.jpg (25 KB, 323x454) Image search: [Google]
For_what_purpose.jpg
25 KB, 323x454
>He comments on every single line of code, even repeating functions.
// Every
/* Single
-- Line
>>
File: duchesscatunamused.jpg (31 KB, 356x374) Image search: [Google]
duchesscatunamused.jpg
31 KB, 356x374
>>53712552
>he thinks "descriptive" variable names are enough documentation
>>
>>53712663
If you need to document inside your function, you write shitty code.

Documentation on function level should be enough in 99.9% cases ***

*** You always have that edge case where you need to comment what the following quadruply nested loop does
>>
File: 1388310087741.jpg (3 KB, 125x125) Image search: [Google]
1388310087741.jpg
3 KB, 125x125
>>53712676
>if you don't do things the way I do them then you're shit
>>
>>53712713
You're damn right!
>>
I comment with the 'If I come back in 2 months I will want know what this does' methodology.
>>
>>53712676
>quadruply nested loop
>talks about anyone else's code being shit
ayy
>>
>>53712729
>what are 4d matrices
Also
>what is joking
>>
>coworkers code
>automated comments
>// the variable x
>// the variable y
>everything commented like this

do not do this.
>>
File: trump-00.jpg (10 KB, 234x267) Image search: [Google]
trump-00.jpg
10 KB, 234x267
>>53712552
>Not having a programming job
>Caring about how others write their code
>>
File: 1411353746584.gif (2 MB, 350x190) Image search: [Google]
1411353746584.gif
2 MB, 350x190
>>53712769
>programming as a job

It makes me sad to think that there are people out there who actually do this. I suppose it's necessary though, like trash men.
>>
I comment what needs commenting. As long as everything is readable and clear, it's all good.
>>
File: hmmmhmmmsweethartm240.png (65 KB, 205x239) Image search: [Google]
hmmmhmmmsweethartm240.png
65 KB, 205x239
>>53713281
yer a fucking neet aint ya ?
>>
No family. I design buildings for you programmers /trashmen to live in. :^)
>>
>>53715385
>using the smiley with a carat nose
Thread replies: 15
Thread images: 6

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.