News for hackers. Stuff that matters.
Re:JavaScript is Eating the World by flavio81 on Thursday August 24, 2017 @08:15PM (#15095148)
My take is that having dynamic typing plus strong typing is a (pretty) good compromise. And static typing plus weak typing, insufficient.
Re:JavaScript is Eating the World by seanwilson on Thursday August 24, 2017 @08:50PM (#15095309)
What languages would you put in these two categories?
Re:JavaScript is Eating the World by flavio81 on Friday August 25, 2017 @12:06AM (#15096042)
Not all languages but here's a list:

dynamic typing, strong typing: python (for the most part), Scheme

dynamic typing, weak typing: Javascript, PHP

static typing, strong typing: Pascal, Ada, Java, C#

static typing, weak typing: C, Typescript, perhaps others

SPECIAL CASES:

strongly typed, dynamically typed, but with some compilers it can also be statically typed: Common Lisp

strongly typed, statically typed but can infer types: Haskell, ML family

strongly typed, can infer type with "auto" keyword: C++ (latest version)

non-typed: Machine language, assembler, perhaps Forth

Re:JavaScript is Eating the World by seanwilson on Friday August 25, 2017 @01:02AM (#15096236)
What better alternative do you have to TypeScript right now though that you can use practically with existing libraries? Perfect is the enemy of good. TypeScript can capture more complex properties than C as well.