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

/prog/

Name: /prog/ling 2009-11-12 20:16

Hey guys, as a first prog language dealing with websites, should I learn Perl, PHP, or Ruby first?

Name: Anonymous 2009-11-12 20:25

PHP

Name: Anonymous 2009-11-12 20:55

COBOL

Name: Anonymous 2009-11-12 20:57

Ruby if it's a first.

Name: Anonymous 2009-11-12 21:07

JavaScript

Name: Anonymous 2009-11-12 23:36

Scheme

Name: Anonymous 2009-11-12 23:42

Erlang

Name: Anonymous 2009-11-12 23:52

HTML

Name: Anonymous 2009-11-12 23:59

PHP.

>>3-8
Trolls.

Name: Anonymous 2009-11-13 0:08

Why the hell would you learn Perl or Ruby?

Name: Anonymous 2009-11-13 0:48

SICP

Name: Anonymous 2009-11-13 0:50

MATLAB.

Name: Anonymous 2009-11-13 4:57

Lern Malbolge, MALBOLGE

Name: Anonymous 2009-11-13 4:58

Haskell

Name: Anonymous 2009-11-13 5:34

COBOL

Name: Anonymous 2009-11-13 5:36

INTERCAL

PLEASE

Name: Anonymous 2009-11-13 6:15

>>16
COME FROM MY ANUS

Name: Anonymous 2009-11-13 6:37

D

Name: Anonymous 2009-11-13 6:45

TURKEYBOMB

Name: Anonymous 2009-11-13 15:21

OP here, it seems the answer I was looking for was 'Perl, PHP, or Ruby'

Also would be nice for you guys to have a REASON for one or the other.

Name: Anonymous 2009-11-13 15:26

>>20
Choose Ruby to be hip and get all the cool programmer girlstransvestites or Perl for CPAN. NEVER USE PHP IF YOU AREN'T GETTING PAID TO USE IT, put simply, it's terrible and does virtually everything wrong.

Name: Anonymous 2009-11-13 17:51

>>20
PHP is THE web programming language.
if it's your first one, then you should learn it, no doubt.
ruby is for hipster faggots, and perl isn't really a web programming language at heart.

Name: Anonymous 2009-11-13 18:21

>>21
STOP HELPING HIM!!!

Name: Anonymous 2009-11-13 18:39

Ignore all the PHP hate. It is clearly the best language.

- Very easy to learn (Compare with Perl, it will take you years just to learn the syntax)
- Friendly user community with experts eager to help (compare with Perl, full of incompetent assholes, and Ruby, full of immature dicks).
- The best documentation for any language. Just type http://php.net/name_of_whatever_function and you get the documentation, right now, no effort (compare with Ruby... oh wait you can't, they have no documentation at all).
- Share-nothing architecture engineered to deliver perfect horizontal scalability. (I don't even have to name names here)
- Cpan is full of jokes packages (they have a whole NAMESPACE dedicated to those) and software that stayed at version 0.0.1 for years. When you use a PEAR module, you get the assurance that it's robust and actively maintained. Don't look at the numbers, look at the facts.

Name: Anonymous 2009-11-13 18:39

>>22,24
Hello Martin

Name: Anonymous 2009-11-13 18:42

>>24
are you seriously saying that PHP's library is better than CPAN?
wow. just wow.
PHP has a horribly disorganised library, it sucks. and this is coming from somebody who LIKES PHP.

Name: Anonymous 2009-11-13 18:53

>>24
Fantastic documentation like http://php.net/manual/en/function.abs.php (read comments)

Name: Anonymous 2009-11-13 19:05

>>27
It might seem like nitpicking for you, but if performance is an intergral part of the PHP culture, it is because it is crucial to serve the data as fast as possible. What used to fly in desktop programs would never be acceptable in a modern AJAX applications, especially if you factor in network latency.

Name: Anonymous 2009-11-13 19:06

>>27
how does i negate number?

Name: Anonymous 2009-11-13 19:07

From what I've seen, Java has the best documentation online.  Even some of the best C and C++ API websites I've encountered don't get as thorough.

Having said that, though, actually implementing Java can still turn into a chore.

Name: Anonymous 2009-11-13 19:08

>>28
And you do that by optimising CHANGING THE SIGN OF A NUMBER?

Name: Anonymous 2009-11-13 19:10

>>31
If it is performed a thousand of times on a page, you might save a dozen milliseconds per page served. If you serve hundreds of thousands of pages every day, eventually, those milliseconds add up to years.

Name: Anonymous 2009-11-13 19:12

>>32
If it is performed a thousand of times on a page,
2/10

Name: Anonymous 2009-11-13 19:13

>>31
That's why you should use Ruby instead. You can drop to C++ when the performance is not satisfactory, and use inline ASM in C++

Name: Anonymous 2009-11-13 19:21

>>32
You will need to serve 2.628 x 109 pages to save a year fwiw

Name: Anonymous 2009-11-13 19:36

>>35
That's the sort of short-sighted attitude that gave interpreted language the bad reputation of being slow. PHP don't deserve to be lumped with them.

Name: Anonymous 2009-11-13 19:59

You should learn the PHP HYPERTEXT PROGRAMMING language but not before getting a firm foundation with at least 12 years experience with ALGOL, BCPL, and Pascal.

Name: Anonymous 2009-11-13 20:53

Lua.


function lines (stmt)
  local cur = assert (conn:execute(stmt))
  return function ()
     return cur:fetch()
  end
end

<section>
  <% for id, name in lines "select id, name from column" do %>
  <article>
    <header>
      <h1><%= id %></h1>
    </header>
    <div>
      <p><%= name %></p>
    </div>
  </article>
  <% end %>
</section>

Name: Anonymous 2009-11-14 9:20

sure is flame in here

Name: Anonymous 2009-11-14 9:22

>>39
I don't think anyone wants to discuss seriously on a thread where PHP was even considered.

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