Echo JS 0.11.0

<~>

kirilloid comments

kirilloid 326 days ago. link 1 point
I'd disagree with MaxArt.
There are more things which wouldn't be available in ECMAScript in the next few years:
- types
- all variables *and* object fields are immutable by default
- ADTs & pattern matching
- compile-time auto-currying

Block as expressions (`do` and others) are minor things as well as special keyword for recursive functions or Pascal-like range loops, which do not define key language features.

But I'm still not convinced the language is really useful. We already have tons of languages, including BuckleScript – an Ocaml specifically designed to be compiled into JS.
kirilloid 326 days ago. link 2 points
Author says that clojurescript is used by the most companies w/o even describing how this usage is performed. No TIOBE, github stars, so what then? Amount of mentions in job postings?
Apart from that good reasoning and points.
kirilloid 348 days ago. link 1 point
The only thing I don't like about AirBnB's style guide is that they blur the term "style guide" stuffing a lot more into their own.

But from standpoint of eslint rules it almost doesn't matter.
kirilloid 354 days ago. link 1 point
As a matter of fact, retry it's not very hard to write in pure promises:

    const retry = (fn, times) =>
      times >= 0
      ? fn().catch(() => retry(fn, times-1))
      : fn();
kirilloid 354 days ago. link 1 point
I don't understand the point of article at all. The only point I see is "Code *looks* like an old code from 80s". So this is bad only because it's not new and shiny? Okay.
kirilloid 368 days ago. link 1 point
That's your personal experience and personal experience depends on person and project. I had more than 3 months to work with pretty big ng1 codebase and I'm still unable to wrap my head around all these "@", ">", "=" and all ng1 cryptic syntax for property-binding.
At the same time I dived into ng2 easily (with prior RxJS and TS experience, though) w/o any guidance. Much easier than e.g. Ember.
Of course, ReactJS was even easier than ng2, but for any big app you'll need redux, redux-thunk, redux-middleware and all other bells and whistles, which makes actually learning ReactJS.
And after several years, saying I program in React will not mean anything, because do you use flux-saga (not a real thing, probably) or redux-thunk? And with Angular2+ there will be only one type.
Ng2 might never reach popularity of React, but it will have its niche in Enterprise world.
kirilloid 368 days ago. link 1 point
Pretty captain obvious-y article. Learn vanilla js & react or angular 2.
kirilloid 375 days ago. link -3 points
https://github.com/systemjs/systemjs

Exact quote:
Built to the format ES6-specified loader API from [ES6 Specification Draft Rev 27, Section 15](1), and will be updated to the [WhatWG loader API](2) as soon as it can be considered stable for implementation.

[1] http://wiki.ecmascript.org/doku.php?id=harmony:specification_drafts#august_24_2014_draft_rev_27
[2] https://whatwg.github.io/loader/


Just in case: Yes, this is *draft*. But the point in article is the following: "We need to learn something new, which is specific to Angular and isn't used elsewhere" and that's plain wrong.
kirilloid 377 days ago. link -5 points
Mostly whines from a person who worked with angular 2 for 2 weeks and doesn't even know that SystemJS is the STANDARD way to load js.
[more]