News for hackers. Stuff that matters.
Re:Javascript Fundamentals: ‘this’ keyword by sdegutis on Saturday August 25, 2018 @04:37PM (#17842461)
I think that's because TS lets you see patterns in your data and code that were "invisible" in JS. You could still write clean code in JS, you just have to be able to see all that implicit structure. Spaghetti code is spaghetti code with or without types, it's just easier without types.
Re:Javascript Fundamentals: ‘this’ keyword by sonnyblarney on Saturday August 25, 2018 @06:18PM (#17842887)
That's totally true, but it's pretty much the point of a programming language - to enable and facilitate intelligent organization of logic.