[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
Is perl worth learning, /g/?
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 26
Thread images: 4
File: Perl[1].gif (44 KB, 643x326) Image search: [Google]
Perl[1].gif
44 KB, 643x326
Is perl worth learning, /g/?
>>
no, just learn awk
>>
>>54300974
HAHAHHHHHHHHHHAAAAAAAAAAAA...

Wait, you're serious? Let me laugh even harder!

HAHAHHHHAHAHAAHAHAHAHAAHAHAHAHAHAHAHAHAHAAHAHAHAHAHAHAHAHHA
>>
>>54300974
>I'm only going to ever write new code
Yes, any dotcom that survived the bust is going to have perl code.
>>
Fuck no.
>>
Ruby is better

Perl is good but good fucking luck reading it
>>
>>54301059
don't laugh on the internet you filthy animal
>>
>>54300974
Yes.
First there was bash built-ins, but they weren't adequate, so sed was created.
Sed wasn't adequate though, so awk was created to supersede sed.
Awk wasn't good for a general purpose programming language, so perl was created.

I use Perl whenever I need to process text files. Perl is the king of regular expressions and managing text. If you use 'nix a lot, learn some perl.

>>54301462
>ruby is better
I've been learning ruby for a day now. I have a few years of perl experience. This guy might be right, I'm really liking ruby.
>>
When I interviewed at Intel they told me if I got hired I'd need to learn Perl.
>>
>>54300974

Always
>>
>>54301640
Ruby is great man.

The syntax is so fucking nice
>>
>>54301640
>Perl is the king of regular expressions and managing text.
but most languages shamelessly copied Perl's regular expressions verbatim anyway
>>
>>54301674
most languages don't let you do shit like
print $_ if (/regex/);
>>
Perl makes the things that it's good at super quick n easy. I mean, chances are in any *nix environment you'll have Perl, *sh, python, etc installed. I usually use bash to wrap the processes of setting my shit up, obtaining data from like SQL db or something. Toss that to Perl to make it nice n clean n mungy. Then toss that shit to python, import numpy , pandas, matplotlib, you got matlab + oo for free to do all your stupid abstract modeling n analysis
>>
For my systems programing class next year ill need to use c, awk and pearl.
Is my schools cs department retarted?
>>
>>54300974
Perl is like PHP except even worse. A language everyone hates that by the time you get good enough at the better languages will have replaced everything you know
>>
>>54302017
That's kind of what systems programming is about you tit.
>>
Watch this, then decide
https://www.youtube.com/watch?v=eH_u3C2WwQ0
>>
File: perlfags btfo.png (34 KB, 781x434) Image search: [Google]
perlfags btfo.png
34 KB, 781x434
>>54301640
>Perl regex
>Good
https://swtch.com/~rsc/regexp/regexp1.html

Notice the log scale in the image.
>>
File: 300391-菜乃花.jpg (195 KB, 1080x1541) Image search: [Google]
300391-菜乃花.jpg
195 KB, 1080x1541
>>54300974
I learned Perl 5 back in 1998, and I still have a soft spot in my heart for it.

I still use it when I need to duct tape some shell scripts together and I need something a little more powerful than /bin/sh to structure things.

It's very good in that role, and it will be part of my toolset for as long as I'm programming.
>>
For fucks sake no. Are you retarded?
>>
File: FnFgoLs.jpg (134 KB, 778x1018) Image search: [Google]
FnFgoLs.jpg
134 KB, 778x1018
>>54302362
>judging an entire language based on the shit that is Bugzilla and CGI.pm
>memes
>CCC
>also memes
>>
>>54301640
>using anything but gawk for regex
>>
>>54300974
Yes it's worth learning
>>
>>54300974

Def worth learning

And(Perl, Python, Ruby) = somehow_similar

you_should_learn = case interest
when interest = "scripting", "runs on many servers", "universal ductape", "oldies but goldies", "obfuscation"
then "the old camel is still god for a ride"

when interest = "all purpose", "write GUIs as well as web stuff", "science", "most widspread for pentesting"
then "go ride the snake"

when interest = "web dev", "the most beautifull syntax", "scripting", "Metasploit"
then "search for the red juwel"

end


if you_should_learn = Perl
$TIMTOWDY = 10
@@Style_points = 10
@@maintain_code = -8
@get_money = 5
@haxx0r = 10
end

if you_should_learn = Python
$TIMTOWDY = 0
@@Style_points = 5
@@maintain_code = 10
@get_money = 7
@haxx0r = 8
end

if you_should_learn = Ruby
$TIMTOWDY = 5
@@Style_points = 8
@@maintain_code = 8
@get_money = 10
@haxx0r = 7
end

post == subjective ? p "make up your own fuckign mind !1!!one!!" : "" ;
>>
Obviously, if so many people have learned it.
Thread replies: 26
Thread images: 4

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.