14 ms·
I'm a big fan of Swift 2.x and am doing most of my programming lately in either it or Perl. The two languages compliment each other very well. Lazy properties w
by Moto7451 11y ago
I'm a big fan of Swift 2.x and am doing most of my programming lately in either it or Perl. The two languages compliment each other very well. Lazy properties work as well in Swift as they do in Moose/Moo and handling options with the if let pattern fits well with the standard Perl if (my $var = ...) pattern. I can go on about some of the other things I've noticed but I'll leave it at those two.
As such, I think the answer to your question is eventually you'll have the same depth is Swift that the Perl community has but so far Swift is still behind in tooling and libraries for many things. Since server side Swift on Linux is weeks old, there isn't a simple well known go to library for web work like CGI.pm, or my preference for simple web services, Web::Simple. And of course if Windows is something you need to support Swift won't help you.