Earlier quoted context omitted.
>> "The most annoying part of Android development is probably Eclipse" Hopefully Android Studio[1] will be the solution to that problem. >> "I keep hearing this FUD, but I have no idea where it's coming from. I've never had any problems with the Android documentation." I don't think the Android documentation is bad but I find iOS documentation much better. It might just be because I'm more used to the iOS docs (5 yea…
Coming from a world of Java (Java SE of no particular platform and Android), I find the iOS documentation surprisingly hard to navigate. In the Java world, it's common for documentation on a class to contain at least a page of introductory material to the class including its purpose, its function, major caveats, some example code, etc. The iOS documentation splits all of that up between Getting Started articles, the…
Enough with the JavaScript already
81–90 of 231 posts
Re: Enough with the JavaScript already
#82Earlier quoted context omitted.
I like to think of it this way: Some languages allow you to shoot yourself in the foot easier than other languages, given the context and environment. Abuses and problems precisely show Javascript's defects. The more easily abusable a language is, the more defective it is. A lot can be said about familiarity with the language. Many examples in wtfjs.com boils down to (mis)understanding the language itself. Let's call…
You are 100% wrong. C allows you to shoot yourself in the foot much more easily and much worse than JavaScript. JS is a far more "safe" language to code in. No pointers, no memory allocation. Yeah JS isn't typed but the problems that you get into with that are nothing by comparison. And again, I'm not saying JS doesn't have problems, it does. But the problems this presentation is complaining about are not results of…
Re: Enough with the JavaScript already
#83Earlier quoted context omitted.
What's nasty about Obj-C?
The syntax and the APIs.
Not sure what you mean about the APIs being nasty. Can you elucidate?
Re: Enough with the JavaScript already
#84Earlier quoted context omitted.
Save 5 MB and condemn yourself/your team/your company to the hell of maintaining multiple code bases that all do basically the same thing but subtly different and written in different languages. Sounds like a dumb ass decision. It's the sort of logic that makes people pick C or C++ when a managed language would have been more appropriate.
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.
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.
Re: Enough with the JavaScript already
#85http://velocityconf.com/velocity2013/public/sv/q/479
I realize it costs money to run a conference but that seems excessive.
Re: Enough with the JavaScript already
#86Why store state in DOM? Isn't that bad practice? I remember reading DOM access is the slowest part of JS [needs verification]. So you want to trade performance for few dozen kilobytes of assets that can be cached?
I'm not exactly sure what you're talking about, however mobile phones have awful bandwidth and awful browsers with not enough memory to cache everything they can. In the context of websites, you also want the experience of new users to be the best it can be. Basically, caching is nice, but it only works efficiently for applications that users visit often and that don't rely on links going viral, such as GMail. Howeve…
Re: Enough with the JavaScript already
#87Earlier quoted context omitted.
An issue with Dart is it does not support IE 8. IE 8 still ships with Windows 7 and it is quite popular. It's not reasonable to throw away all IE 8 traffic just to get Dart's features.
IE8 usage is under 8% so it's possible for some people/organizations to stop supporting it. In another year, I would expect market share to be under 5%. http://gs.statcounter.com/#browser_version-ww-daily-20130615... IE10 has more usage. Hopefully, Win 8.1 is successful for Microsoft and XP usage drops significantly.
Re: Enough with the JavaScript already
#88A) Slow your site down B) Introduce a single point of failure into your webpage
All scripts should be loaded either async or at the end of the dom.
Re: Enough with the JavaScript already
#89Enough with the no-context-attached slides already. Seriously, if you don't have a recording of the talk, or a transcript, at least provide an article or something.
I will never understand the utility of posting slides from a talk online without the audio.
Re: Enough with the JavaScript already
#90I wonder if there'll ever be an alternative to Javascript. I'm not talking about those things that eventually get translated to Javascript, I'm talking about a native platform well thought-through and based on a typed language that isn't a mess. Yeah, I know: it's not Javascript that's broken, it's the DOM. I'd argue that both should be replaced by something else, otherwise the future will be 90% native mobile apps,…
Absolutely. Write in whatever language you like, compile to asm.js - that way you're running in the browser, at about half native speed.