Coffee Script Sucks

91 views
Skip to first unread message

arje...@gmail.com

unread,
Mar 1, 2014, 11:05:29 AM3/1/14
to rubyonra...@googlegroups.com
Yea, that's all I wanted to say.

Rodrigo Mendonça

unread,
Mar 1, 2014, 12:24:55 PM3/1/14
to rubyonra...@googlegroups.com
why?


2014-03-01 13:05 GMT-03:00 <arje...@gmail.com>:
Yea, that's all I wanted to say.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/d0bb0129-5ecc-47c7-87ae-0e451303daa0%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--

deepak

unread,
Mar 1, 2014, 12:28:14 PM3/1/14
to rubyonra...@googlegroups.com
agree, no explanation needed.

Rodrigo Mendonça

unread,
Mar 1, 2014, 1:05:40 PM3/1/14
to rubyonra...@googlegroups.com
I think oposite

in js true == "true" // this return true
in coffee true == "true" # return false

in js we need true === "true" // only this return false

I think if coffee is bad, javascript is worst.


--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.



--

Rick

unread,
Mar 2, 2014, 8:46:33 AM3/2/14
to rubyonra...@googlegroups.com, rod...@seucondominio.com.br
not unlike swimming out of a black hole. good exercise but you're unlikely to cross the boundary to normal.

j...@room118solutions.com

unread,
Mar 3, 2014, 11:40:01 AM3/3/14
to rubyonra...@googlegroups.com
I was very resistant to it at first, as well.  As it turns out, it was really for no good reason at all.  After diving in and forcing myself to use it on a project, comparing that project's CS to an older project's JS sold me on using it forever.  It's simply easier to read, more concise, and thus, easier to maintain. But to each his own!

I do have to say, though, that the significant whitespace bothered me when I first started using CoffeeScript, but I've grown to like it.  If every language had significant whitespace, we may have had working SSL on our Apple devices for the past couple of years :)

Rodrigo Mendonça

unread,
Mar 3, 2014, 11:59:15 AM3/3/14
to rubyonra...@googlegroups.com

Coffee is good
We can do this in cofee

boxPerson = '
  <div>
     <span>any thing<span>
  </div>
'

Coffe support breakline.. we can do identation.

We can make beautifull views with coffee. In javascript its impossible.

Its my point

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages