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

I'm no fan of Perl, but you can use $OUTPUT_AUTOFLUSH instead if you "use English;". So this isn't really a Perl language thing; it's a style thing. Other languages can be made to look really bad with poor style. The question then becomes what is culturally accepted, and what is not.


`use English;` as a directive feels like the programming equivalent of someone on TV saying "ye ye ye can you say that in English!?"

Only, it's the programmer saying it this time, not the layman. Perl is a 10x engineer.


The problem is that nobody ever tells you these things, the documentation doesn’t cover them and as a result everyone still uses the terrible original syntax.


What do you mean the documentation doesn’t cover them?

https://perldoc.perl.org/perlvar.html#SPECIAL-VARIABLES




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

Search: