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

This may solve your problem:

    my.long.name = 1
    a.short.name = 2

    one.long.result = a.short.name - my.long.name

    one.string:trim:upper
Use dots for identifiers and colons for class props and methods.

Now we just need to design a whole new language :(



Using dot as a name separator is actually the convention the R programming language, so it's certainly not a new idea. Ironically, it used to be the case that R did not allow _ as a variable character.


At least on a US keyboard, colons require the shift key, too.


Cleanse those colons!




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

Search: