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

Pages: 1-4041-

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.

Name: Anonymous 2008-06-28 14:40

>>36
Python seems very elegant compared to a lot of programming languages.

It's perfectly clear if you've ever written C. It will look familiar if you've ever written BASIC. If you're not an idiot you'll be able to jump right in from Java (But then again, if you're not an idiot, why on earth were you using Java in the first place?) It might even be sort of grokkable if all you've ever written is Lisp.

The only somewhat common language I'd honestly believe you'd have a problem coming in from would be C++. But then again, C++ programmers have irregular and arcane syntax permanently fused together with basic programming concepts in their brains, and will never amount to much anyway.

Now Ruby, there's a beast from another world. I don't object to any specific feature, but when it all comes together it seems so horribly unstructured to me. Some kind of Perl-Smalltalk mish-mash. What are you going to do with such a silly-putty language, throw clumps of it at the problem until something sticks?

Name: Anonymous 2008-06-28 15:17

Scheme seems very elegant compared to a lot of programming languages.

It's perfectly clear if you've ever written Common Lisp. It will look familiar if you've ever written Dylan. If you're not an idiot you'll be able to jump right in from RLisp (But then again, if you're not an idiot, why on earth were you using RLisp in the first place?) It might even be sort of grokkable if all you've ever written is Dylan.

The only somewhat common language I'd honestly believe you'd have a problem coming in from would be Arc. But then again, Arc programmers have irregular and arcane syntax permanently fused together with basic programming concepts in their brains, and will never amount to much anyway.

Now CLOS, there's a beast from another world. I don't object to any specific feature, but when it all comes together it seems so horribly unstructured to me. Some kind of Flavors-Common LOOPS mish-mash. What are you going to do with such a silly-putty language, throw clumps of it at the problem until something sticks?

Name: Anonymous 2008-06-28 19:44

>>42
What are you going to do with such a silly-putty language, throw clumps of it at the problem until something sticks?

Valid Lisp development methodology.

Name: Anonymous 2008-06-28 20:37

>>43
What did you think was going to happen, /prog/?

Did you think you were going to hit your project with that ball of Lisp, and little, recursive lambda expressions would come pouring out?

Name: Anonymous 2008-06-28 21:44

>>44
I thought I was going to leverage Lisp's REPL and dynamic nature to develop my program through many quick iterations. So, "yes". :(

Name: Anonymous 2008-06-29 0:54

>>41
It seems. Doesn't mean it is.

Name: Anonymous 2008-06-29 19:28

>>46
What is the difference?

Name: Anonymous 2008-06-29 19:43

>>46
Learn to ducktyping

Name: Anonymous 2008-06-29 19:56

Name: Anonymous 2008-06-30 1:17

>>9
it's pretty good now, but it will have to remain POWERED BY BBCODE for the near future because writing a lexer or trie in php would suck so much

Name: ​​​​​​​​​​ 2010-10-23 11:04

<

Name: Anonymous 2010-12-28 2:27

Name: Anonymous 2011-02-04 11:32

Name: Anonymous 2011-02-18 14:13

dubz

Name: Sgt.Kabukiman밊欓 2012-05-24 9:42

All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy

Name: bampu pantsu 2012-05-29 3:58

bampu pantsu

Name: Anonymous 2013-01-19 23:10

/prog/ will be spammed continuously until further notice. we apologize for any inconvenience this may cause.

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