News for hackers. Stuff that matters.
Re:Why does OpenBSD still include Perl in its base installat... by tyingq on Saturday May 30, 2020 @10:01AM (#23361245)
I'm a Perl fan, but there are some places where it's hard to avoid ugly code. Like collections of complex data structures, especially combined with references. No matter how hard you try, you get messy looking code.
Re:Why does OpenBSD still include Perl in its base installat... by dorfsmay on Saturday May 30, 2020 @10:20AM (#23361363)
This is exactly when I switched to Python, when I realized that I always had to look up how to dereference pointers to non-trivial objects.
Re:Why does OpenBSD still include Perl in its base installat... by eythian on Saturday May 30, 2020 @04:05PM (#23364186)
For what it's worth, there's now postfix dereferencing which avoids the whole having to go back and wrap @{ ... } around things.