-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sub foo($&) { } みたいなときに foo 'hoge', { } って書けるようにできないかねえ #24
Comments
-1 3文字だけへらしても初心者にとってよみにくくなるだけじゃないかなあと。 |
Perl6 だとそもそも block と sub routine の間に区別がなくて、普通にかけるんだよね。こういうの。 |
DSLみたいにしたときの、見た目は、sub省略できるとだいぶスッキリするし。 |
sub はナウなヤングに受けがよくないから foo 'hoge', -> { } で若者受けを狙うのはどうか。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
第一引数に & ってかいたときにブロックとれるようになってるけど、第二引数でもできるようにならないものか。
できたら DSL かくのが楽になるんじゃない?
The text was updated successfully, but these errors were encountered: