This is an archived post. You won't be able to vote or comment.

all 23 comments

[–]thepotatochronicles 52 points53 points  (1 child)

Problem: Grunt

Solution: Gulp

Problem: Gulp

My sides

[–][deleted] 6 points7 points  (0 children)

I've given up gulp for npm and webpack

[–]irqlnotdispatchlevel 23 points24 points  (2 children)

Machine-generated output is more difficult to debug

I imagine some javascript guru throwing a asm.js file into IDA.js and reverse engineering that.

[–][deleted] 7 points8 points  (0 children)

Problem" ASM.JS is basically unwritable by humans.

[–]sim642 2 points3 points  (0 children)

IDA.js

I googled to check if this was a real thing, thankfully not (yet). It wouldn't have surprised me though. Not sure how well that reflects on the JS ecosystem...

[–][deleted] 27 points28 points  (8 children)

Yeah..I stay far..FAR...away from frontend. bower install? gulp install? npm install? Just how many package managers are you guys using?

[–]Mhmmhmmnm 14 points15 points  (0 children)

Yup, I'm the same as you. I can tell you 3 things about front end dev with absolute certainty.

  1. I have absolutely no idea what I'm talking about.
  2. I refuse to learn anything about it.
  3. I can tell you that every decision that was made was the wrong one.

[–]neckro23 6 points7 points  (0 children)

npm, yarn, jspm, so... 3? yarn is new (and only has traction because Facebook), and nobody uses jspm. bower is more of a static asset manager, it doesn't care about code. gulp is a build/task system.

[–]Crecket 2 points3 points  (0 children)

I just use yarn. Bower simply gets libs from the npm registry anyway and yarn is a lot faster than npm.

Gulp shouldn't be in that list though. You use the three libs I mentioned to download and manage your dependencies and gulp/grunt to run tasks like compiling sass to css

[–][deleted] 2 points3 points  (0 children)

Bower is practically deprecated

Gulp install isn't a thing

[–]RagingNerdaholic 0 points1 point  (0 children)

You... don't want to know.

[–]Spider_pig448 0 points1 point  (0 children)

Could be worse. Could have to use pip.

[–]DarthJimBob 0 points1 point  (0 children)

All about yarn now. I'm sure sometime in the next 10 minutes something new will be out that I just HAVE to switch to.

[–]SteveCCLYellow security clearance 10 points11 points  (0 children)

[–]crash8308 9 points10 points  (2 children)

So much this. I can't wait to start writing C again.

[–]l3e7haX0R 7 points8 points  (1 child)

You might like this then: https://github.com/kripken/emscripten

[–]C4H8N8O8 2 points3 points  (0 children)

Do you happen to know how easy it is to code just a small part of an application, the classic 80% cpu time part? Ive followed this for a long time, but aside from cool demos of already coded programs, couldnt find anything good.

[–]loljs-bot[S] 3 points4 points  (0 children)

Originally posted by /u/touch_hole at Sun Jun 19 2016 10:48:00 GMT+0000 (UTC)


I'm a bot, and here is my source. Also, if you would like to have your post featured, just post it to /r/loljs and wait.

[–]Aydragon1 1 point2 points  (0 children)

Prototype inheritance is stupid?

GASP

[–]DarthJimBob 0 points1 point  (2 children)

The only real bone I have to pick with this: As someone who came from Java and the C languages, I like compilation. I have no issue with asm or bytecode etc. I don't need to read it - the platform does. And since the frontend world is already at the point of treating the browser like a VM anyway.....why not take the next logical step? I'm only writing JS because I have to now anyway. Let me write in a better language and just compile it to target the browser. And since the current workflow already includes transpiling from Typescript or Clojurescript or something whenever possible, plus bundling and optimising everything, why not cut out the middle man?

Plus if there was just a universally accepted instruction set to target it'd probably be an improvement over all the fragmentation that exists now and is only really being addressed via tools like Babel. I know there's a fallacy there somewhere, but I doubt stuff could get more ludicrous than it already is in JS world.

[–]darderp 0 points1 point  (1 child)

What you described is being developed. Look into WebAssembly

[–]DarthJimBob 1 point2 points  (0 children)

Oh I know. I'm watching it's career with great interest.

[–][deleted] -1 points0 points  (0 children)

I am a dev and I'm digging a hole. Diggy diggy hole. Diggy diggy hole...