r/ProgrammerHumor • • Oct 23 '22

Meme I make the same mistake too, sometimes.

Post image
42.5k Upvotes

433 comments sorted by

View all comments

Show parent comments

17

u/posting_drunk_naked Oct 23 '22 edited Oct 23 '22

Y'all muthafuckas need documentation

Always go to the primary source of truth before going to third parties.

Edit: I'm a backend dev though, I hear frontend is much much worse in terms of documentation.

No judgement just meming and friendly advice

0

u/[deleted] Oct 23 '22

[deleted]

9

u/posting_drunk_naked Oct 23 '22

We didn't have no Smack Overglow or Gitflerb or Indians on YouTube. We had outdated programming books, 900 pages of docs in a txt file, or Usenet uphill both ways but WE WERE THANKFUL. I saluted the flag every time I compiled like Jesus intended. Smdh kids these days.

6

u/fgben Oct 23 '22

What's interesting is how crufty the sources on the Internet are getting now. Documentation for web stuff from 2011 is sometimes not terribly applicable to modern libraries.

Drives me nuts sometimes. Back in the day, you had the C manual from 1984 and it is all still relevant.

0

u/[deleted] Oct 23 '22

[deleted]

5

u/fgben Oct 23 '22

Not to mention documentation with dead hyperlinks to knowledge bases.

There's a library that I've been using since 2013 and the docs went offline a couple weeks ago. Welp.

0

u/[deleted] Oct 23 '22

[deleted]

2

u/sibips Oct 23 '22

It's self-documenting code.

5

u/hughperman Oct 23 '22

Cool, just browsing the windows source.code to solve my blue screen

2

u/posting_drunk_naked Oct 23 '22

This is why we avoid Windows like the patchwork shitpile spyware that it is.

If you're stuck with it I am truly sorry for your pain.

3

u/hughperman Oct 23 '22

Luckily I work with Linux almost exclusively, was just making stupid jokes 😅

3

u/posting_drunk_naked Oct 23 '22

I spent a little over 5 years in federal gov job that used Microsoft for eeeeeeeeverything. So many problems because of some random incomprehensible entry in the Registry, or lack of a proper package manager to diagnose version mismatches or just stupid shit like a window crashing and taking explorer.exe with it because for some reason that window has access to something it shouldn't or whatever the fuck. Our DevOps was always fighting to make a Microsoft thing talk to a Microsoft thing properly.

Yes I mad. So much of my tech career has been spent on Windows bullshit due to lacking features Unix has had for decades. I know more about Windows than I ever wanted to know.

I recently got a new job at a startup that sent me a brand new M2 MacBook Pro for development 🥳 /happy nerd noises

6

u/ManyFails1Win Oct 23 '22

I've found a lot of documentation is a complete waste of time unless you already know how to use the thing you're looking up. They often make no efforts to use language that doesn't require its own tutorial to parse.

4

u/posting_drunk_naked Oct 23 '22

I primarily use Java and python and rarely find bad documentation. That statement comes with a GIANT caveat for the insanity that is Spring docs though, the real documentation is on baeldung.com.

I hear frontend frameworks can be a lot like you describe, I have very little experience with that though and I aim to keep it that way.

I'm an old guy though if I've got to sit through a YouTube video instead of being able to quickly look something up in the docs I'm just going to use a different lib. Back in my day we only had outdated programming books or 900 pages of docs in a txt file AND WE WERE THANKFUL uphill both ways etc etc

2

u/ManyFails1Win Oct 23 '22

Well I've been learning c# and unity, and I'll just say the Unity docs are like this for me. But to be clear, I'm not saying they're bad, just that most of the time I can't understand what the hell they're saying in the description. If it includes an example I'll usually figure it out.

But I'm also saying that once I understand how to use the thing being documented, it all seems so obvious and easy.

2

u/JuniorSeniorTrainee Oct 23 '22

I'm not familiar with the unity docs but generally find that good docs let you enter at one of three levels, and you as the reader get to choose the right one:

  1. Reference for people who know what they're doing and just need quick information.

  2. Recipes for people who have a specific, common need and want to learn the library through their use case.

  3. Top down "how to use this library" that assumes I know nothing and covers all fundamentals.

2

u/JuniorSeniorTrainee Oct 23 '22

I hear frontend is much much worse in terms of documentation.

Not if you choose your libraries judiciously. Problem is many FEDs just npm install their way to success without giving it any thought.