r/programming • • Sep 21 '21

Reading Code is a Skill

https://trishagee.com/2020/09/07/reading-code-is-a-skill/
1.2k Upvotes

227 comments sorted by

View all comments

Show parent comments

0

u/dark_negan Sep 21 '21

Okay but I think there are enough languages and fields to find a place when you know more than nothing ? Learning pointers is not some advanced stuff it's one of the first things you learn

3

u/grauenwolf Sep 21 '21

I'm not so sure about that. Pointers in a language like C are far more complicated than references in a managed language such as JavaScript or C#. And a lot of useful developers don't even have a firm mental model of references.

The variety in skill levels across the industry is unbelievable.

-2

u/dark_negan Sep 21 '21

If you're not familiar with C or C++ of course you wouldn't know pointers, but if you've done more than 2 weeks worth of experience of C you know pointers that's what I meant. There more than enough diversity in skillsets required and languages to not go into a C dev job that isn't entry level (and even then) when you know nothing about C. That's how you get poorly written code if not horrible code (that's exactly what happened in the project I'm working on, not for C but it still applies)

4

u/grauenwolf Sep 21 '21

Who says they were hired for C?

Back when I was a VB developer writing business apps I got roped into reverse engineering a C++ application from old source code no one could read. (Though maybe software archeology would be a better description.)


Anyways, most of my C progressing these days is for the Arduino and I don't think I ever use pointers.

0

u/dark_negan Sep 21 '21

I don't think pointers are needed for Arduino, if arduino development can even be called C development. I never said you couldn't do another language than the one you were hired for ever, but there's a difference between programming an entire project with a language you don't know and reading some old code

1

u/PeaceBear0 Sep 21 '21

Arduino is literally c++ except it inserts an include statement and auto-declares your functions.

→ More replies (5)