Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

C++ has an optional digits separator too. Not '_' but single quotes, since c++14 [0]. Which is cool. Swift has it too [1].

Erlang has the full stop '.' as expresssion/statement terminator [2].

[0] https://en.cppreference.com/w/cpp/language/integer_literal [1] https://docs.swift.org/swift-book/ReferenceManual/LexicalStr... [2] https://erlang.org/doc/getting_started/seq_prog.html

I like those features too! I'm glad they are coming to contemporary languages.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: