Re:Mining my mailbox for top email service providers
by quonn on Tuesday February 18, 2020 @10:42AM
(#22356805)
Modern JavaScript/TypeScript is fine. Especially when compared to Perl, of all languages.
[ Parent
| on HN ]
Re:Mining my mailbox for top email service providers
by AnIdiotOnTheNet on Tuesday February 18, 2020 @10:59AM
(#22356931)
I disagree. JavaScript is one of those languages who's default failure mode seems to be to pretend everything worked and just produce nonsensical results.
Re:Mining my mailbox for top email service providers
by patrec on Tuesday February 18, 2020 @11:28AM
(#22357170)
As opposed to perl? :D
Re:Mining my mailbox for top email service providers
by pxndxx on Tuesday February 18, 2020 @11:23AM
(#22357124)
You're thinking of PHP. Modern Javascript has good error handling and is a pretty nice language to use.
Re:Mining my mailbox for top email service providers
by tjoff on Tuesday February 18, 2020 @11:31AM
(#22357196)
I know that PHP gets a lot of flak but come on. Compared to javascript PHP is a marvel. I recommend you to try it.
Re:Mining my mailbox for top email service providers
by mfer on Tuesday February 18, 2020 @11:29AM
(#22357179)
Modern PHP has good error handling, too.
There are differences in style and views on things from the way they were long ago that float around. These impact a lot of opinions.
Re:Mining my mailbox for top email service providers
by lonelappde on Tuesday February 18, 2020 @11:28AM
(#22357175)
Modern Perl is fine too
Re:Mining my mailbox for top email service providers
by bloopernova on Tuesday February 18, 2020 @01:58PM
(#22359038)
I haven't used Perl in about 12 years, has it changed much since then?
Do you have any links to good examples/comparisons?
Re:Mining my mailbox for top email service providers
by npongratz on Tuesday February 18, 2020 @02:22PM
(#22359355)
chromatic's book, Modern Perl, has my highest recommendation:
http://modernperlbooks.com/books/modern_perl_2016/index.html
I've mentioned it before, but reading this book and applying its concepts (along with judicial use Damian Conway's Perl Best Practices) changed my view of Perl from "well, I guess I'll use it since it's here," to "I really enjoy using Perl".
Mark Jason Dominus's Higher-Order Perl was another enjoyable read, for its advice on using Perl as a more functional programming language.
Re:Mining my mailbox for top email service providers
by lizmat on Tuesday February 18, 2020 @03:25PM
(#22359991)
To some, Raku is what Perl should have been by now: https://raku.org