Top 10 programming languages for 2016

twhitehead

Well-Known Member
Joined
Aug 23, 2010
Messages
135
Doesn't make sense. Assembly language is as popular as JavaScript?

99% of JavaScript developers are categorized as Web Developers and as such do not get on the list. The reality is that JavaScript is by far the most use language.
 

Rouxenator

Dank meme lord
Joined
Oct 31, 2007
Messages
39,408
Except that JavaScript isn't a real language.
You can do pretty awesome things with it though. I remember the one time I created a page that would replay multiple GPX files on a map, kinda like the FlyBy feature in Strava. I used the settimeout() method to fire a play method in objects that got created for each GPX you added. It was like pseudo multitasking in JavaScript. Fun times.
 
Last edited:

Hamster

Resident Rodent
Joined
Aug 22, 2006
Messages
37,786
Enterprises aside, this is probably way more accurate with regards to trends:

http://githut.info/

JavaScript
Java
Python
CSS
PHP
Ruby
C++
C
Shell
C#
Objective-C
R
VimL
Go
Perl
CoffeeScript
TeX
Swift
Scala
Emacs Lisp
Haskell
Lua
Clojure
Matlab
Arduino
Makefile
Groovy
Puppet
Rust
PowerShell
 

Bubble101

Active Member
Joined
Apr 12, 2010
Messages
43
@Hamster - I'm not getting in bed with IBM nor Java, but am a beginner in trying out development for production applications (yes...web ones), so have nothing to lose.

I've done the theory (BSc) and now the real stuff starts... So I feel comfortable to ask as a beginner ;)
I considered JS on server-side, but after lots of reading decided not to since I stil want to stick to mySQL for db. Definitely JS on client-side.
That leaves the server-side to decide...PHP, yes, I've done it, but this thread (threat ;) ) and others pretty much rules that out.
I've done C++ (in my studies) and want to attempt Java, so that leaves Java :) ?
Good start?
 

Hamster

Resident Rodent
Joined
Aug 22, 2006
Messages
37,786
@Hamster - I'm not getting in bed with IBM nor Java, but am a beginner in trying out development for production applications (yes...web ones), so have nothing to lose.

I've done the theory (BSc) and now the real stuff starts... So I feel comfortable to ask as a beginner ;)
I considered JS on server-side, but after lots of reading decided not to since I stil want to stick to mySQL for db. Definitely JS on client-side.
That leaves the server-side to decide...PHP, yes, I've done it, but this thread (threat ;) ) and others pretty much rules that out.
I've done C++ (in my studies) and want to attempt Java, so that leaves Java :) ?
Good start?
I don't get your "no js server side because mySQL" comment.

Client side JS is a given

Server side - depends what you are doing. You can't really go wrong with Java even though I'd rather scrape out my eyeballs and feed them to the dogs
Node, Go and Rust are newer more modern options to look at though so personally I'll start with those.
 

Bubble101

Active Member
Joined
Apr 12, 2010
Messages
43
It would help if I actually set my notifications to see when you clever guys reply :) sorry for being late.
My no js server side comment: During my info overload reading many sites suggest that if your project will be data heavy and run on sql db, rather don't do JS on the server side. Any comments?
I will Go check it out :) not familiar with it.
Places/sites for beginners on node? http://code.tutsplus.com/tutorials/learning-server-side-javascript-with-nodejs--net-10044 perhaps
 

FarligOpptreden

Executive Member
Joined
Mar 5, 2007
Messages
5,396
It would help if I actually set my notifications to see when you clever guys reply :) sorry for being late.
My no js server side comment: During my info overload reading many sites suggest that if your project will be data heavy and run on sql db, rather don't do JS on the server side. Any comments?
I will Go check it out :) not familiar with it.
Places/sites for beginners on node? http://code.tutsplus.com/tutorials/learning-server-side-javascript-with-nodejs--net-10044 perhaps

Many global enterprises are moving over to Node. Is Netflix "data heavy"? I'd assume so. So if they can make the move to Node, why can't you?

Also read up some recent articles and benchmarks on NoSQL databases, specifically MongoDB. They are improving in leaps and bounds and also have a client portfolio worth noting.

Best to gain a thorough understanding of web applications before deciding which tech stack works best for you. I've been building enterprise and web apps for 11 years now using ASP.NET / MVC / C# / SQL Server, Java / Spring / Oracle / MySQL and recently the MEAN (MongoDB / Express / Angular / Node) stack. The principles between them are exactly the same and I don't really have a preference either way, they're all useful.
 

Hamster

Resident Rodent
Joined
Aug 22, 2006
Messages
37,786
It would help if I actually set my notifications to see when you clever guys reply :) sorry for being late.
My no js server side comment: During my info overload reading many sites suggest that if your project will be data heavy and run on sql db, rather don't do JS on the server side. Any comments?
I will Go check it out :) not familiar with it.
Places/sites for beginners on node? http://code.tutsplus.com/tutorials/learning-server-side-javascript-with-nodejs--net-10044 perhaps
A lot of people are moving towards node and like the previous guy said there are some big names using it. There are certain limitations though, for example node is single threaded.

