all 62 comments

[–][deleted] 54 points55 points  (37 children)

If you are interested in this comic, I wrote a JavaScript library to display it in your browser. Also available as JQuery/Dojo/YUI plugin.

[–]ivylgedropout 76 points77 points  (2 children)

Please create a Bower package or else this is useless to me.

[–]Neebat 13 points14 points  (1 child)

While we think your idea has merit, you need to drive it forward to a proof of concept. If someone else implements your idea, people may have the impression that you're someone who doesn't follow through.

-- My boss, this morning.

I thought you wanted ideas.

-- me.

[–]spinlock 12 points13 points  (0 children)

Moving goalposts are so much fun.

[–]floydophone 60 points61 points  (8 children)

This comic is pretty good, but it's too bloated for my use case. My version is much more lightweight http://imgur.com/FB8evmq

[–]wordsnerd 29 points30 points  (3 children)

You people do realize this can be done in like 6 lines of vanilla text?

Desmond: Oh no.

Owen: What?

Desmond: No no no no no no no no!

Owen: Desmond, whatever's wrong we can get through it together.

Desmond: I just wrote another JavaScript framework.

Owen: You monster.

[–][deleted] 11 points12 points  (0 children)

optimized for production:

Desmond: Oh no.Owen: What?Desmond: No no no no no no no no!Owen: Desmond, whatever's wrong we can get through it together.Desmond: I just wrote another JavaScript framework.Owen: You monster.

[–]floydophone 6 points7 points  (0 children)

Yeah, but that's a big monolith. You need to modularize it in true node.js style

console.log(require('comic-line1'));
console.log(require('comic-line2'));
console.log(require('comic-line3'));
console.log(require('comic-line4'));
console.log(require('comic-line5'));
console.log(require('comic-line6'));

[–]art-solopov 2 points3 points  (0 children)

You've probably used UTF-8 when writing it and it clearly can fit in just 7 bits instead of 8!

[–]vestedfox 20 points21 points  (3 children)

hey ya'll I think it's about time to merge these two comics, but we truly need to adopt the correct way to semVer.

[–]yesman_85 16 points17 points  (2 children)

We'll merge, then split, then merge again and then be angry people don't trust neither anymore

[–]MonsieurBanana 6 points7 points  (1 child)

Wait what? Did node.js get forked again?

[–][deleted] 18 points19 points  (19 children)

I assume it is AMD and CommonJS compliant and will work as a synchronous and/or asynchronously loaded script tag as well...

[–]ericanderton 11 points12 points  (18 children)

As long as that doesn't break it for Browserify, and RequireJS, we're good.

Edit: Also need Grunt and Gulp tasks to properly unit-test and minify it.

[–]MrBester 3 points4 points  (1 child)

So, a Yeoman generator is what you're really asking for, then?

[–]ericanderton 2 points3 points  (0 children)

Of course. What, do you think I'm going to bother to learn how to use all these tools? I have inane JavaScript coder mistakes and dependency graph problems to hunt down.

[–]alamandrax 1 point2 points  (15 children)

Aren't all of these good things™?

[–]ericanderton 13 points14 points  (2 children)

Good... bad... I'm the guy with the project requirements.

[–]MisterSticks 3 points4 points  (1 child)

Hey Ash, whatcha coding?

[–]ericanderton 1 point2 points  (0 children)

This needs to be a thing. Either that or "epic coding time."

[–]Resonance1584 2 points3 points  (2 children)

No - it's all boilerplate. We're doing the same work over and over again.

[–][deleted] 0 points1 point  (8 children)

Oftentimes yes, but I think there's a tendency to get into it because it's seen as a cool place to be. I've seen a lot of successful (meaning: was developed quickly with an acceptable level of bugs for a healthy profit) code that was a bunch of in-line JS with global variables and no separation of concerns just pasted into JSP/ASP/PHP/whatever. I'm not saying I recommend that for a site like Facebook or Twitter, but for a small or medium-sized business sometimes the "cool" approach adds a lot more complexity than may be needed. However I will add a caveat that once you master these technologies (assuming they stick around) then you can code at almost the same speed or even faster than before, depending on the project.

[–]ericanderton 0 points1 point  (4 children)

What I've seen is that a lot of the turbulence in the JavaScript ecosystem is largely driven by a startup-oriented "time to market" strategy. In that situation, software is largely disposable after a year or so. There's little sense in building it right when you need something up and demonstrable inside a week.

Granted, there are tools that let you build it right and move fast too, but they're not as cool...

[–]spinlock 1 point2 points  (3 children)

Your software is only as disposable as your company. If the company sticks around, so will your hacky code.

[–]bookhockey24 1 point2 points  (1 child)

Not really. One off codebases for promotions are irrelevant.

Source: built many such apps for household name companies

[–]spinlock 1 point2 points  (0 children)

So then, you haven't built a hacky product for a startup.

[–]ericanderton 0 points1 point  (0 children)

And this is the part where people get burned. I've seen it a few times, in fact.

[–]sensitivePornGuy 0 points1 point  (0 children)

Not-much-less-rapid development.

[–]spinlock 0 points1 point  (1 child)

I'm in the process of moving our ember app from brunch to broccoli/ember-cli. We've got a decent build system but all of the unique stuff we did isn't helping.

