Felix πΊπ¦π΄ββοΈ on Nostr: With #perl you could build even more beautiful DSL's if you could not only put a ...
With #perl you could build even more beautiful DSL's if you could not only put a block in the first place in functions (keywords: perlsub, prototype) and if I could also pass code blocks to methods (i.e. without sub keyword).
Or a syntax like in #rakulang (as coderef)
```
-> $a,$b { .... }
```
would be brilliant.
Published at
2024-06-17 09:49:35Event JSON
{
"id": "4706e5cf71e47fb0c5f1a57064083135bca3f97dd332181123b4ea4c29a43a78",
"pubkey": "86606eafcd0acb6d075b850f07393333bee7c481e4940ee97c2808a289e609b0",
"created_at": 1718617775,
"kind": 1,
"tags": [
[
"t",
"rakulang"
],
[
"t",
"perl"
],
[
"proxy",
"https://norden.social/@leobm/112631334526815669",
"web"
],
[
"proxy",
"https://norden.social/users/leobm/statuses/112631334526815669",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://norden.social/users/leobm/statuses/112631334526815669",
"pink.momostr"
]
],
"content": "With #perl you could build even more beautiful DSL's if you could not only put a block in the first place in functions (keywords: perlsub, prototype) and if I could also pass code blocks to methods (i.e. without sub keyword). \nOr a syntax like in #rakulang (as coderef)\n```\n-\u003e $a,$b { .... }\n```\n would be brilliant.",
"sig": "287c353764e26f94bf99a5e996f2f6f8aa07b4e74036fa29b4746d2e9932fdc3bcd5696f7124de25065ed56395074da77fcda59fca086d9e805517f5604d7b39"
}