News for hackers. Stuff that matters.
Re:IT Runs on Java 8 by dragonwriter on Friday May 10, 2019 @08:45PM (#19883657)
> If you argue that C has static types, then I guess you're probably right.

C (like C++) is both statically and weakly typed; strong and static typing are orthogonal axes (dynamic but strongly typed languages are common.) If you mean strong and static when you say static, you need to take C++ off your list.

Re:IT Runs on Java 8 by navaati on Saturday May 11, 2019 @06:49AM (#19885562)
No, it's (mostly) not about that.

It's about C not having any generics or similar things (like C++ templates), so you need to fall back way more often on void*.

So on that axis Go is roughly as statically typed as C, albeit more strongly typed.

On the other hand C++ is more statically typed than C, but is about as strongly typed (afaik).

Re:IT Runs on Java 8 by sanderjd on Friday May 10, 2019 @11:05PM (#19884272)
Yeah, I kind of wondered about that as I was writing my comment, seems like a fair point.