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

Pages: 1-

PHP sucks

Name: Anonymous 2009-09-13 14:12

PHP is fuckign shit, period. Horrible syntax with poor OOP support (lack of static initializers WHAT THE FUCK???).

The only good thing about it is that it's free. And this was enough for the niggers of the Internet to adopt it wildly.

Even the semi-official IDE, Zend Studio (which isn't free) is a piece of shit (good thing that I pirated it).

Discuss.

Name: Anonymous 2009-09-13 14:21

U MENA PERL

Name: Anonymous 2009-09-13 14:23

Discuss.
"7 dongs" == 7 => #t

Name: Anonymous 2009-09-13 14:28

>>1
It isn't supposed to have ‘real OOP’[1] -- ``I've never been a huge fan of OO – I use it when I think it's appropriate. When I have an object that carries data and some methods to manipulate the data, that's OK. But I've never been a fan of everything OO.''[2]

--
[1]Where real OOP is defined as Java/Sepples type OOP
[2]http://www.techradar.com/news/computing/pc/how-php-became-such-a-huge-success-633591?artc_pg=2

Name: Anonymous 2009-09-13 14:43

>>4
sepples is not oop

Name: Anonymous 2009-09-13 15:01

real OOP
U MENA RUBY

Name: Anonymous 2009-09-13 15:13

>>4

When I have an object that carries data and some methods to manipulate the data, that's OK.

Like a database? OH WAIT. BUT DATABASES ARE USED IN ALMOST ALL WEBAPPS.

Name: Anonymous 2009-09-13 15:15

>>6

No, he meant .NET.

Name: Anonymous 2009-09-13 16:23

>>7
I take it you didn't actually read the article

Name: Anonymous 2009-09-13 16:41

Use Perl like any self-respecting enterprise.

Name: !MILKRIBS4k 2009-09-13 16:44

>>1
* African Americans

Name: Anonymous 2009-09-13 16:46

>>4
Learn to read. Lerdorf doesn't understand ``like'' OO, so he let other people do it. It is supposed to have OO, but the people working on PHP are morons, so it ended up being even brokener than Sepples.

Name: Anonymous 2009-09-16 2:57

At least 5.3 has closures. Of course, like everything else in PHP, it's a totally buggy hack of a hack, so it's not very useful.

Disregard that $arrow->notation sucks cocks.

Name: Anonymous 2009-09-16 3:09

Name: Anonymous 2009-09-16 4:39

I like how the PHP syntax is like something a 12 year old would make up as she went along while she programmed the parser. That's really classy, in a "lol i dont now teh difrense btwn functoins and lngg constracts" kind of way.

Name: Anonymous 2009-09-16 4:44

>>14
I was looking at http://harmful.cat-v.org/software/OO_programming/why_oo_sucks and noticed that even if Lisp (CLOS) supports OO, it doesn't have any of the bad properties listed:
Objection 1 - Data structure and functions should not be bound together
Generic functions and objects are separate things. They're not forcibly bound together, but if you want to code Java in Lisp, you can do that, it's just not good form.
Objection 2 - Everything has to be an object
I don't understand this objection, but you can get a class-of everything, and it's well integrated with the type system, but if CLOS didn't exist, everything would keep working just fine(except for parts that use CLOS). The fact that arbitrary data can also have a class comes with no cost. The data still remains what it is, but it can be used in an OO manner(specialize a method's argument on it) if one wants to.
Objection 3 - In an OOPL data type definitions are spread out all over the place
Absolutely not required in Lisp. You may want to do it for extra safety or speed.
Objection 4 - Objects have private state
Not true, you can access any slot, or symbol from any package. Of course, accessing interfaces/slots which have not been exported, or don't have an accessor may not be the smartest thing to do, but it's not something the language forbids you to do, but if you want such functionality, you can implement it by using the MOP, it's just not considered very smart. There's a long thread about this on c.l.l. and I'm not going to rehash everything that was stated there about it here.

Thus, the conclusion is that CLOS doesn't have any of the issues described by the author.

Name: Anonymous 2009-09-16 5:11

The author does seem to suck just a tiny bit of dick, though, doesn't he?

Name: Anonymous 2009-09-16 5:38

I recommend ruby.

Name: Anonymous 2009-09-16 11:45

i lecommend luby

Name: Anonymous 2009-09-16 15:58

you can enjoy luby on lail for glaet ancestol honol

Name: Anonymous 2009-09-16 16:23

luby on lails is a leally gleat flamewolk fol the web

Name: Anonymous 2009-09-16 16:48

id like to fork ruby and make it so that comments are replaced with like // or something else...// might not worka ctually as it might get treated as a empty regex...but whatever...and then hash could be used as a cardinality operator

Name: Anonymous 2009-09-16 17:03

Objective-C is fuckign shit, period. Horrible syntax with poor OOP support (lack of instance initializers WHAT THE FUCK???).

The only good thing about it is that Steve Jobs jizzed all over it. And this was enough for the niggers of the Internet to adopt it wildly.

Even the official IDE, XCode (which isn't free) is a piece of shit (too bad you need specific hardware to pirate it).

Discuss.

Name: Anonymous 2009-09-16 17:13

>>23
niggers
Back to /b/, please.

Name: Anonymous 2009-09-16 18:42

>>24
>>23
niggers

Back to /b/, please.

Name: Anonymous 2010-12-28 8:15

Name: Anonymous 2011-02-03 0:02

<

Name: Anonymous 2011-02-04 13:05


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