Skip to content

Comment on C2 Lang design (2014) [pdf]parent

Comments

2. Removed keyword "static": kills one of my favorite tricks, "self-init'ing functions".

The removal of that keyword with several different meanings doesn't mean there isn't/won't be a replacement:

http://c2lang.org/site/language/variables/#local-keyword

4. New keyword "nil": Redundant with NULL?

https://groups.google.com/d/msg/comp.std.c/fh4xKnWOQuo/IAaOe...

5. Example - Base Types: Uses uint8 in place of char. This obscures intent and makes code less readable.

http://c2lang.org/site/language/basic_types/

C2 apparently still has char however it doesn't seem to be as weird as C's (distinct type, either signed or unsigned). Simply int8.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.