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

5

u/dark_negan Sep 21 '21

Why would someone who doesn't even know the basics of pointers take a C developper job in the first place ? That's the real question lol

And aren't things like gotos really really outdated and advised not to be used ? I know everyone told me that even when I learned C like 10 years ago

21

u/[deleted] Sep 21 '21

[removed] — view removed comment

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/[deleted] Sep 21 '21

[removed] — view removed comment

-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/[deleted] Sep 21 '21

[removed] — view removed comment

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)