4 ms·
I personally don't use Perl much, but I've seen quite a few scripts written by members of my IT department that I could read top->bottom without any issue whats
by throwaway7645 10y ago
I personally don't use Perl much, but I've seen quite a few scripts written by members of my IT department that I could read top->bottom without any issue whatsoever.
- tyingq 10y agoI like Perl, but I can see the argument for why it's not readable. People often mistakenly use sections of code with crazy looking regexes as an example...that's not really the issue though. To me, it's a combination of two things: - The culture that it's good to have many ways to do the same thing. - The abundance of sigils on variables ($, %, @, etc), and how that gets unmanageable once you have complex data structures. Especially once you mix in references.
- cocktailpeanuts 10y agoYeah that's because it's written by people from IT department. They are supposed to write it in the most readable manner since it's their job. But like others on the thread said, the inherently extreme flexibility makes it hard to write a consistently readable code. You literally need some sort of discipline to consistently write a readable code.