News for hackers. Stuff that matters.
Re:Should every programmer learn C as their first programmin... by saas_co_de on Thursday June 28, 2018 @07:02AM (#17415815)
> You can spend weeks segfaulting in C before you get things actually working

This seems like an overstatement. The first programming class I ever took was "Introduction to Programming with C" where the textbook was K&R and we were writing and compiling programs from day one.

If you can't figure out how to manage memory (one dimensional data structure) in C jumping into a language that immediately allows you to abstractly manipulate complex multi-dimensional data structures will certainly not make your life easier.

Re:Should every programmer learn C as their first programmin... by scandox on Thursday June 28, 2018 @07:27AM (#17415938)
Depends on the type of thinker someone is. Everyone thinks best at a particular level. While a certain data structure might be complex, it’s use might be simple.

If I show someone a list of lists in C# the semantics of that will be very easy for them to grasp. The same data structure in C might defeat them altogether.

Re:Should every programmer learn C as their first programmin... by saas_co_de on Thursday June 28, 2018 @08:09AM (#17416178)
> The same data structure in C might defeat them altogether

I agree with this, but my point is that to get started in C all you need to work with is strings/arrays.

> While a certain data structure might be complex, it’s use might be simple

I would argue that in most cases the use only appears to be simple and in reality the correct use is just as complex as the data structure.

Re:Should every programmer learn C as their first programmin... by masklinn on Thursday June 28, 2018 @04:43PM (#17420319)
> I agree with this, but my point is that to get started in C all you need to work with is strings/arrays.

Which are both absolute shit, that's not exactly a ringing endorsement.