Hacker News new | comments | ask | show | jobs | submit login

In Perl 6, you can also use "kebab-case":

    my $is-it-time = True;
The hyphen is allowed inside an identifier as long as it is not the first and as long as it is followed by at least one letter.

    my $foo-42;  # interpreted as my $foo - 42



This is also the standard for Common Lisp, Scheme, emacs-lisp.


Also Bash (for function names) (could be POSIX too), Make ...




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

Search: