News for hackers. Stuff that matters.
Re:45 years since its creation. The C language still very po... by nibs on Tuesday May 24, 2016 @02:40PM (#11764350)
As someone who learned JS and then is recently working on C, variables.
Re:45 years since its creation. The C language still very po... by ufo on Tuesday May 24, 2016 @03:05PM (#11764570)
How? The only big difference is that in C the variables need type annotations and that they have proper lexical scope (so they are more like Javascript's "let" than "var")
Re:45 years since its creation. The C language still very po... by elliotec on Tuesday May 24, 2016 @03:22PM (#11764715)
If the person learned ES5 and was used to the tricky scoping and had got to C before ES6 became standard/popular, I could totally see the struggle there.
Re:45 years since its creation. The C language still very po... by nibs on Wednesday May 25, 2016 @08:38AM (#11769313)
This is exactly what happened to me.