It's official: Javascript sucks harder than PHP

The surprise outcome of last nights webtuesdayJavascript sucks harder than PHP. I still can’t quite believe it.

Maarten took the PHP corner against me in the Javascript corner, both of us shamelessly advocating each language under various headings – 1 minute max per topic – no outright lies although often bordering on truthiness. Verdicts provided by the audience, based on who could shout loudest from a choice of “OK – 0 points”, “Annoys – 2 points”, “Sucks – 4 points”, “Sucks hard – 6 points” and “Blows – 8 points”, with help from the Suckometer (thanks to the Net-Policy team for QWizard).

Now this might not sound very scientific. For starters, how can you compare PHP (server-side) to Javascript (client-side) – apples to pears? But it’s not quite so black and white, as you’ll see from the slides – there is server-side Javascript just as there is client-side PHP. And if you ignore that distinction and focus more purely on their respective merits as programming languages, there’s plenty of room for comparison. Meanwhile you might argue that a secret ballot is essential for impartial rating but that misses the opportunity for one angry coder to remind everyone just how bad it all is.

And we had some very experienced hands in the audience (many knowing both languages intimately as well as Java, C, C++, Ruby, Perl etc.) but still stunned by the final verdict: that Javascript sucks harder – I thought I’d clinched it with CSS selectors for dependency injection but by using a negative rating system, hype and buzzwords were quickly slaughtered – it became a process of catharsis in which the “winner” was the one that came out hurting less – this is the new language advocacy! ;)

Many thanks to our hosts Amiado.

Replay

Category: programming Time: 2006-10-11 Views: 2
Tags:

Related post

  • Why is Python slower than Java but faster than PHP 2012-05-03

    I have many times seen various benchmarks that show how a bunch of languages perform on a given task. Always these benchmarks reveal that Python is slower then Java and faster than PHP. And I wonder why is that the case. Java, Python, and PHP run ins

  • Localizing JavaScript Strings in a PHP MVC Framework 2013-11-15

    Today, I am going to show you how to efficiently localize your Javascript strings within your PHP Framework. You can download a working implementation of this tutorial here. There are actually several methods to localize Javascript strings in a PHP e

  • How can I integrate pages written in something other than PHP? 2011-10-31

    In a WordPress blogsite, I'd like to add additional functionality but write it something other than PHP if possible, Python for example. For example, I'd like to create a self-scheduling page for a business so that clients can choose appointment time

  • How to get javascript variable value in php 2012-03-20

    I want the value of javascript variable which i could access using php. i am using the code below but it doesn't return value of that variable in php. // set global variable in javascript profile_viewer_uid = 1; // php code $profile_viewer_uid=$_POST

  • What is the official JavaScript logo/icon? 2012-09-09

    Is there an official JavaScript logo/icon or there is no official logo or icon at all? If not, which icon do you consider to be the most representative when refering to JavaScript? I am just curious, because PHP has an recognizable icon, perl has, ru

  • Enqueue javascript that inserts custom php widget into jQuery-constructed div 2015-03-31

    What I need done: The mobile menu on the site (let me know if you want to see the dev site, so I don't get marked as spam for posting the link) is loaded by a script that hides the main menu when the browser width falls below 1030px. Before then the

  • Why do ruby and python seem to have more community contribution than PHP? 2011-07-06

    In a recent blog post by Roy Osherove, it is pointed out that his switch from primarily .Net development to ruby development has seen a huge difference in community involvement and really enjoys it. The quote that spawns this question is : there is n

  • Is that posible to convert a JavaScript variable to a PHP variable? How? 2012-01-14

    I would like to use a javascript variable that was returned to me by a videoel.getCurrentTime function and convert it to a php variable for me to able to add it up to my SQL Insert Query like INSERT INTO tblData VALUES ('$phpVarFromJavascript'); ----

  • Should PHP view files be called something other than '.php'? 2012-02-08

    By default, any file that PHP touches is usually suffixed with .php. It's universally understood by Apache / Nginx as the default for PHP files and most setups expect PHP files to end in this extension. In short, .php is the standard for everything P

  • Free PHP, HTML, CSS, JavaScript editor (IDE) - Codelobster PHP Edition 2012-05-18

    For valuable work on creation of sites you need a good comfortable editor necessarily. There are many requiring paid products for this purpose, but we would like to select free of charge very functional and at the same time of simple in the use edito

  • How to point "add_menu_page" to HTML file rather than PHP function 2012-08-09

    I added a new menu item for my plugin like this: add_menu_page( 'Control Panel', 'My Plugin', 'manage_options', 'control-panel', array($this, 'control_panel_page'), plugins_url('/images/menu_icon.png', __FILE__) ); public function control_panel_page(

  • why is making a bootable usb stick harder than making a bootable cd 2013-10-01

    I am looking to make a bootable usb stick on mac osx, so i can install an operating system on my eee pc. However, it seems making a bootable usb is much harder than a cd. May I ask why ? many thanks --------------Solutions------------- If you're usin

  • create a really long string with javaScript more efficiently than this 2013-10-22

    so, I am pretty new to this game, and am trying to understand javaScript way better than I currently do. I have this block of code, if it is too long to read, then just skip to my question at the bottom... function createCSSRule(selectorName, necessa

  • One cpu core working harder than the rest 2014-06-04

    I have seen that with my AMD A8 cpu one of the cores is working harder than the rest. See below: The running processes: Does any one know if this is a problem or just a natural assurance. --------------Solutions------------- This is perfectly normal.

  • On Our Radar This Week: Does JavaScript Suck? 2014-08-15

    Animating CSS and making it last. Alex caught our attention this week with a challenge to recreate this GIF image using just HTML and CSS, where a green square morphs to a blue triangle and then to a red circle. It's quite the challenge, which has me

  • Given a subset of numbers and subset of sums. Match the numbers to sums.(Harder than appears) 2014-09-28

    I'm not sure what the most efficent solution to this algorithm is. I'm not sure this fits exact cover, and approaching it via exhaustive backtracking seems somewhat inefficient. Any suggestions on how to approach this? There are 210 Invoices and 1700

  • I need help implement a Javascript code into the PHP file 2016-05-10

    I need help implementing a Javascript code into my PHP file that would replace the default search box with a new one. Do I have to use echo? How would it look like? Thanks in advance or your help, I've been trying for hours now. $(function () { $('a[

  • Set WP_MAX_MEMORY_LIMIT higher than PHP.ini memory_limit 2016-07-12

    I've read here, but I want to ask if I have understood this correctly. We have a server in which WordPress admin needed more memory. The PHP memory_limit, in PHP.ini, is set to 256M, and so was WP_MAX_MEMORY_LIMIT in wp-includes/default-constants.php

  • Is HTML5/JavaScript more secure than Flash/Java, as the browser becomes more like an OS? 2015-11-29

    I have been asked to post this here: I want to focus on the security of the end-user in these two different scenarios: 1) Pre HTML 5 where the applications and so on lived in plug ins outside the browser sandbox by way of Flash and Java installed and

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 3.290 (s). 13 q(s)