Just like twitter "idea" of publicly broadcasting 140 chars is trivial to make, but the whole "twitter" isn't.
49 karma · joined June 20, 2010
email: amit.kaz@gmail.com
Just like twitter "idea" of publicly broadcasting 140 chars is trivial to make, but the whole "twitter" isn't.
As long as you're glad with your false assumptions, I have nothing more to add.
"All code has bugs" claim is true, but it doesn't mean you need debuggers in order to solve/fix the problems.
If your methods ARE small enough, and you have tests for OTHER cases, printing/console is actually faster (at least for me) than using a debugger. I have a JS debugger in firebug, and I rarely use it (for pure JS, not just CoffeeScript output).
2. the generated js isn't that complex and you can easily map it in your head- it's not like trying to "debug" asm generated from C.
3. you'll get debugging soon (as wmf said, source maps- now waiting for cs guys to support in chrome, Rubymine IDE supports in D1 2013)
4. productivity is important.
IO.readlines(file).each do |w|
puts w.split(//).find { |c| w.count(c) == 1 }
endhttp://blog.headius.com/2010/05/kicking-jruby-performance-up...