r/programming • • Aug 10 '12

Write any javascript code with just these characters: ()[]{}+!

http://patriciopalladino.com/blog/2012/08/09/non-alphanumeric-javascript.html
1.3k Upvotes

288 comments sorted by

View all comments

Show parent comments

3

u/gigitrix Aug 11 '12

Right, yeah. Personally I try to stick in the heady clouds of JQuery et al., although I'd much prefer to be on the server side of things. PHP gets a lot of flak for things that are 10x less idiotic than the shambles that is JavaScript, yet despite the usual background noise it's considered the cool kid....

0

u/sebzim4500 Aug 11 '12

What exactly does Node.js do that is 10x more idiotic than what PHP does?

1

u/gigitrix Aug 11 '12

Node.js is fine, it's an interesting API with powerful features (well some concerns were raised over high end concurrency but I don't work in that space so I refuse to comment on that). But it's built on Javascript, a language that is designed horribly from the start. Yes, even more horrible than PHP. It was slapped together as a way to do DHTML rollovers and the like and is barely fit for purpose, only being usable because of third party frameworks like JQuery.

1

u/sebzim4500 Aug 11 '12

JQuery provides a layer of abstraction over the DOM, which has nothing to do with javascript as a language or with node.

→ More replies (0)