Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> The difference is that OO syntax sugar is implemented in core in Python and Ruby, while in Perl it is implemented in Perl directly

I see what you mean. However, that syntax sugar is what people are used to from other OO implementations. Lacking that sugar meant that I found myself regularly explaining the workings of blessed hashes.



Yes, that is true. I only meant to correct your use of fake. In the past OO was a holy pain in the behind in Perl. However, nowadays that has changed considerably, and with Moo [1] we have a reliable, pure perl, fast, and easy-to-use sugar layer for OO. :)

[1] https://metacpan.org/module/Moo#SYNOPSIS


I'll check out Moo :)




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

Search: