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

Pages: 1-4041-

So, fuck PHP

Name: Anonymous 2012-09-08 4:43

What's better?

Name: Anonymous 2012-09-08 4:56

Perl.

Name: Anonymous 2012-09-08 5:11

>>2
I've actually been reading that Programming Perl book recently.
It seems like a pretty awesome language & I've only made some hello world type programs to test the waters. 

Why is it better than using something like Ruby or Python?

Name: Anonymous 2012-09-08 5:18

>>3
Why is it better than using something like Ruby or Python?
It will make you waste some time, so you will be away of /prog/.

Name: Anonymous 2012-09-08 5:25

>>4
Noted.  Peace out, nigga.  I'll be back in a year.  Watch the cats while I am gone.

Name: Anonymous 2012-09-08 5:40

Paamayim Nekudotayim

Name: Anonymous 2012-09-08 6:34

>>6
paamayimo nekudotayimo~

Name: Anonymous 2012-09-08 7:20

For the use case of PHP:

Python is FIOC, java uses too much memory, C is too inconvenient without a lot of up-front work, Arc seriously tries to use continuations between pageviews

Perl is a hassle to set up with nginx or fastcgi in general and mod_perl is a shit

Ruby is slower than generating your web page outputs via a vbscript to a microsoft word ActiveX component

PHP just werks most of the time, it's a curly-brace language with three-clause for loops, first-class strings and hashmaps and a pretty standard class inheritance structure if you want it. The worst problem it has (and the cause for some inconsistency) is it's absymally weak typing system (almost as bad as tcl).

The only alternative is probably something like C++

Name: Anonymous 2012-09-08 7:34

>>1
Perl + Perl::Dancer

Name: Anonymous 2012-09-08 8:35

PHP = Jews

Name: Anonymous 2012-09-08 12:52

>>8
Or, you know, Common Lisp.

Name: Anonymous 2012-09-08 12:56

Name: 12 2012-09-08 13:06

Name: Anonymous 2012-09-08 13:09

>>11
it's a curly-brace language with three-clause for loops, first-class strings and hashmaps and a pretty standard class inheritance structure
Obviously they're only considering pig disgusting K&R-esque shit here, which rules out sexp.

Here, I have a suggestion for you (>>1,8) since you can only use shit languages with shit syntax, just use node.js
( ≖‿≖)

Name: Anonymous 2012-09-08 15:50

>>14
Wait, how is Common Lispu a curly brace language with three cause for loops?

Name: Anonymous 2012-09-08 18:20

       PERL
     PERLPERL
    PERL  PERL
   PERL    PERL
  PERL      PERL
 PERL        PERL
PERL   PERL   PERL
 PERL        PERL
  PERL      PERL
   PERL    PERL
    PERL  PERL
     PERLPERL

       PERL

Name: Anonymous 2012-09-08 18:20

       PERL
     PERLPERL
    PERL  PERL
   PERL    PERL
  PERL      PERL
 PERL        PERL
PERL   PERL   PERL
 PERL        PERL
  PERL      PERL
   PERL    PERL
    PERL  PERL
     PERLPERL
       PERL

Name: Anonymous 2012-09-08 18:40

Name: Anonymous 2012-09-09 3:49

Get the last element of an array/list

in Ruby:
foo.last
in Python:
foo[-1]
in PHP:
end(array_values($foo))

Pretty retarded.

Name: Anonymous 2012-09-09 4:27

>>19

Accessing the last element of an array in SEPPLES:

*(foo + (sizeof(foo)/sizeof(*(foo + 0)) - 1)) = n; //PLEASE KILL ME I DONT BELONG IN THIS WORLD

ENTERPRISE KOALA TREE

Name: Anonymous 2012-09-09 4:32

>>20
Considering it gives you low-level memory access, c is alright in my books. c++ should just die. PHP should be skinned alive.

Name: Anonymous 2012-09-09 4:58

>>21
There was a mailing list proposal on php-internals recently to add [-1] indexing to PHP arrays. I'm not quite caught up with it yet but i think the crux of the argument is that you have to play nice with the type coercion, but you can't implement the same form of negative indexing for arrays, strings and hashmaps.

Another topical problem with PHP is that it uses a single-pass, non-AST-based compiler. So the parser is full of silly hacks, a lot of things do not work robustly, and there is no official grammar specification.

Name: Anonymous 2012-09-09 5:25

>>20
Symta:

point X Y = [X=X; Y=Y; add P = point X+P.X; Y+P.Y]


C/C++/Java/C#:

class Point
{
  public Point(int _X, int _Y)
  {
    X = _X;
    Y = _Y;
  }
  public Point add(Point P)
  {
    Point R;
    R.setX(X+P.X);
    R.setY(Y+P.Y);
    return R;
  }
  public int X { get; private set; }
  public int Y { get; private set; }
}

Name: Anonymous 2012-09-09 5:32

>>19
Symta:

sign X = {lt X 0 = -1; gt X 0 = 1; 0}


C/C++/Java/C#:

int sign (int X)
{
  int R;
  if (X < 0) R = -1;
  else if (X > 0) R = 1;
  else R = 0;
  return R;
}

Name: Anonymous 2012-09-09 6:50

>>23


struct point
{
  int x, y;
  point(int x, int y) : x(x), y(y) {}
  point add(point p) { return point(x+p.x, y+p.y); }
};

Name: Anonymous 2012-09-09 7:12

>>1
C, Haskell, Lisp, Lua, MAWK

Anything else, is syntactic meth (i.e. Perl).

http://www.boutell.com/cgic/
http://www.cs.tut.fi/~jkorpela/forms/cgic.html

Name: Anonymous 2012-09-09 7:13

Name: Anonymous 2012-09-09 7:17

>>25
Symta:

workOn [X=X; Y=Y; add P = point X+P.X Y+P.Y]


C/C++:

struct point
{
  int x, y;
  point(int x, int y) : x(x), y(y) {}
  point add(point p) { return point(x+p.x, y+p.y); }
};
struct point P(x,y);
workOn(&P);

Name: Anonymous 2012-09-09 7:20

Symta:

Regs \= AH BH CH CS DH DS ES FLG FS GS SS eAX eBP eBX eCX eDI eDX eSI eSP


C/C++:

enum {AH, BH, CH, CS, DH, DS, ES, FLG, FS, GS, SS, eAX, eBP, eBX, eCX, eDI, eDX, eSI, eSP};
int Regs[] = {AH, BH, CH, CS, DH, DS, ES, FLG, FS, GS, SS, eAX, eBP, eBX, eCX, eDI, eDX, eSI, eSP};

Name: Anonymous 2012-09-09 7:45

>>29
#define REGS AH, BH, CH, CS, DH, DS, ES, FLG, FS, GS, SS, eAX, eBP, eBX, eCX, eDI, eDX, eSI, eSP
eunm {REGS}
int Regs[] = {REGS};

Name: Anonymous 2012-09-09 8:17

>>30
Symta:

say Regs --> (AH BH CH CS DH DS ES FLG FS GS SS eAX eBP eBX eCX eDI eDX eSI eSP)


C/C++:

printf(REGS); --> regs.c:3: error: ‘AH’ undeclared (first use in this function)
regs.c:3: error: (Each undeclared identifier is reported only once
regs.c:3: error: for each function it appears in.)
regs.c:3: error: ‘BH’ undeclared (first use in this function)
regs.c:3: error: ‘CH’ undeclared (first use in this function)
regs.c:3: error: ‘CS’ undeclared (first use in this function)
regs.c:3: error: ‘DH’ undeclared (first use in this function)
regs.c:3: error: ‘DS’ undeclared (first use in this function)
regs.c:3: error: ‘ES’ undeclared (first use in this function)
regs.c:3: error: ‘FLG’ undeclared (first use in this function)
regs.c:3: error: ‘FS’ undeclared (first use in this function)
regs.c:3: error: ‘GS’ undeclared (first use in this function)
regs.c:3: error: ‘SS’ undeclared (first use in this function)
regs.c:3: error: ‘eAX’ undeclared (first use in this function)
regs.c:3: error: ‘eBP’ undeclared (first use in this function)
regs.c:3: error: ‘eBX’ undeclared (first use in this function)
regs.c:3: error: ‘eCX’ undeclared (first use in this function)
regs.c:3: error: ‘eDI’ undeclared (first use in this function)
regs.c:3: error: ‘eDX’ undeclared (first use in this function)
regs.c:3: error: ‘eSI’ undeclared (first use in this function)
regs.c:3: error: ‘eSP’ undeclared (first use in this function)

Name: Anonymous 2012-09-09 8:20

oh no, the symta fucktard is back

Name: Anonymous 2012-09-09 8:29

Name: Anonymous 2012-09-09 10:12

Name: Anonymous 2012-09-09 10:18

>>34
Shalom, Hymie!

Name: Anonymous 2012-09-09 10:23


P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

P E R L P E R L P E R L

   T I M T O W T D I

Name: Anonymous 2012-09-09 12:54

>>33
He just said ``oh fuck he's back", why the fuck did you have to link him to those articles?

Name: Anonymous 2013-11-30 6:38

*YOU HAVE BEEN VISITED BY LE TOP LEL OF COMEDY GOLD** POST THIS IN 3 threads or lose your sides!
░░░░░░░▄▀▀▀░▄▄▄▄░░░▀▀▀▀▀▀▀▀▄▄░▀
░░░░░░░█░░░░░░░░▀▀▀▀▀▄▄▄▄▄▄▄▄▀░░█
░░░░░▄▀░░░░░░░░░░▄░░░░░░░░▄▄░░░░░▀▄
░░░▄▀░░░░░▄▀▀▀█▄░▀░░░░▄▀▀▀██▀▀▄░░░░░▀
░░▄▀░░▄▄░░▀▀▀▀████▀░░░▀▄▄▀▀▀▀▄█░░░░░░█
░▄▀░▄▀█░░▄▄░░░░░░░█░░░░░▄▄▄░░░▀▀░░░░░░█
▄▀░░█░█░▀░░▀▀▄░░░░░█░░░░░░░▀▀▀▀▀▄░░░░░█
▀▄░░▀░█░░░▄░░░░░░▄▀░░░░▀▄░░░▄▄░░▀▄░█░▄▀
░░▀▄░░░░█▀▄░░░░░▀█░░░░▀▀░█▄▀▄░█░░░█░█
░░░░█░░█░▀▄▀▄▄░░░░▀▀▀░░░▄█▀░▄▀█░░░░▄
░░░░░█░░█░▀▀▄░▀▄▄▄▄▄▄▄▀█░▄█▀▄▀░░░░░
░░░░░█░░▀▄▄░░▀█░░░█░░▄▄▀▀▄▄█▀░░░░▀
░░░░▄▀░░░▀▄▀▀▄░▀▀▀▀▀▀▄▄▀▀▀▄▀░░░░▀
░░░▄▀░░░░░░▀▄░█▄▄▄▄▀▀░▀▄▀▀░░░▄▀▀
░░▄▀░░░░░░░░░▀▄▄▄▄█▄▄▀▀░░░░▄
░░█░░░░░░▀▄▄░░░▄▄▄▄▄▄▀░░░▄▀
░░█░░░░░░░░░▀▀▀▄▄▄▄▄▄▄▀▀
░░░█░░░░░░▀▀▀▀▀░░░░▄
░░░▀▀▄▄▄▄▄▄▄▄▄▀▀▀

Name: Anonymous 2013-11-30 6:40

*YOU HAVE BEEN VISITED BY LE TOP LEL OF COMEDY GOLD** POST THIS IN 3 threads or lose your sides!
░░░░░░░▄▀▀▀░▄▄▄▄░░░▀▀▀▀▀▀▀▀▄▄░▀
░░░░░░░█░░░░░░░░▀▀▀▀▀▄▄▄▄▄▄▄▄▀░░█
░░░░░▄▀░░░░░░░░░░▄░░░░░░░░▄▄░░░░░▀▄
░░░▄▀░░░░░▄▀▀▀█▄░▀░░░░▄▀▀▀██▀▀▄░░░░░▀
░░▄▀░░▄▄░░▀▀▀▀████▀░░░▀▄▄▀▀▀▀▄█░░░░░░█
░▄▀░▄▀█░░▄▄░░░░░░░█░░░░░▄▄▄░░░▀▀░░░░░░█
▄▀░░█░█░▀░░▀▀▄░░░░░█░░░░░░░▀▀▀▀▀▄░░░░░█
▀▄░░▀░█░░░▄░░░░░░▄▀░░░░▀▄░░░▄▄░░▀▄░█░▄▀
░░▀▄░░░░█▀▄░░░░░▀█░░░░▀▀░█▄▀▄░█░░░█░█
░░░░█░░█░▀▄▀▄▄░░░░▀▀▀░░░▄█▀░▄▀█░░░░▄
░░░░░█░░█░▀▀▄░▀▄▄▄▄▄▄▄▀█░▄█▀▄▀░░░░░
░░░░░█░░▀▄▄░░▀█░░░█░░▄▄▀▀▄▄█▀░░░░▀
░░░░▄▀░░░▀▄▀▀▄░▀▀▀▀▀▀▄▄▀▀▀▄▀░░░░▀
░░░▄▀░░░░░░▀▄░█▄▄▄▄▀▀░▀▄▀▀░░░▄▀▀
░░▄▀░░░░░░░░░▀▄▄▄▄█▄▄▀▀░░░░▄
░░█░░░░░░▀▄▄░░░▄▄▄▄▄▄▀░░░▄▀
░░█░░░░░░░░░▀▀▀▄▄▄▄▄▄▄▀▀
░░░█░░░░░░▀▀▀▀▀░░░░▄
░░░▀▀▄▄▄▄▄▄▄▄▄▀▀▀

Name: Anonymous 2013-11-30 6:42

*YOU HAVE BEEN VISITED BY LE TOP LEL OF COMEDY GOLD** POST THIS IN 3 threads or lose your sides!
░░░░░░░▄▀▀▀░▄▄▄▄░░░▀▀▀▀▀▀▀▀▄▄░▀
░░░░░░░█░░░░░░░░▀▀▀▀▀▄▄▄▄▄▄▄▄▀░░█
░░░░░▄▀░░░░░░░░░░▄░░░░░░░░▄▄░░░░░▀▄
░░░▄▀░░░░░▄▀▀▀█▄░▀░░░░▄▀▀▀██▀▀▄░░░░░▀
░░▄▀░░▄▄░░▀▀▀▀████▀░░░▀▄▄▀▀▀▀▄█░░░░░░█
░▄▀░▄▀█░░▄▄░░░░░░░█░░░░░▄▄▄░░░▀▀░░░░░░█
▄▀░░█░█░▀░░▀▀▄░░░░░█░░░░░░░▀▀▀▀▀▄░░░░░█
▀▄░░▀░█░░░▄░░░░░░▄▀░░░░▀▄░░░▄▄░░▀▄░█░▄▀
░░▀▄░░░░█▀▄░░░░░▀█░░░░▀▀░█▄▀▄░█░░░█░█
░░░░█░░█░▀▄▀▄▄░░░░▀▀▀░░░▄█▀░▄▀█░░░░▄
░░░░░█░░█░▀▀▄░▀▄▄▄▄▄▄▄▀█░▄█▀▄▀░░░░░
░░░░░█░░▀▄▄░░▀█░░░█░░▄▄▀▀▄▄█▀░░░░▀
░░░░▄▀░░░▀▄▀▀▄░▀▀▀▀▀▀▄▄▀▀▀▄▀░░░░▀
░░░▄▀░░░░░░▀▄░█▄▄▄▄▀▀░▀▄▀▀░░░▄▀▀
░░▄▀░░░░░░░░░▀▄▄▄▄█▄▄▀▀░░░░▄
░░█░░░░░░▀▄▄░░░▄▄▄▄▄▄▀░░░▄▀
░░█░░░░░░░░░▀▀▀▄▄▄▄▄▄▄▀▀
░░░█░░░░░░▀▀▀▀▀░░░░▄
░░░▀▀▄▄▄▄▄▄▄▄▄▀▀▀

Name: Anonymous 2013-11-30 6:44

*YOU HAVE BEEN VISITED BY LE TOP LEL OF COMEDY GOLD** POST THIS IN 3 threads or lose your sides!
░░░░░░░▄▀▀▀░▄▄▄▄░░░▀▀▀▀▀▀▀▀▄▄░▀
░░░░░░░█░░░░░░░░▀▀▀▀▀▄▄▄▄▄▄▄▄▀░░█
░░░░░▄▀░░░░░░░░░░▄░░░░░░░░▄▄░░░░░▀▄
░░░▄▀░░░░░▄▀▀▀█▄░▀░░░░▄▀▀▀██▀▀▄░░░░░▀
░░▄▀░░▄▄░░▀▀▀▀████▀░░░▀▄▄▀▀▀▀▄█░░░░░░█
░▄▀░▄▀█░░▄▄░░░░░░░█░░░░░▄▄▄░░░▀▀░░░░░░█
▄▀░░█░█░▀░░▀▀▄░░░░░█░░░░░░░▀▀▀▀▀▄░░░░░█
▀▄░░▀░█░░░▄░░░░░░▄▀░░░░▀▄░░░▄▄░░▀▄░█░▄▀
░░▀▄░░░░█▀▄░░░░░▀█░░░░▀▀░█▄▀▄░█░░░█░█
░░░░█░░█░▀▄▀▄▄░░░░▀▀▀░░░▄█▀░▄▀█░░░░▄
░░░░░█░░█░▀▀▄░▀▄▄▄▄▄▄▄▀█░▄█▀▄▀░░░░░
░░░░░█░░▀▄▄░░▀█░░░█░░▄▄▀▀▄▄█▀░░░░▀
░░░░▄▀░░░▀▄▀▀▄░▀▀▀▀▀▀▄▄▀▀▀▄▀░░░░▀
░░░▄▀░░░░░░▀▄░█▄▄▄▄▀▀░▀▄▀▀░░░▄▀▀
░░▄▀░░░░░░░░░▀▄▄▄▄█▄▄▀▀░░░░▄
░░█░░░░░░▀▄▄░░░▄▄▄▄▄▄▀░░░▄▀
░░█░░░░░░░░░▀▀▀▄▄▄▄▄▄▄▀▀
░░░█░░░░░░▀▀▀▀▀░░░░▄
░░░▀▀▄▄▄▄▄▄▄▄▄▀▀▀

Name: Anonymous 2013-11-30 6:46

*YOU HAVE BEEN VISITED BY LE TOP LEL OF COMEDY GOLD** POST THIS IN 3 threads or lose your sides!
░░░░░░░▄▀▀▀░▄▄▄▄░░░▀▀▀▀▀▀▀▀▄▄░▀
░░░░░░░█░░░░░░░░▀▀▀▀▀▄▄▄▄▄▄▄▄▀░░█
░░░░░▄▀░░░░░░░░░░▄░░░░░░░░▄▄░░░░░▀▄
░░░▄▀░░░░░▄▀▀▀█▄░▀░░░░▄▀▀▀██▀▀▄░░░░░▀
░░▄▀░░▄▄░░▀▀▀▀████▀░░░▀▄▄▀▀▀▀▄█░░░░░░█
░▄▀░▄▀█░░▄▄░░░░░░░█░░░░░▄▄▄░░░▀▀░░░░░░█
▄▀░░█░█░▀░░▀▀▄░░░░░█░░░░░░░▀▀▀▀▀▄░░░░░█
▀▄░░▀░█░░░▄░░░░░░▄▀░░░░▀▄░░░▄▄░░▀▄░█░▄▀
░░▀▄░░░░█▀▄░░░░░▀█░░░░▀▀░█▄▀▄░█░░░█░█
░░░░█░░█░▀▄▀▄▄░░░░▀▀▀░░░▄█▀░▄▀█░░░░▄
░░░░░█░░█░▀▀▄░▀▄▄▄▄▄▄▄▀█░▄█▀▄▀░░░░░
░░░░░█░░▀▄▄░░▀█░░░█░░▄▄▀▀▄▄█▀░░░░▀
░░░░▄▀░░░▀▄▀▀▄░▀▀▀▀▀▀▄▄▀▀▀▄▀░░░░▀
░░░▄▀░░░░░░▀▄░█▄▄▄▄▀▀░▀▄▀▀░░░▄▀▀
░░▄▀░░░░░░░░░▀▄▄▄▄█▄▄▀▀░░░░▄
░░█░░░░░░▀▄▄░░░▄▄▄▄▄▄▀░░░▄▀
░░█░░░░░░░░░▀▀▀▄▄▄▄▄▄▄▀▀
░░░█░░░░░░▀▀▀▀▀░░░░▄
░░░▀▀▄▄▄▄▄▄▄▄▄▀▀▀

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