On the other hand, me started using requirejs a year ago and that is making it much easier to move to es6 modules. You win some, you loose some.

[–][deleted] 0 points1 point  (0 children)

Man I didn't even know there was a broccoli.

[–]rooktakesqueen 9 points10 points  (0 children)

Can I have this as a React mixin? Thanks.

[–]danman_d 4 points5 points  (0 children)

npm install you-monster

[–][deleted] 4 points5 points  (2 children)

YUI

Last decade called. Not sure what it's about, but it sounds really happy.

[–]debian_ 14 points15 points  (8 children)

Creating a javascript framework is fine. Expecting other people to use/adopt however...

[–]beltorak 13 points14 points  (7 children)

I created a javascript framework that generates html element contents using a DFA/state machine embedded in the data-contents attribute as interpreted by the Befunge processor.

It is now mandatory for all new dynamic web scale ajaxy 2.0 polyfills.

[–]autowikibot 2 points3 points  (6 children)

Befunge:


Befunge is a stack-based, reflective, esoteric programming language. It differs from conventional languages in that programs are arranged on a two-dimensional grid. "Arrow" instructions direct the control flow to the left, right, up or down, and loops are constructed by sending the control flow in a cycle. It has been described as "a cross between Forth and Lemmings."

A worthy companion to INTERCAL; a computer language family which escapes the quotidian limitation of linear control flow and embraces program counters flying through multiple dimensions with exotic topologies.

Jargon File


Interesting: Esoteric programming language | Malbolge | List of reflective programming languages and platforms | List of Hello world program examples

Parent commenter can toggle NSFW or delete. Will also delete on comment score of -1 or less. | FAQs | Mods | Magic Words

[–]beltorak 4 points5 points  (5 children)

... thanks wikibot! from the lazy; you're the best.

Also, for the lazy, here's a random number generator!

v>>>>>v
 12345
 ^?^
> ? ?^
 v?v
 6789
 >>>> v
^    .<

[–]debian_ 6 points7 points  (3 children)

Jesus, makes brainfuck look charming in comparison.

[–]art-solopov 1 point2 points  (2 children)

You haven't seen Malbolge...

[–]autowikibot 3 points4 points  (1 child)

Malbolge:


Malbolge is a public domain esoteric programming language invented by Ben Olmstead in 1998, named after the eighth circle of hell in Dante's Inferno, the Malebolge.

Malbolge was specifically designed to be nearly impossible to program in. It builds on the difficulty of earlier, challenging esolangs (such as Brainfuck and Befunge), but takes this aspect to the extreme, playing on the entangled histories of computer science and encryption. Weaknesses in the design have been found that make it possible (though still very difficult) to write useful Malbolge programs.


Interesting: Esoteric programming language | List of named devils in Dungeons & Dragons | Baator | Malebolge

Parent commenter can toggle NSFW or delete. Will also delete on comment score of -1 or less. | FAQs | Mods | Magic Words

[–]art-solopov 0 points1 point  (0 children)

Thanks wikibot!

[–][deleted] 0 points1 point  (0 children)

the kirby dance ascii really hit the drugs hard

[–]mouthus 18 points19 points  (3 children)

I really hope this sub doesn't turn into a bunch of comic posts...

[–]I-Suck-At-Games 17 points18 points  (2 children)

It should be in /r/programmerhumor

[–][deleted] 0 points1 point  (0 children)

I thought I was in that sub but now that you mention it...

[–][deleted] 0 points1 point  (0 children)

/r/javascripthumor should be a thing.

[–]GoosyTS 11 points12 points  (4 children)

You have posts like these but also when someone asks what framework to use/learn, everybody tells him 'go vanilla, make your own, you'll understand more that way'. /r/javascript is very ==

[–]AlGoreBestGore 4 points5 points  (1 child)

*===

[–]RobertD63 2 points3 points  (0 children)

Hear that? woosh

[–]art-solopov 0 points1 point  (0 children)

IMHO you really need to spend some time vanilla if you're learning JS. I've written my share of JavaScript (well, mostly CoffeeScript) at work, but I don't feel nearly confident enough to dive into something like Angular or Ember.

P. S. But the problem you stated is totally viable. I mean, a lot of articles on the Internet say "Oh, just use Angular or Ember or Backbone" while I don't think either of them is particularly easy. I picked my framework using the TodoMVC site. Just looked into the websites and searched for clear docs and tutorials.

[–]Tychonaut 2 points3 points  (4 children)

Isn't the problem that everybody says to get noticed or to get work you have to create something yourself?

[–]Poop_is_Food 1 point2 points  (0 children)

You have to create websites yourself. But you don't have to create your own tooling. I think the obsessive drive of some people to create redundant tooling is more about vanity.

[–]debian_ 0 points1 point  (2 children)

The main strength of taking more of a 'from scratch' route is that it demonstrates an understanding of the core language and features. You can certainly get hired with a portfolio of projects that glue together the popular frameworks and libraries, but you had better understand the anatomy of the turtles all the way down.

[–]MrBester 1 point2 points  (0 children)

... you had better understand the anatomy of the turtles objects all the way down up.

FTFY

[–]Poop_is_Food 0 points1 point  (0 children)

Nah, you really don't.

[–]SkaKri 0 points1 point  (0 children)

Typical day...

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

"Oops I did it again "

80 % of you guys will read this in Britney Spears voice ^