This deck is really hard to flip through on an iPhone. Nothing a little JavaScript couldn't fix.
Enough with the JavaScript already
111–120 of 231 posts
Re: Enough with the JavaScript already
#112To bad you have to pay $399 to watch the videos. http://velocityconf.com/velocity2013/public/sv/q/479 I realize it costs money to run a conference but that seems excessive.
Here's the version from SF Web Perf - http://www.ustream.tv/channel/sf-web-performance-group-meetu...
Re: Enough with the JavaScript already
#113Re: Enough with the JavaScript already
#114Earlier quoted context omitted.
Yeah JavaScript has problems, so do all programming languages. JS has some particularly egregious ones, but the abuses and problems the slide complains about are not a symptom of a defect with JavaScript. They would be the same problems with any other language being used by incompetents.
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…
Re: Enough with the JavaScript already
#115Earlier quoted context omitted.
People don't use javascript because it's a beautiful, well thought out language. They use it because it runs everywhere .
Here's the painful part: Douglas Crockford wrote a book called Javascript, the Good Parts. If Javascript were limited to The Good Parts alone, it has the potential to be a beautiful well thought out language. It would be quite close to a beautiful well thought out language
Re: Enough with the JavaScript already
#116It all depends on the project of course but currently here is the order in which I tend to do things:
1 Write an api
2 Write web/mobile apps to consume it
3 Optimize by pre-rendering the html when needed if the project becomes popular enough or if it really needs to be crawled.
Re: Enough with the JavaScript already
#117Earlier quoted context omitted.
Here's the painful part: Douglas Crockford wrote a book called Javascript, the Good Parts. If Javascript were limited to The Good Parts alone, it has the potential to be a beautiful well thought out language. It would be quite close to a beautiful well thought out language
What's stopping you from only using the "good parts" in your own code? How is JS a bad tool? It runs reasonably fast, works everywhere, is a small, simple language that's surprisingly powerful. What if Eich had been influenced by C instead of Lisp when creating JS? All things considered, it could have been way worse than it is, and the truth is JavaScript lets you get in there and do good stuff. Not sure why we are s…
Re: Enough with the JavaScript already
#118I can write the whole application in JavaScript and I just have to mess with the DOM and it's ugly friends when in trouble.
Re: Enough with the JavaScript already
#119I 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,…
>Yeah, I know: it's not Javascript that's broken, it's the DOM. No, JavaScript itself is a ridiculous language. Every time I have to deal with it I grit my teeth. Right now I'm dealing with dates. Luckily JS has a built in Date class! Which, of course, does nearly nothing. If you call "getDay" you get a zero indexed number representing the day of the week. So since there's no formatting functions to print out dates,…
Re: Enough with the JavaScript already
#120JavaScript 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.
Java is a tool too. But the years and years of people inflicting bad Java desktop UIs on the world might have been avoided if we had been more critical of it rather than going with what's cool and hip and new. I think in a few years time, we'll look back on the current trend of client-side-all-the-things just as we now look back at Flash intro pages, pop-up ads and all that shit.