Echo JS 0.11.0

<~>

sylvainpv comments

sylvainpv 587 days ago. link 1 point
and number 3 in ES5:

function unique(x,i,a){ return a.indexOf(x) === i }
[1, 2, 3, 3].filter(unique)
sylvainpv 677 days ago. link 1 point
Well, there's not much more than what I said on github. I disapproved some tweets from @gianlucaguarini, tried to tell him but he reacted badly, so I made this move to disengage and make myself heard at the same time. If you want more details, we should discuss somewhere else.
sylvainpv 685 days ago. link 1 point
I think if I have to restart the project from scratch while sticking with Angular, I would be much more peaceful now that we have stable API, angular-cli and feedback on the tooling (webpack+rollup+typescript would be my new choice). It's more the timing and the process of decision-making that turns out badly for us. Emotions come when we start to lose control and feel stuck with something.
sylvainpv 685 days ago. link 1 point
You're missing my point too. I am an OS author/contributor myself and I know how valuable it is to have positive feedback and criticism. 

I know how it feels when people say your work is terrible, especially when these people are famous. It happened to me last Sunday : https://twitter.com/jensimmons/status/804737320104640512

Three weeks ago, I quit the RiotJS organisation to protest against the main contributor publicly shaming other open source maintainers on Twitter: https://github.com/riot/riot.github.io/issues/48#issuecomment-260127556

It matters a lot to me. But I guess because I respond to a comment in a Just Be Nice article, I became the bad guy and deserve my downvotes.

Let me try again: I only answered to this false idea that "no one forces you to use the framework". Yes, you can always quit your job, though it does not solve anything. Truth is there are few people lucky enough to pick the tools of their choice. Especially when talking about frameworks in big compagnies: these decisions are made at a very high level and rarely by the people who actually have to work with it every day. In my case, the decision to go with Angular 2 for all our future projects has been made months before the first beta release. At the time, there was no feedback, no prototype, only enthusiastic slides from Google promising miracles to come. How did we come to this decision, if not because of marketing ? 

Google recognized they made mistakes in the way they promoted Angular and communicated about its state of development. Companies have bet on it too early, and thousands of developers had to follow this chaotic path of 17 betas and 7 RC (which definitely were not RC). Of course, in a context of work pressure and stress, it leads to frustration and, at long, anger. Anger is the consequence, not the source of the problem. See how being overly positive in the beginning led us to being overly negative today ? That's why I don't think we should focus on being positive at all costs, but instead try to be less emotional about our tools and as always, practice critical thinking. Not every JS project has to be either "awesome" or "terrible".
sylvainpv 685 days ago. link -3 points
It's more likely that my boss pays me to produce good job and thought Angular will help me to this end because he has been influenced by the opposite of ranting, but equally subjective, non-constructive and harmful, which is MARKETING.

Do you know what is the last advice I received on my open source project ? "I think I'd avoid asking people to bug hunt, and instead just sell them something sexy. Just focus on getting people using it instead of being honest with them".
sylvainpv 686 days ago. link 4 points
Exactly. I found the article content to be technically low and sometimes incorrect, yet I can't help but upvoting this because I totally share the feeling of dispair and distress of the author. 

I work on a large Angular 2 project for a year now and the development has been chaotic compared to my previous experiences with Angular 1. At the time, we decided to go with ES6 instead of TypeScript as the Angular team made this promise that we could have the choice of the language. The truth is, there is no documentation and tooling for non-Typescript users and migrating from ES6 to TypeScript on big projects is much more complicated than expected.

Currently we have major issues such as the bundle size (1.7 megabyte only for angular and related dependencies) and render performance in our views (fixed by changing ChangeDetectionStrategy and manually updating the view, which makes angular zones mechanism almost pointless). Debugging is also terrible since angular and zone call stacks are hiding all the valuable information in the exceptions.

Today I bitterly regret this choice and would not recommend Angular 2 to anyone. I worked with dozens of JS frameworks in the past but none of them has leaved me to such a state of mind of frustration and discouragement. I know it sounds like whining and my testimony may not be very constructive but it needed to be told. Angular 2 is terrible.
[more]