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

PHP

Name: Anonymous 2008-06-26 17:26

[22:24:13] <~moots> man people here must be EXPERT PROGRAMMERS
[22:24:17] <~moots> go post on /prog/ more, they'll love you

What are your opinions on php?

Name: Anonymous 2008-06-26 17:33

I've used better languages, but its ubiquity makes it a useful one to know. Also, the online language reference is very good indeed.

Name: Anonymous 2008-06-26 17:35

“When you become professor, you will get all these students here. I will arrange the scholarships.”

“Great”

Now, let us discuss HIVEMIND over dinner.

Name: Anonymous 2008-06-26 19:11

It was my starting language, and I can't seem to get away from it. I know a dozen other languages, but I almost always find PHP the best for the task. Certain techniques are of course easier in a language that has it built-in, but almost no matter how complex, I can figure out a way to do it in PHP (including monads, type polymorphism, lazy evaluation, etc.). As long as it can obey my commands faster than I can give them and give me the needed information within 5 seconds of execution, speed isn't much of an issue,

I think it's because I've gotten used to the documentation. When I want to do something complex, the documentations of other libraries and languages are more complex and thus offers a more moderate learning-curve until I get used to them, and I get bored while searching for new information.

Name: Anonymous 2008-06-26 19:22

>>4
php.net is an excellent resource. But I can't get past how hacked together the language feels.

Name: Anonymous 2008-06-26 19:42

>>4
I almost always find PHP the best for the task
You obviously don't do anything interesting.

Name: Anonymous 2008-06-26 21:24

>>5
That's because it is one large hack...  It's only saving grace IS the documentation, but since it's one large hack, you *have* to continually refer to it.

PHP is great for making small simple websites quickly.  It is shit for any kind of serious work or structured programming.

Name: Anonymous 2008-06-26 21:58

>>7
We're posting these comments on a website powered by PHP!

Name: Anonymous 2008-06-26 22:53

>>8
I don't think shiichan is the greatest of PHP 4 software.

Name: Anonymous 2008-06-26 23:23

>>8
Your point?

Name: Anonymous 2008-06-27 0:16

        ,.. -ェ‐=、‐-、 _,rェ┐
    rーv'彡rf/f゙!l゙!ミ、ヾ、三'ォ
    |三ヲ ( !.{f.l|{.}.!l |゙!、l、!i"≦
    l三i ( | |l |!|l !| l !!」」`ヾヲ
    7Z. ヽfヽ⌒ , ⌒jメ、  < My name is Kouyama Mitsuki!
      / ⌒ ゝ 、ワ /' .ヽ
       i   、   `  `ヽ
       !   i   ゚    ゚ i
       |   !        丶.
      |   l`、       !
        !  __! !        l       _ ,.. .. .. 、
      /'  ̄   ̄` 、       'i ,.:- '  ̄       `ヽ、
       i   ヽ、   `ヽ、      ´        _,   !
      、    丶、    . l !        ,、'~   ノ
  _, ─ヽ、   ノ ヽ    ゙、/,`ヽ、     _, ' ヽ、, '
  `─,^_;...- '`-ニ´   \   .!   `ヽ _,- '  .,.- '
    ´      ゙ >-  .l_ ノ ` --─i'~ヽт'  ̄
           /   ,゙          !  ヽ,
          ノ   .,゛        !   ヽ
         '、  _ノ         ヽ、 _ノ ゙、 。 o.
          ` ´       ゚ σ⊂ 。_ヾ、),.'゚- 。
                     。  <_., 、-`つ ゙

Name: Anonymous 2008-06-27 0:28

All criticisms of PHP are true.

Name: Anonymous 2008-06-27 1:14

>>8
thatsbecauseEXPERT /prog/rammerscanstilluseshitLANGUAGES

Name: Anonymous 2008-06-27 1:40

>>2
Also, the online language reference is very good indeed.
Of course it's good. The fact that they have a million of functions to do the same thing (with subtle differences among them) and parameters that are inconsistent across those functions ensure that you will have to use php.net a lot to get anything done.

Name: Anonymous 2008-06-27 2:01

>>14
Not to mention inconsistent naming conventions, fake lambda, strings as code without explicit eval...

Name: Anonymous 2008-06-27 2:27

>>15
functions which return arrays cannot be indexed syntactically1, some functions are syntactic keywords2...


1 Example: foo = bar(zot)[0];
2 what's the point?

Name: Anonymous 2008-06-27 2:27

>>16
I meant $foo, but, whatever.

Name: Anonymous 2008-06-27 2:28

>>16
Lack of tuples or pairs.

Name: Anonymous 2008-06-27 6:05

>>18
No language needs either (which explains why Haskell has both).

Name: Anonymous 2008-06-27 6:25

>>15,16
this is why we should be using ecmascript. seriously, it's fucking 2008, why the fuck hasn't anyone come up with a decent way to use ecmascript for server-side scripting?

Name: Anonymous 2008-06-27 6:25

>>15,16
this is why we should be using ecmascript. seriously, it's fucking 2008, why the fuck hasn't anyone come up with a decent way to use ecmascript for server-side scripting?

Name: Anonymous 2008-06-27 6:31

ecmascript for server side scripting,you never heard of ajax?

Name: Anonymous 2008-06-27 6:51

>>20-21
Same persion

Name: Anonymous 2008-06-27 7:38

>>21

well, there is spidermonkey. I wouldn't call it decent, though.

--($:~)-- smjs
js> print('w00t');
w00t
js> quit()

--($:~)-- smjs -v
JavaScript-C 1.7 pre-release 3 2007-04-01
usage: js [-PswWxCi] [-b branchlimit] [-c stackchunksize] [-v version] [-f scriptfile] [-e script] [-S maxstacksize] [scriptfile] [scriptarg...]

Name: Anonymous 2008-06-27 7:45

PHP is a very good template language. So it's very good if you want to make a simple site with some dynamic content, for example including the current time or including other files, so you can seperate the actual content from the header and footer of your pages.

It's also very easy to learn. A simple hello world program is just:
<?php echo "hello, world";?>

However it is a very bad programming language. So if you're building larger websites, e.g. anything with a database, you shouldn't use PHP.

Name: Anonymous 2008-06-27 8:43

Name: Anonymous 2008-06-27 13:21

>>25
Hello world in PHP is just hello, world outside of PHP tags.

Name: Anonymous 2008-06-27 13:37

>>25
Then what would you recommend as a programming language to use with a database for online applications. Don't say Python.

Name: Anonymous 2008-06-27 13:58

>>28
FIOC

Name: Anonymous 2008-06-27 14:00

>>28
Then what would you recommend as a programming language to use for operating system kernels. Don't say C.

Name: Anonymous 2008-06-27 14:02

>>30
Haskell

Name: Anonymous 2008-06-27 14:02

>>28
Well there's a number of options. You could build it using something like the popular Django framework, or you could do it from scratch using FIOC technology.
Any language designed by Guido van Rossum should be fine to use, too.
Maybe write something with Google App Engine, I hear it's pretty nice.

The important thing is to stay away from Java and RoR, really.
I don't mind modern PHP that much as a language, just stay away from any form of PHP 'community', PHP users can't code worth shit.

Name: Anonymous 2008-06-27 14:04

>>28
Arc

Name: Anonymous 2008-06-27 14:12

>>26
>>21 said decent.

Name: Anonymous 2008-06-27 17:48

FIOC technology
I smiled.

Name: Anonymous 2008-06-27 21:10

>>32
Python seems weird, compared to a lot of programming languages.

Name: Anonymous 2008-06-28 0:11

>>36
Every programming language seems weird compared to a lot of programming languages.

Name: Anonymous 2008-06-28 1:12

>>35
Do you like smiling?

Name: Anonymous 2008-06-28 5:22

>>38
A beautiful smile is always in style :-)

Name: Anonymous 2008-06-28 6:26

>>25
<?fact
Php is very good copy and paste language because there are a lot of examples on the Internet, most of them using some primitive "template systems".

PHP is very bad programming language because you actually have to have some brain to program something.
?>
Google App Engine <- lmao, I'd rather use jaxer then this RoR wannabe.

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