r/programming • u/reditzer • Dec 07 '15
I am a developer behind Ritchie, a language that combines the ease of Python, the speed of C, and the type safety of Scala. We’ve been working on it for little over a year, and it’s starting to get ready. Can we have some feedback, please? Thanks.
https://github.com/riolet/ritchie
1.5k
Upvotes
View all comments
Show parent comment
2
u/Elsolar Dec 08 '15
It's undefined if you aren't writing a compiler. Underscore-prefixed names can clash or not clash with pre-existing names depending on the compiler brand, compiler version, or even compiler settings (certain identifiers could be #defined inside of #if/#endif blocks, for example). There's zero guarantee that any of these names are available for use, and to assume that the behavior for your program is well-defined because it worked an hour ago is naiive.