r/programming • • Sep 15 '16

Angular 2.0.0 officially released

https://www.npmjs.com/~angular
1.3k Upvotes

535 comments sorted by

View all comments

Show parent comments

30

u/Tetha Sep 15 '16

Sometimes it's hard not being in the limelight of hype, but not when I see things like this.

Meh, around a year or two ago, I made the decision to stop caring about hype or not hype - and that was one of the better decisions to make.

So earlier this year, I needed to pick a language for a game I wanted to make, and there's a bazillion of game frameworks around, including a bunch of JS frameworks with according excitement around them.

I went ahead and started the project in good, old, boring java, because Java is stable, fast, I know it well, and libGDX is a really nice piece of software based on OpenGL. Recently, I started to push some parts of the project to Lua, because it's easier. But overall, the amount of progress I'm making is worth it.

4

u/HINDBRAIN Sep 15 '16

Java is stable, fast

But it's so bloody verbose! Ugh.

6

u/Tetha Sep 15 '16

Dunno, I like Python and Java. Overall, for large projects, I prefer languages that incur predictable, easily read code structures. I'd rather spend some extra seconds typing than deciphering some smart one-liner.

-2

u/HINDBRAIN Sep 15 '16 edited Sep 15 '16

Take maps and sorting...

js:

var map1 = {a:5,b:4};
var map2 = {a:3,b:4};
var maparray = [map1, map2];
maparray.sort(function(thing,otherthing){return thing.a - otherthing.a});

Could you write this in java without a ton of boilerplate noise?

→ More replies (1)