We considered using it on the bank's trading platform and eventually only wrote the API external vendors talk to in it...and we'll be replacing it soon. The reason being that it is a pain on a windows server (npm filepaths too deep etc) and that we're convinced Go can do just as well if not better a job for that layer.

I might get flack for this but when you require a bit more complex heavy lifting node isn't your answer.
 

EtienneK

Expert Member
Joined
Mar 22, 2007
Messages
3,985
This thread :whistling:

So much hate for Java - which is very strange, because the Java of 2016 is not the Java of 2000. Seriously, this is what Java has become:

Code:
import static spark.Spark.*;

public class HelloWorld {
    public static void main(String[] args) {
        get("/hello", (req, res) -> "Hello World");
    }
}

That's a fully functioning web server. Even Spring has gotten with the times:

Code:
package hello;

import org.springframework.boot.*;
import org.springframework.boot.autoconfigure.*;
import org.springframework.stereotype.*;
import org.springframework.web.bind.annotation.*;

@Controller
@EnableAutoConfiguration
public class SampleController {

    @RequestMapping("/")
    @ResponseBody
    String home() {
        return "Hello World!";
    }

    public static void main(String[] args) throws Exception {
        SpringApplication.run(SampleController.class, args);
    }
}

Those are 2 fully functioning, REST service in a few lines of code. No app servers required.

Seriously, great things are happening on the JVM. You guys that were scared away must really come and see what is happening, because it is wonderful!
 

Hamster

Resident Rodent
Joined
Aug 22, 2006
Messages
37,786
Well this is Go's version without any special frameworks like spark or spring you are using in Java:

Code:
package main

import "net/http"

func main() {
	http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
		w.Write([]byte("Hello World!"))
	})

	http.ListenAndServe(":8080", nil)
}

/pissing contest
 

EtienneK

Expert Member
Joined
Mar 22, 2007
Messages
3,985
Well this is Go's version without any special frameworks like spark or spring you are using in Java:

Code:
package main

import "net/http"

func main() {
	http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
		w.Write([]byte("Hello World!"))
	})

	http.ListenAndServe(":8080", nil)
}

/pissing contest

Never said Go was a bad language. Just said that you guys are dismissing Java / The JVM way too easily.
 

cguy

Executive Member
Joined
Jan 2, 2013
Messages
6,985
Code:
#include <stdlib.h>   // card > aek.ppm
#include <stdio.h>
#include <math.h>
typedef int i;typedef float f;struct v{
f x,y,z;v operator+(v r){return v(x+r.x
,y+r.y,z+r.z);}v operator*(f r){return
v(x*r,y*r,z*r);}f operator%(v r){return
x*r.x+y*r.y+z*r.z;}v(){}v operator^(v r
){return v(y*r.z-z*r.y,z*r.x-x*r.z,x*r.
y-y*r.x);}v(f a,f b,f c){x=a;y=b;z=c;}v
operator!(){return*this*(1/sqrt(*this%*
this));}};i G[]={247570,280596,280600,
249748,18578,18577,231184,16,16};f R(){
return(f)rand()/RAND_MAX;}i T(v o,v d,f
&t,v&n){t=1e9;i m=0;f p=-o.z/d.z;if(.01
<p)t=p,n=v(0,0,1),m=1;for(i k=19;k--;)
for(i j=9;j--;)if(G[j]&1<<k){v p=o+v(-k
,0,-j-4);f b=p%d,c=p%p-1,q=b*b-c;if(q>0
){f s=-b-sqrt(q);if(s<t&&s>.01)t=s,n=!(
p+d*t),m=2;}}return m;}v S(v o,v d){f t
;v n;i m=T(o,d,t,n);if(!m)return v(.7,
.6,1)*pow(1-d.z,4);v h=o+d*t,l=!(v(9+R(
),9+R(),16)+h*-1),r=d+n*(n%d*-2);f b=l%
n;if(b<0||T(h,l,t,n))b=0;f p=pow(l%r*(b
>0),99);if(m&1){h=h*.2;return((i)(ceil(
h.x)+ceil(h.y))&1?v(3,1,1):v(3,3,3))*(b
*.2+.1);}return v(p,p,p)+S(h,r)*.5;}i
main(){printf("P6 512 512 255 ");v g=!v
(-6,-16,0),a=!(v(0,0,1)^g)*.002,b=!(g^a
)*.002,c=(a+b)*-256+g;for(i y=512;y--;)
for(i x=512;x--;){v p(13,13,13);for(i r
=64;r--;){v t=a*(R()-.5)*99+b*(R()-.5)*
99;p=S(v(17,16,8)+t,!(t*-1+(a*(R()+x)+b
*(y+R())+c)*16))*3.5+p;}printf("%c%c%c"
,(i)p.x,(i)p.y,(i)p.z);}}

C++ Ray Tracer. So elegant...
 
Top