Re: Stop Javascript, use Coffeescript
Coffeescript is easier and faster to read and write. It takes about 30 minutes to learn (if you're a slow reader). Coffeescript means less code. Less code means less bugs. Less bugs means lower cost....
View ArticleRe: Stop Javascript, use Coffeescript
coffeescript is by no means faster and easier to read and write. Your statement is absolutely absurd.
View ArticleRe: Stop Javascript, use Coffeescript
Clearly, we are doing very different kinds of development if you feel that saving a few extra keystrokes is worth turning failed unit tests and stack traces into gibberish.
View ArticleRe: Do not use javascript for validations
I disagree with you. Client side validation is good for usability. The user can have immediate feedback without a roundtrip to the server. The problem isn't with javascript. The problem is with code...
View ArticleRe: Stop Javascript, use Coffeescript
That link to Macournoyer's book seems like it's been hacked. At least it doesn't lead anywhere for me.
View ArticleRe: Alternatives to singletons in javascript
Seriously? I've been scouring the web for so long and this is the first time i find this? Just opened up my eyes, you are the best, always stared at the jQuery source code and this is the first time i...
View ArticleRe: Do not use the alert function in javascript
lightboxes don't always have the same effect. I usually hate alert as well but still not sure what's the best way. I believe an error div is still best maybe instead of a fadeout message as i'm not a...
View ArticleRe: How to execute javascript code directly in your browser
With a Loop! if you want something repeated 10 timesfor( var i = 0 ; i < 10 ; i++ ){ //Code To Execute here}var i is started at 0,then the condition of the loop is. "A long as the value of i is...
View ArticleRe: Two google-like jquery calendars
Those are good examples of event calendar, and here is another one:http://dhtmlx.com/docs/product...It's a framework-agnostic calendar so can be used with jQuery. It has a mature feature set but...
View ArticleRe: Ask Dan a javascript question : first edition
this seems like a great feature. i'll have to check it out. thanks!
View ArticleRe: Stop Javascript, use Coffeescript
Ok, I'm slowly coming around to coffeescript. It's not the devil, and many people find advantages in it.
View ArticleRe: How to use the self with object-oriented javascript and closures
Your explanation is the easiest,simplest, and most forward one I 've seenThank you
View ArticleRe: How to execute javascript code directly in your browser
<script>(function(){ var x; for( x=0; x < 1; x++){alert(x);} })();</script>
View ArticleRe: How to use javascript hashes (or hash-table)
Great one, helped me a lot. I just felt rising anger using an array with two slots working (not properly) as a dictionary, but then I read this and the implementation did not involve any anger. This...
View ArticleRe: How to write constants in javascript
Actually, you can with insulate.js. Disklamer, i did make the thing. But it does make constants and more... http://beckafly.github.io/insu...
View Article