Hacker News new | ask | show | jobs
by jokoon 4125 days ago
The syntax of go feels a little "expert", while the syntax of C seems more friendly and easy to grasp. I doubt anything will replace C if it's not as easy and simple.

System languages need to be stupidly simple and lack complexity.

One thing that could improve on C, might be very simple things like (immutable?) string as a native type, hashmaps, lambdas, etc. I would love to see some pythonic stuff into C.

Languages NEED to be simple if you want students to be able to learn them. That's what makes the success of C and makes it irreplaceable.

Although I would gladly something like Rust become relevant, if it's backward compatible with C ABIs, why not. But since ecosystems are already divided, I would like to see language dividing things even more.

1 comments

> The syntax of go feels a little "expert", while the syntax of C seems more friendly and easy to grasp. I doubt anything will replace C if it's not as easy and simple.

I think C is a lot harder to grasp. e.g. manual memory management, dangling pointers, unchecked casts, etc.

> One thing that could improve on C, might be very simple things like (immutable?) string as a native type, hashmaps, lambdas, etc. I would love to see some pythonic stuff into C.

Have you used Go? It has all of those things...