I really like Coffeescript, but one thing that has been driving me crazy lately is problems like numbers and strings in if statements. This is usually not a problem, because Javascript does not care when you use ==, but Coffeescript converts all comparisons to ===. Is there any way to return the messy old == comparisons? I feed nonsense, but I did not find anything on it.
The reason for this is that I converted the code of other people using the brilliant http://js2coffee.org/ to make it easier to read, but then I introduce type problems like == comparisons are replaced with ===. Needless to say, I will be lazy to reorganize the entire code;).
source share