2 ms·
> Any JavaScript or C# programmer will understand the ifs, elses and fors, I think that's what the parent comment meant with "reading (normal) C". The language
by gjulianm 7y ago
> Any JavaScript or C# programmer will understand the ifs, elses and fors,
I think that's what the parent comment meant with "reading (normal) C". The language itself is simple, because it only has the ifs, elses, and fors. Of course, given the simplicity of C the projects end up being complex because they have to manage a lot of things that other languages do for the programmer, but that is outside the scope of the language (i.e., you don't need to resort to the language manual to understand it).
In other words, the discussion is not that everybody should be able to dive deep into C projects and instantly know what's happening, and know all syscalls and everything. The discussion is that a programmer should know what is memory management, what is a system call, etc, which is practically synonymous to being able to read normal C.
- oblio 7y agovoid strcat( char* dest, char* src ) { while (*dest) dest++; while (*dest++ = *src++); } This is pretty much C specific. And side-effect ridden, at that :-) I doubt the average Javascript programmer will figure that bit out, at a glance.