r/ProgrammerHumor • • Jul 18 '20

other It's always fun..

Post image
63.7k Upvotes

754 comments sorted by

View all comments

Show parent comments

101

u/xTheMaster99x Jul 18 '20 edited Jul 18 '20

Wait, are you saying that lawyers don't memorize all case law from the last 200 years? Or that doctors don't know all possible injuries, diseases, surgeries, medications, etc?

Edit: I can't believe this needed a /s.

62

u/[deleted] Jul 18 '20

[removed] — view removed comment

19

u/phyitbos Jul 18 '20

I like this description. It rings true to me that even though I often solve and forget, I still know/understand the class of problem if re-encountered and what’s require to solve it again. You don’t see many people talk about this past “google”

11

u/[deleted] Jul 18 '20

A lot of it's just vocabulary. Having the words to know how to describe what you're trying to do, and to understand the exact issue you're trying to solve. "web server won't start" is not as useful as "httpd exits with code $?." Most of the time you can solve it yourself if you have the right words. And when you can't having the right words makes it easier to get help.

Like, "I want to remove from a string every instance of `.' that doesn't precede a sequence of alphanumeric characters that ends in a terminating (null or \n or \r) character." Well, obviously you want to search for the regexp formula for finding file extensions. That won't be your exact answer but it's a start. From there, the syntax hints should be enough to find the solution. If you don't even know what regexp or a file extension is you'll have a hard time doing that.

2

u/Canadianingermany Jul 18 '20

Great point. It is about knowing your search terms. For example right now I am trying figure out the best way to provide a "User Portal" for a b2b app where I can drop some reports Google data studio) and webforms (cognitoforms) with multi-tenent and multilevel user access (clients with admins and users).

I believe this has got to have been done a million times, but I have no idea if these are the words people use to describe it as Google / stack overflow is not giving me love. But I have no idea if those are the actual

Maybe I am expecting too much, but there are plug and play services for EVERYTHING.

I

8

u/Zefrem23 Jul 18 '20

Yeah you've built a decision tree in your memory for the process of finding the solution to the problem, not necessarily the actual solution. In the long run that's just as effective, and as your experience grows your decision trees become more complex, richer and deeper. That's what the real talent of good coders is.

2

u/Qinjax Jul 18 '20

thats what real talent is.

3

u/idownvotefcapeposts Jul 18 '20

he was sarcastic.

1

u/xTheMaster99x Jul 18 '20

I was joking.

4

u/[deleted] Jul 18 '20

He's saying in a field of expertise, there are many correct voices. But he can't hear them all at once.

1

u/i_forgot_my_cat Jul 18 '20

No, but they remember the most commonly used data and the less common stuff either partially or know how to access that data.

1

u/MyClitBiggerThanUrD Jul 18 '20

I had a professor of medicine joke about the only thing he remembered from the citric acid cycle was that the schematic had a circle.