Giving Up (8)

1 Name: #!/usr/bin/anonymous : 2007-09-01 05:51 ID:a5XAP1up This thread was merged from the former /code/ board. You can view the archive here.

Have you ever worked on a piece of software that just made you give up on using a certain programming language?

After spending almost a year working on some forum software in PHP, I just recently said fuck it and started anew in Perl--a language which (I'll admit) I had turned away from previously. The last straw for me was trying to deal with Unicode in PHP, which was just terrible. And I was also becoming just sick of magic quotes and some of the other hassles of the language in general.

2 Name: #!/usr/bin/anonymous : 2007-09-01 17:17 ID:Heaven

It's called practicing. Musicians do it all the time, as do graphic artists.

3 Name: #!/usr/bin/anonymous : 2007-09-01 18:43 ID:vmMpcyiY

Art and music is fun, though.

4 Name: #!/usr/bin/anonymous : 2007-09-02 00:51 ID:XxujhPHK

Right, but PHP is a crock of shit.

5 Name: #!/usr/bin/anonymous : 2007-09-02 00:55 ID:Heaven

>>2
Someone can practice an instrument long enough and realize they don't like it, but there's a difference between, "Well this isn't for me," and, "This shit is just objectively awful." I don't think people would say the later about a piano, but they might about PHP.

6 Name: #!/usr/bin/anonymous : 2007-09-02 02:13 ID:Heaven

PHP is the kazoo of programming languages.

7 Name: dmpk2k!hinhT6kz2E : 2007-09-02 05:20 ID:Heaven

Zope3 came very close from turning me off from Python permanently. It's only recently that I've begun tentatively prod that language again, mainly due to Django and Pylons. I still dislike the syntax intensely, but I can overlook that.

Also, trolling Python fanboys on reddit is fun. It borders on a religion for some of them.

8 Name: #!/usr/bin/anonymous : 2007-09-03 23:48 ID:Heaven

PHP is the "client" programming language. The language is not extendable in the language itself without going to Java-style pains or dealing with string eval.

Contrast with Perl, where you can pretty much define your own syntax features in the language. This came in handy when developing a database transaction helper package, particularly when we realized that automatic restart on serialization failure or deadlock would be a really nice thing to have. Also transaction nesting, PostgreSQL having savepoints since 8.0 and all.

Perhaps someone who'd been using PHP for 10 years could replicate that. But, I wouldn't want to have that conversation with him.

Name: Link:
Leave these fields empty (spam trap):
More options...
Verification: