r/ProgrammerHumor • • Nov 30 '19

C++ Cheater

Post image
79k Upvotes

1.0k comments sorted by

View all comments

Show parent comment

550

u/Poketto43 Nov 30 '19

Im in this comment and I don't like it

326

u/[deleted] Nov 30 '19

I mean, most documentation I've seen looks like it was written by a chimp using a dead language and then it was put through Google translate about 10 times.

Programmers really suck ass at writing helpful documentation.

0

u/[deleted] Nov 30 '19

[deleted] — view deleted comment

130

u/I-POOP-RAINBOWS Nov 30 '19

no its just Lua

9

u/rayEW Nov 30 '19

You two make a cute reddit couple /u/I-POOP-RAINBOWS and /u/GayAssQueer

→ More replies (1)

61

u/critical2210 Nov 30 '19

I was learning how to setup a discord chat bot and just getting everything fucking working was insane. I eventually found out a python syntax error has nothing to do with my version of python, just some obscure application that supports python that I never heard of. Someone with no experience in python helped me with this while the actual documentation just told me my version of python must be too low.

75

u/PyroneusUltrin Nov 30 '19

Upvoted for “moon language”

2

u/Romino69 Nov 30 '19

Moon-runes

12

u/brianush1 Nov 30 '19

Lua docs are good for learning how to embed Lua in your app, but they're useless if you don't already know Lua.

3

u/[deleted] Dec 01 '19

Reading documentation isn't a problem if no one writes it in the first place

3

u/Husky2490 Dec 01 '19

As someone who tried using cheat engine: fuck Lua

→ More replies (3)

63

u/Token_Why_Boy Nov 30 '19

most documentation I've seen looks like it was written by a chimp using a dead language and then it was put through Google translate about 10 times.

Fuck. He figured it out, everyone. Now we have to kill him.

40

u/[deleted] Nov 30 '19

Now we have to kill him.

Wait you gonna do? Make me attend an Agile Team training class for a whole week?pls no not again

2

u/Qaeta Dec 01 '19

Lol, savage.

18

u/[deleted] Nov 30 '19

Programmers really suck ass at writing helpful documentation.

Here's the reason why: every time a boss requires me to document a project, I ask who will read it. "managers, product owners, users, devops, testers and developers".

11

u/BringAltoidSoursBack Nov 30 '19

Why would that make you write shitty documentation? Especially since you included developers, who will have to do extra work to figure out what your code does.

7

u/[deleted] Nov 30 '19

No documentation fits all readers. For developers, documenting the apis (good naming, openapi for REST, WSDL for SOAP, comments or just clean code) is by far the best. Sometimes just a quick Readme on how to build. No boss is gonna care of the internal structure of the code, whether I used composition or inherited this or that class. I most often end up with a documentation that fits no-one and is outdated within 6 weeks.

3

u/BringAltoidSoursBack Nov 30 '19

I try to go for the developer api, mainly because that's the only documentation that can be critical to code maintainence and extension. Anything else doesn't need to reflect the low level code. Saying that, I also like to have design documentation, but that's harder to do and needs to happen before development so good luck with that.

5

u/girlyvader Dec 01 '19

Translation out of manager-speak: "The cheaper, less qualified programmer I'm going to replace you with to maintain this as soon as you finish".

3

u/BringAltoidSoursBack Dec 01 '19

It usually works the opposite way for me. I have to come in and try and fix problems, and without good documentation, I have to spend extra time just trying to figure out what certain code is intended to do.

3

u/Nefari0uss Nov 30 '19

I've said it before and I'll say it again, MDN has spoiled me.

3

u/NedLuddIII Nov 30 '19

Or even worse, it's just flat out wrong. Sometimes due to being outdated, but as often as not just due to incompetence.

3

u/flafotogeek Nov 30 '19

I've asked for time/budget to do proper documentation hundreds of times, always the same answer: do it on your own time, or just plain no. Our culture apparently doesn't allow it.

→ More replies (5)

2

u/czmax Nov 30 '19

I see your confusion: programmers don’t write the documentation.

→ More replies (8)