Earlier quoted context omitted.
It does not however, preclude the possibility that the tool is in fact a bad tool, and that the tool is bizarrely the only tool we have. They say poorly skilled people blame their tools, and that highly skilled people who know their tools well, will know how to use it well. That being said, see that circular saw over there that will occasionally bounce and cut off its user's fingers? I'm not gonna use it, no matter h…
Fortunately, JS is not the only tool we have. JS is a relatively fine compile target , and with asm.js, a pretty fast one. So pick your favorite among CoffeeScript, TypeScript, Dart, GorillaScript, Elm, ClojureScript, etc, or try compiling your favorite language using LLVM. Let a compiler take care of all the numerous rough edges raw JS has.
Enough with the JavaScript already
141–150 of 231 posts
Re: Enough with the JavaScript already
#142It's not really an either or thing. You can go too far with client side rendering. But progressive enhancement can only bring you so far in delivering an interactive experience - it's typical that his example is a simple tabs implementation - of course that's easy to do without much js. That's why I like knockoutjs - it makes it easier to sprinkle in the data-bound rich interactive UI to the pieces of your page that…
have you actually done this? I was wondering if this is a feasible and good way to use knockout!
http://blog.stevensanderson.com/2012/08/01/rich-javascript-a...
we use this technique at food52.com, e.g this content page cached uniformly, login system, recipe saving widget, comment system all done in ko.
http://food52.com/recipes/22888-yotam-ottolenghi-sami-tamimi...
more interactive / sophisticated uses of ko coming in our new shop soon for the cart functionality.
Re: Enough with the JavaScript already
#143Many sites already use Google's hosted javascript libraries for JQuery, Prototype, etc... Could Google reduce load time in Chrome by building these into the browser, so that anytime they see the include pointing to Google CDN, they just skip it and let the pre-included library take its place?
And this still doesn't directly address the issue due to custom, large scripts for site-specific functionality.
Re: Enough with the JavaScript already
#144JavaScript is a tool. Once it becomes trendy idiots will always abuse a tool. It's not JavaScript's fault people are bad at web design and development. If it wasn't fucked up JavaScript these people were contacting you about it'd be something else, be glad you have a job.
Re: Enough with the JavaScript already
#145Re: Enough with the JavaScript already
#146Many sites already use Google's hosted javascript libraries for JQuery, Prototype, etc... Could Google reduce load time in Chrome by building these into the browser, so that anytime they see the include pointing to Google CDN, they just skip it and let the pre-included library take its place?
Re: Enough with the JavaScript already
#147Many sites already use Google's hosted javascript libraries for JQuery, Prototype, etc... Could Google reduce load time in Chrome by building these into the browser, so that anytime they see the include pointing to Google CDN, they just skip it and let the pre-included library take its place?
However, is transfer time really the biggest issue here?
Re: Enough with the JavaScript already
#148JavaScript is a tool. Once it becomes trendy idiots will always abuse a tool. It's not JavaScript's fault people are bad at web design and development. If it wasn't fucked up JavaScript these people were contacting you about it'd be something else, be glad you have a job.
Re: Enough with the JavaScript already
#149Earlier quoted context omitted.
The mistake, perhaps, is that people (us) are trying to shoe horn an application into a Document object model - its in the name for christ sakes! Document! Not application object model!
Not just the DOM, HTTP as well. We're shoehorning state into a stateless system, and inventing new crap like WebSockets to overcome limitations of a system designed for document retrieval. The web has turned into the biggest hack ever.
Re: Enough with the JavaScript already
#150Earlier quoted context omitted.
Number 1 reason to uninstall applications on Play Store, executable size , Google IO 2013. Plus Mono does not save you from writing multiple UI code anyway.
Yes it does. Look at the MvvmCross project. Also struggling to verify that claim re. executable size, can you provide a link? Either way, average app size on Android seems to be around 3MB. A typical Xamarin-compiled app is around 4 to 4.5MB.
This is a cross platform implementation of the MVVM patterns, you still need to write the platform specific views.
And to be honest, given my experience on .NET enterprise projects, MVVM brings me back J2EE 1.4 memories.
> Also struggling to verify that claim re. executable size, can you provide a link?
Someone mentioned it to me on a Reddit discussion.
We have the policy to only use vendor supported languages, to minimize support issues and take advantage of performance.
I should add the mobile apps I was involved were games.