214 karma · joined September 3, 2012
I hate this part about Mozilla and Apple. I dont have qualms about javascript. It has its good parts and as a full time javascript contractor I earn my living with javascript. But... I dont really want the next generation of developers to be stuck with whatever we have today. I am not in favor of "Here is what you get - do all your innovations inside this box" mentality. Yes, there is scope for improving javascript or ECMAscript but there are limits to this. As Peter Thiel says in his book - this is incremental-ism. This will never produce 0 to 1. In order to produce something like that people should be allowed to innovate - even if initially they have to do stuff like this AtScript or Dart or TypeScript! Criticizing those attempts as "breaking the existing tool-chain" is as foolish as criticizing a spaceship because it does not make use of roads.
If you look at this page here https://github.com/google/traceur-compiler/wiki/LanguageFeat...
You can see annotations in the "experimental" features list.
1. The problem exists ( and is a genuine problem that quite a few people care about! ). 2. A good solution has not been found yet. ( also kind of good for you! ).
Apart from this, it also gives you a lot of information about the industry. Especially the discussions that are happening here. So, why dont you consider this a loooot of great feedback and go back to the drawing boards and go disrupt this industry ?
There is documentation as well in here : http://ganarajpr.github.io/angular-dragdrop/
Having read the blog ( from top to end ) I kind of agree with some of the things that the author says. There are a few edge cases that we need to take care of if using native drag and drop. There is also the not-so-slight issue that it doesnt work on mobile browsers....
Riot's TodoMVC - 59 LOC html, 185 LOC js.
Angulars TodoMVC - 70 LOC html , 145 LOC js. ( I DINT even discount the extra lines used for comments and stuff - which angulars has quite a lot of ! ) . https://github.com/tastejs/todomvc/tree/gh-pages/architectur...
The other implementation is 71 html and 162 js. https://github.com/tastejs/todomvc/tree/gh-pages/architectur...
Stop claiming that your "framework" allows writing less loc.
There are sooo many useful constructs that all these frameworks provide. I generally abhor Backbone for its "minimalistic" approach. But looks like even jashkenas is taking issue to what you are doing here.
You are saying that / claiming that - me / we are soo damn good that we can do in <1KB what a whole bunch of developers have not been able to do in xKB where x is a larger number.
Angular Batarang overrides $watch too for instrumentation.
Consider this one more request for publishing your directives and changes :)
Use Angular. Every single thing you mentioned there is covered. Except coffeescript, but thats unrelated anyway.
Whats covered ?
Async code : check. ( timeout flush )
Wrapper for XHR : check ($httpBackend ).
DOM abstraction : check ( No DOM Manipulation in controllers! )
fast feedback : check ( karma ) .
There are a few things that I think requires serious change in India :
1. We need to develop a culture that supports, encourages and rewards innovation - which means we need to develop a startup culture that is akin to US. We should make it damn easy for people to start companies in India (Hopefully you are listening Mr.Modi and Mr. Manmohan Singh ). So far all I have heard is that its hard. With a labor force like ours we can surely go far ahead.
2. The second part ( and the part that is addressed by this blog post ) is training or bringing this large labor force to a level that is usable by the companies that are thus created. This is a much harder problem but perhaps there is a way this too can be disrupted and changed. Changing the mentality of people towards something is not really that easy. But considering how people flock towards all those Indian Idol, Saregama etc.. maybe something similar ( I dont know what that is ) might help.
http://blog.nebithi.com/backbone-and-angular-demystifying-th...
Oh between I do group by Type inside of a module.
Just wow! and thank you.
I use Intellij and I have noticed that I dont do any mistakes likes missing commas, accidental global declarations etc because my IDE ( intellij ) tells me about them. It infact corrects me when I make any such mistakes. The real problem is with people still using simple text editors to write javascript code because they dont think there is any advantage of using a full fledged IDE which does anything , because they think that there is nothing out there which actually helps.
http://www.webflow.com/ https://jetstrap.com/ http://www.divshot.com/ http://html.adobe.com/edge/reflow/ https://www.easel.io
We are moving towards a world where js is ubiquitous. Its everywhere..already. If web-crawlers dont support js completely ( looking at you google! ) then we should force them to (by creating more js based apps thats outside the crawlability of google ). If screen readers dont read js ( they should and thats why we have ARIA ), they will eventually. At the end of the day, as long as you are trying to adapt to them ( which is backward ) they will never move. Start moving swiftly and they will have to adapt to you.