Added: 2 years ago
From: mrbrdo
Views: 21,401
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (80)

Sign In or Sign Up now to post a comment!
  • adrian is wrong

    people don't get into php because they want a job

    people get into php because they want to do web programming, a niche for which php is particularly well suited.

    they use java because they drink the cool-aid

    they do python, perl, ruby and lisp because they love them, and they see the beauty others fail to see

    they do c++ because they want the raw, overwhelming(to the less skilled) power

    i personally love perl, but for web stuff i use php

  • @sabin97 very well written and I agree with you man

  • Java isn't a scripting language. Hard to compare it to the other 3.

  • @heroclix0rz That's a total fail statement. Perhaps you can argue that PHP is more of a scripting language than Java, but for the other two you can't say that at all. Ruby and Python are NOT scripting languages. They are general purpose languages just like Java, and Python and Ruby 1.9 both compile to bytecode just like Java.

  • @mrbrdo "Ruby and Python are NOT scripting languages."

    .....um.....I can't tell if you're serious. Python is an interpretive, dynamic language used for scripting. Same for ruby. You're right, python, ruby, java and every single other language makes it to bytecode. That's the only thing the computer can read. But Java is compiled whereas python, ruby and php are not.

  • @heroclix0rz No, that is simply not true. Not every language compiles to bytecode. Many if not most interpreted languages will be interpreted directly into an AST and the AST will then be executed. One example of this is the Ruby 1.8 (MRI) interpeter which does not compile to bytecode. Also claiming that a computer can read (understand, execute, whatever) bytecode is ridiculous. This is simply not true. Python and Ruby are compiled into bytecode exactly like Java.

  • @heroclix0rz And furthermore if you claim Ruby or Python is a scripting language, then by definition Java fits just as well. Though it is more common in Java, Python apps can be shipped in bytecode only too. Moreover Java apps cannot run without the Java VM, just like Ruby apps cannot run without the Ruby VM (Ruby 1.9 YARV = Yet Another Ruby VM). By definition a script is ran by another program. The only real difference is in Java manual BC precompilation is required while it's optional in R/P.

  • @mrbrdo Instead of arguing with you further I'm just going to point you to the Wikipedia article: List of Programming Langs by Category - Scripting Languages. (which I promise I haven't edited lol). Tell me which of these languages is on the list and which one is not. Then, go to Compiled Languages and tell me which of these is on the list and which three are not. Again, this page remains exactly as I found it.

  • @heroclix0rz If a language can be used in a scripting fashion it does not mean it cannot be used for general-purpose programming or that you can degrade it into a scripting-only language, which you are trying to do. If you want to look at Wikipedia, then look at Ruby and Python pages and see where it says they are scripting languages. And don't hang on a thing Matz said about Ruby 10 years ago. Back then, it was much more a scripting language than it is today.

  • @heroclix0rz By the way the definition of a "scripting language" is so vague you could say almost any language is one. The only reason R/P look more like scripting languages to you is because precompilation is not mandatory like with Java, and that Java is strongly typed while these languages are duck typed, which makes scripting with them much more feasible. In most other respects the languages and their compilers/interpreters are very similar. But you're obviously a Java fanboy so nevermind.

  • @mrbrdo cool, ok, so you just did most of the arguing for me. Now you just have to agree that python and ruby are more commonly used for scripting than java and my original statement holds true. Also, you just lost all credibility by making assumptions and name calling. Obviously a java fanboy? Go away.

  • @heroclix0rz Look dude, your original statement is just wrong. Even if we would agree it MAY be hard to compare Java to Python, it has nothing to do with Python being a "scripting language" (which it is not, anyway, if you'd read the wiki article). The only thing that would make Java hard to compare to Python is the strong typing vs. duck typing. You just have no idea what you're talking about.

  • @mrbrdo "Like other dynamic languages, Python is often used as a scripting language, but is also used in a wide range of non-scripting contexts." - Wikipedia on Python

    "Some of its key distinguishing features include: ...embeddable within applications as a scripting interface" - Python's 'About' Page

    And btw, Java is not strongly typed. Casting breaks the rule.

  • @heroclix0rz Oh please... Go read a programming book. "Java, C#, Ada and Pascal are often said to be more strongly typed than C"

  • @mrbrdo Do you realize that aside from the debate, you come off as a total douche? Just letting you know. If that's what you were going for then nvm.

    You are correct. Java is strongly typed. I was under the impression that casting and coercion broke the rule, but you are correct. It has to be implicit casting to break the rule.

    So anyway, my original post is still 100% correct. Yes, if you use a lang to script it is a scripting lang. That said, who uses java to script?

  • @heroclix0rz Are you trying to imply that Adrian or Daniel were "scripting" when they made Django and Ruby on Rails? Are you trying to imply that someone who is developing a web page in Django or Rails is scripting, while someone using Struts or Play in Java is programming?

  • @mrbrdo Good question, no. I am asserting that Square->Rectangle and you are under the misunderstanding that Rectangle->Square. Just because python and ruby are common scripting languages does NOT imply that all programs written in the language are scripts. As for struts and play, these are frameworks. You don't build a framework out of scripts lol. You can use scripts along with these frameworks if you don't like using java. "Perl, Python, Ruby, JavaScript, Groovy, or VBScript" are recommended.

  • @heroclix0rz So Struts is a framework, but Django and Ruby on Rails are not?

    You did not phrase that correctly, Python and Ruby are not common scripting languages. They are languages that CAN be used for scripting. Do you even know what scripting is?

    And yes, you can build a framework out of scripts. For example, jQuery is a framework for Javascript, and it is a scripting framework that is made out of scripts. Scripts control other applications, in the case of jQuery they control the browser.

  • @mrbrdo Ok, again, languages used for scripting can be used to make things that are not scripts. You must agree with that statement to support your argument. A framework is, by definition, not created from scripts. Again from wiki: "'Scripts' are distinct from the core code of the application, as they are usually written in a different language and are often created or at least modified by the end-user."

    The core code being a framework. Like jQuery, Struts, or Play.

  • @heroclix0rz No, general purpose languages can be used for scripting. Because they are GENERAL PURPOSE, so you can do anything with them. On the other hand you CAN'T use pure scripting languages for general purpose programming. jQuery itself is a script because A) it is written in a different language than the browser B) it controls another application (the browser). Actually since Javascript is widely regarded a pure scripting language you could argue most of the code in JS are scripts.

  • @mrbrdo Ok, your first sentence was a restatement of my first sentence, so I don't know why you started with "No". Second, that's an interesting take on jQuery. On the one hand I would say it is just an abstraction layer/framework and therefore not a script. But it IS written in a language whose main purpose is scripting (javaSCRIPT) and it is an addon for a browser. None-the-less, this has nothing to do with python and ruby being languages that are commonly used for scripting. Continued...

  • @heroclix0rz Can you give me proof that Python and Ruby are commonly used for scripting (which means more than for non-scripting)? I myself do very little scripting in Ruby, so I find it hard to believe.

  • @mrbrdo I trust that you can provide proof that it is used for non-scripting more than scripting then?

    While I am sure that it is still used for scripting far more than non-scripting if not only on the basis that scripts are so much more easy to cough up, this is not what I said. Once again, python and ruby are used for scripting more than Java is. You keep reading that wrong, you must have a time debugging =P

  • @heroclix0rz Yes it would be a big stretch to say Java is a good language for scripting. However your original statement is still flawed, because Java not being (in general) a scripting language has very little to do with how hard it is to compare it to Ruby or Python. I do agree, however, that it is easier to compare Ruby to Python than to Java, but that is not due to anything related to scripting.

  • @mrbrdo All I'm saying is that when grouped together, Python, Perl, Ruby, etc are all put in the same boat and called scripting languages.

    And C, C++, C#, and Java are all put in another boat and labeled C-based.

    The word script isn't even used once on the Java wiki, while many listings for how Python is used as a scripting lang are provided.

    And I'm sure you saw this one from Matsumoto: "I wanted a scripting language that was more powerful than Perl, and more object-oriented than Python."

  • @heroclix0rz I told you already a few comments back, don't hang on something Matz said 10 fucking years ago about Ruby before it was even in mainstream use. And again your language division is flawed, for the first group you divide by usage scenario (scripting), and the second group you divide by syntax (C-based). It's just not a valid argument. It's not even an argument, it's just saying two different things. I don't know why you don't understand, Python is NOT a pure scripting language.

  • @mrbrdo Strike three. It's obvious you are deliberately ignoring every time I recognize python as much more than just a scripting language, and I don't feel like going in any more circles. So I'm done, you win if it helps you sleep later. Go troll someone else now, please.

  • @heroclix0rz "All I'm saying is that when grouped together, Python, Perl, Ruby, etc are all put in the same boat and called scripting languages." "every time I recognize python as much more than just a scripting language" Ok. Good night, sir.

  • @mrbrdo Let me try to rephrase this, because I still don't think we're on the same page. Scripting is a verb. If a language is used to script, then it is a scripting language in that situation. (If I jump, I am a jumping person). When I called python and ruby scripting languages and java not a scripting languages, I was implying that, if we could count the instances, I believe for every 1 time java is used to script something, python/ruby are used about 50 times. They are much preferred.

  • @mrbrdo On a side note, I ran across this line as I perused an internship application for Blizzard: "Experience programming in at least one scripting language (Lua, Python, Perl, etc.)"

  • @heroclix0rz Yeah, because Blizzard wants someone who will script for their game. They have an engine which includes an interpreter for one of these languages. It probably provides extra functions that can be called from scripts as well. This doesn't make the language a scripting one overall just because the interpreter can be embedded into other applications and thus making it possible to use it for scripting. Lua is a good example of a scripting language, it is rarely used in other manners.

  • @mrbrdo Also, the jvm and python interpreter are 'just in time' compilers. So the bytecode is actually machine code when it is run. This is not true for ruby though.

  • In my experience people want to learn php because they want to become web developers beyond the level of html. Once they finally learn php, they want to get as far away from it as possible and go to ruby.

  • my favorite is newlisp, I wish that more people will try it.

  • The only reason I learn any programming/scripting language is because I'm bored and logical thinking is fun to me...

  • i didn't learn java at a computer science course... i learned it cause is an easy and fun language to code in.

  • fukkin geeks

  • @juanflyromero get back to mcdonalds before they fire your bum ass

  • trite

  • I know and have used Java, PHP, and Python in jobs.

    I love Python, but the world is going multi-core and python is only going to get slower if it doesn't change with the times. Pypy shows some promise, but what we really need is something like blocks.

  • Oye amigo no sea egoista, traduzca este video al castellano que no te entendi ni una palabra.

    Gracias pues.

  • @hualmasi1981

    dice: con PHP se aprende para poder conseguir mas trabajos, con JAVA es porque se require en muchos cursos de informática, pero con Python se aprende porque te gusta y porque quieres experimentar con su belleza...

  • I wouldn't say people learn PHP because whey want to get jobs, that should probably be .net(C# / ASP:Net). People learn PHP because that are interested in programming and want to create something useful on their own.

    It's pretty true about Java though. I haven't tried Python that extensively but it seams more like the kindergarten variant of PHP or just pseudo code.

  • Totally subjective!

  • python is now the language at many introductory comp sci courses.

  • ive almost finished learning java =]

  • why is the guy nodding his head like hes sucking on cocks

  • $lang = anylang;

    if (learn($lang)==getjob($lang)){

    echo "it is much more popular, and has much more support";

    }else{

    echo "you are wasting your time, bro";

    }

    x)

  • @MrArabSon if (me.only_cares_about?(:job)) me.bad_programmer = true elsif (me.can_code_in?(:php) && rand < 0.9) me.can_copy_paste_10_years_old­­_code_from_google = true me.bad_programmer = true elsif (me.can_code_in?(:java) me.wraps_interface_around_ever­­ything = true me.writes_needless_xml = true me.bad_programmer = (rand < 0.5) ? true : false else me.bad_programmer = (rand < 0.8) ? false : true end
  • @mrbrdo

    $lang = $anylang;

    if (learn($lang)==getjob($lang)){

    if (!isset($LearnToGetJob)){

    echo "it is much more popular, and has much? more support, that's why it gets you a job";

    }else{ die('never code a line again, seriously!!'); }

    }elseif ($Copy_Paste_boy) { die('or kill yourself before you kill your projects');

    }elseif ($UrFreeTime>0) { echo 'Have fun learning new things :)'; }else{ echo "you're wasting your time"; }

    x)

  • @MrArabSon To be honest, I can't respect a language which makes you put a dollar sign in front of any local variable name. But everyone is entitled to their own opinion :) Some PHP programmers are actually good, but probably less than 10% of them.

  • @mrbrdo think about it this way, why do we have software companies? you love this thing, I love this thing, maybe I'm not good enough in PHP but I really enjoy coding and love it, so .. why don't I make some money from what I love? .. this is how life works anyways.

    in my point of view, it's important to invest your time, not just use it. Learn new things all the way, and keep in mind that you'll use your knowledge one day :)

    BTW, thanks for this lil chat, I had fun :)

  • @MrArabSon Yes I agree, as long as you enjoy it, everything else doesn't matter. Thanks to you too ;)

  • @mrbrdo "To be honest, I can't respect a language which makes you put a dollar sign in front of any local variable name." Are you serious??? PHP is driving just about every blogging/CMS tool of renown in the world today, i.e. Wordpress, Joomla, Drupal not to mention MVC pardigms like Zend, Codeigniter, Symfony . PHP is a lot more potent than you give it credit for, and I speak as a man that programs in ALL computer programming languages.

  • @ezekielthemack So what? Popular language != good language. Try Python, Ruby, Scala, Go... and you'll see what I mean. And what does your argument have to do with putting a dollar sign in front of variable names? Do you have an excuse for that? It's just an ugly ugly language.

  • @mrbrdo You're making yourself look VERY stupid, because in this case Popular language = good language, which is precisely why PHP is the language of choice for many of today's MVC frameworks, as well as cms and blogging tools end of story. Your argument is so vapid, it's risible. Programming languages are not designed to be "pretty", they are utilised for their functionality and the last time I checked syntax "fashion shows" were not intrinsic to computer programming.

  • @ezekielthemack PHP has a non-intuitive syntax. You can call it a fashion show if you wish but non-intuitive things are not things I use. I fail to see your argument except popularity which has nothing to do with how good and intuitive a language is. I am not going to argue with PHP fanboys... Leave in your dream world, goodbye sir.

  • where can i find the complete interview?

  • @c11bmx djangoproject . com/snakesandrubies/

  • @c11bmx this part is in the Q&A section

  • Dont forget to mention that PHP and Web programming in general offer the lowest paying jobs in the IT sector now. But if you had to learn Web programming I would stick with ASP.NET because that's what the majority of enterprise level accounts use. PHP (LAMP) that's shits ghetto dude. Get over it.

  • @Damius yeah.. right. If you have some idea and you want to check it.. it's absurt to pay $5k for java/.net development when you can pay $1k and get the same site/service. php have own very big niche 'cause it cheap

  • @Damius you have no idea what are you talking about don't you?

  • @Damius I recruit in software dev and I rarely get requests for .NET developers. It's always Java, Ruby, C# and the like. .NET devs are a dime a dozen b/c the tools to develop in that framework make it so frickin easy: everybody starts with it. I think the guy on the video it the nail on the head.

  • The one thing I don't like about Python is that there's almost no error checking at all. Another thing might be since so much of Python has been thrown together from so many sources, sometimes the naming choices aren't that intuitive. Other than that, Python is an excellent language. Java and Python rank up there among my top two favorites.

  • DISagree

  • False. You learn ASP to get jobs. You learn PHP because you want to make web applications...

  • xhenxhe: maybe it depends on location, but where i'm at there is definately more jobs for php than for asp(.net)

  • I guess that may be the case now. Back when I learned php (abt 9 years ago) there were no *good* php jobs for several years.

    That's ok. I'm now happily employed developing Django apps and php was a nice footstool. :)

  • Glad you enjoy django! :) I mostly work with Ruby on Rails now, but both frameworks are good.

  • @xhenxhe ASP can suck my dick. It's obsolete, Microsoft are in their own little world and they can fuck off if they think they have a future with it.

  • @deejayedwards Agree. ;D

  • Of course you stop loving python as soon as you discover that there is a clear lack of documentation or documentation is not good enough.

    But I love both python and java.

    And yes python is easier to use.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more