Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

why fucking perl?

Name: Anonymous 2013-09-03 0:27

I go on any system, fucking perl. I look at scripts written by IT, not shell scripts, fucking perl. I try openBSD, fucking perl. FreeBSD? fucking perl. Default packages on linux even.. no python, no ruby, FUCKING PERL WHAT THE FUCK PERL PERL PERL

Name: Anonymous 2013-09-03 0:33

It's all a conspiracy.

Name: Anonymous 2013-09-03 0:37

          | ̄ ̄|
        _☆☆☆_  / ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄
         ( ´∀`) < Perl induces high quality software design
        /    |    \________
       /       .|     
       / "⌒ヽ |.イ |
   __ |   .ノ | || |__
  .    ノく__つ∪∪   \
   _((_________\
    ̄ ̄ヽつ ̄ ̄ ̄ ̄ ̄ ̄ | | ̄
   ___________| |
    ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄| |

Name: Anonymous 2013-09-03 0:45

>>3
VALID PERL CODE!

Name: mailto:sage 2013-09-03 0:45

It's much bett- I mean, not as bad for writing scripts in.

At least compared to Python, Ruby or Bash.

Name: Anonymous 2013-09-03 0:56

>>5
You don't like perl, python, ruby or bash? Is there anything you like?

Name: mailto:sage 2013-09-03 1:06

>>6
I do use Python for other things, but let's be honest, it's awful for scripting. Perl is better suited for that.

Name: Anonymous 2013-09-03 1:20

>>6
Maybe Lisp

Name: Anonymous 2013-09-03 1:26

>>7
What do you use it for then?

Name: Anonymous 2013-09-03 8:31

>>8
U MENA Just Lisp

Name: why fucking niggers? 2013-09-03 9:02

I go to any city, fucking niggers. I look at bars opened by ITalians, not white people, fucking niggers. I try the library, fucking niggers. Freeway? fucking niggers. Public transportation on weekdays even.. no jews, no asians, FUCKING NIGGERS WHAT THE FUCK NIGGERS NIGGERS NIGGERS

Name: scsh 2013-09-03 12:53

>>1
I try openBSD, fucking perl. FreeBSD? fucking perl. Default packages on linux even.
I know some packages in OpenBSD have perl for ./configure, but FreeBSD? I was sure they use .sh when they need scripting, esp. in the /usr/ports/sysutils/ directory.
Linux is something else (a mess, just a mess).

>>2
It was a convenience, not a dependency, which is what it became. Which is why we always encourage our colleagues to always repent w/ C or .sh. Now there's PCRE, no need for excuses.
>>5
http://common-lisp.net/gitweb?p=projects/qitab/inferior-shell.git
http://www.cliki.net/CLISP-Shell
http://www.clisp.org/clash.html
http://common-lisp.net/project/trivial-shell/
http://dan.corlan.net/shelisp/
http://www.gnu.org/software/emacs/manual/html_node/elisp/Shell-Arguments.html

Name: mailto:sage 2013-09-03 13:05

>>9
Quick hacks, CLOUD SOLUTIONS DEVELOPMENT, prototypes for algorithms and IRC bots.

Name: Anonymous 2013-09-03 13:48

>>12
Which is why we always encourage our colleagues to always repent w/ C or .sh
What do you consider .sh? Bourne? Scsh?

Name: Anonymous 2013-09-03 13:50

Shell languages must be the worst languages in existence. I'm pretty sure it's absolutely impossible to write proper input sanitation in bash.

Name: Anonymous 2013-09-03 14:03

>>15
I'm pretty sure it's absolutely impossible to write proper input sanitation in bash.
Bash is a Turing-complete programming language. If it is even theoretically possible for a given computation to be performed, then it is theoretically possible to perform it in Bash.

Name: Anonymous 2013-09-03 14:13

>>14
.sh = Bourne shell, the ancient one. Done for compatibility for older systems. You would not believe how many are still out there, even using 4.4BSD-Lite *ahem yahoo*

Scsh is a fun beta project, but the other options are better.

>>15
Indeed, but have you built a shell yet that talks well with the OS components/syscalls? Zsh does not count.

Name: Anonymous 2013-09-03 14:38

>>17
Zsh does not count.
Disallowing counter-points that would prove you wrong is a great way to win an argument.

Name: Anonymous 2013-09-03 14:58

>>18
I mean it is a cheating creating an implementation of embedding zsh api to call the syscalls. It's great, convenient, and overly massive. If you use it, its like just giving up and using Emacs.

Would it be awesome just to have a native scheme shell, nothing more?

That what I meant it does not count.

Name: Anonymous 2013-09-03 15:31

>>19
Piping data would be very unintuitive in a Scheme shell.

cat file.txt | grep needle

vs.

(grep needle (cat file)) ???

Yes, I know, cat abuse

Name: mailto:sage 2013-09-03 15:41

>>20
Maybe something like this?
(pipe
(cat file.txt)
(grep needle))

Name: Anonymous 2013-09-03 15:41

>>20
Wouldn't it make more sense to put the standard input as the first argument, followed by arguments to be sent to the command?

(grep (cat 'file) 'needle)

Name: Anonymous 2013-09-03 16:02

Name: Anonymous 2013-09-03 16:23

23
So it would be >>21, except using ``|'' instead of ``pipe''. Interesting.

Name: Admin 2013-09-03 17:28

FUCKING PERL WHAT THE FUCK PERL PERL PERL

Name: PERL 2013-09-03 17:34

PERL

Name: Anonymous 2013-09-03 17:39

Where is all the Perl hate coming from? It's the most awesome language ever invented; tell me, what other language can run output from /dev/urandom?

Name: Anonymous 2013-09-03 17:40

>>27
APL, J, and partly Javashit.

Name: Deathstroke wannabe 2013-09-03 21:30

>>27
From when strict is not used, and things are not compiled:
http://mysite.verizon.net/les.peters/id2.html
http://perl.plover.com/obfuscated/
http://www.perlmonks.org/?node=Obfuscated%20Code
http://www.perlmonks.org/?node_id=20312

tm;dl illegibility = unmaintainable; ++job_security; from Deadcode()

Name: Anonymous 2013-09-03 21:54

>>29
I can't remember the last time I heard of someone getting a perl job offer. All those MISSION CRITICAL ENTERPRISE APPLICATIONS written using only whitespace have been phased out in favor of the much more maintainable system of using obscure COBOL on punchcards. Larry Wall's plan backfired; Bjarne did it the right way and they'll be people working out multiple inheritance problems in hello world applications years from now, because it's not so obvious what it's for.

Name: Anonymous 2015-11-24 6:33

>>1
Because she's hot.

Name: sage 2015-11-24 23:31

>>31
necromancy is illegal

Name: Anonymous 2015-11-25 9:58

>>16
Then Java must not be turing complete because I can't do a buffer overread.

Name: Anonymous 2015-11-25 15:30

Because Perl is useful. Stop pretending otherwise.

Name: Anonymous 2015-11-26 17:52

>>20
Ummm.....

grep needle file.txt

Name: Anonymous 2015-11-26 18:00

>>20

(pipe (cat "file".txt)
(grep "needle"))

Name: Anonymous 2015-11-27 22:25

>>36
That's awfully verbose. I'm not gonna type all that.

Name: Anonymous 2015-11-27 22:42

>>37
How about this:
cat file.txt | grep needle
The REPL wraps input in a de-infixing reader macro, turning it into (| (cat file.txt) (grep needle))
You can, of course, type in (| (cat file.txt) (grep needle)) and have it work in the same way.
Substitute pipe for | if your implementation supports |arbitrary symbols|.

Name: Anonymous 2015-11-28 1:54

>>37
Lisp syntax makes it more efficient to use in text editors. And you cn always use a reader macro.

Name: Anonymous 2015-11-28 2:00

>>37
Lisp has an explicit AST. There is no ambiguity. The biggest pain in the ass about shells, perl, and non-Lisp expressions in general is the fucking implicit ambiguity. Put some goddamn parentheses around it and it always fucking works.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List