Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Perl 6 / recent changes to Rakudo

Name: Anonymous 2015-05-23 15:45

http://stevemynott.blogspot.com/2015/05/announce-rakudo-perl-6-compiler.html
Implemented CLIENT:: (nearest CALLER:: from different package)
Someone needed this for something and made a strong enough case to get it implemented. I would like to hear that story because this sounds crazy.

Test.pm functions are now kebab-cased (e.g. throws_like -> throws-like)
Are we Lisp yet?

Name: Anonymous 2015-05-25 0:46

>>6
You don't have to wait. It's in great shape right now.

>>9
Well, if you want to keep with the precedent Pythonistas set, we could call it Perl-cased. Remember, you must never name the feature after language it was taken from.

Or we could call it kebab-cased. I'm fine with that, and there is precedent for that kind of naming. I would be fine with lisp-cased, but that evokes the notion of case-insensitivity as much as anything else.

>>12
What the fuck are you... oh I get it. You mean delimiting (or tokenizing) style. Yes, Perl 6 can do this without conflicts because of sigils and the TTIAR rule. Lisp can do it for other syntax reasons. Most languages would have to treat this as a spacing style. To the programmer it fits into to the idea of word-delimiting within a token.

I renew my support for “kebab-case”—remember snake_case isn't really about casing except when compared to ShitCase and hungarianShitCase.

It probably doesn't matter what it gets called. You don't need a name for it in Lisp (>>2 isn't wrong to call it that, despite my ribbing.) You do in Perl 6 because there are different conventions for different things.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List