Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
HARC Stack – Htmx, Air, Raku and Cro (rakujourney.wordpress.com)
2 points by librasteve 9 months ago | hide | past | favorite | 2 comments


   > h3 'Counter:';
   
   This code can also be written h3('Counter:');. Raku’s functional style means we can drop the parens (). So we have a function h3 with a Str argument.
Is this what's considered "functional" (as in functional programming) nowadays? Perl 5 (Raku's predecessor) had that for like twenty years now.


yes, having a syntax that is suited to functional programming is part of the story

https://rakujourney.wordpress.com/2024/10/12/raku-burritos/




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

Search: