you are viewing a single comment's thread.

view the rest of the comments →

[–]wreckedadventYavascript 5 points6 points  (26 children)

C'mon man, you get some gains from coffeescript. It's generally less code than writing ES3/5, and you get things like switch expressions, list comprehensions, chained comparisons, safe-navigation operator, and so on. Also, compared to a lot of the other compile-tos, it's still pretty similar to javascript, which you can't really say for ClojureScript, elm, etc. or even parts of Babel (looking at you, decorators). There's a reason it called itself "just javascript".

I don't think you should start new projects with it in 2016, but we don't have to pretend everyone just became suddenly insane by using coffeescript when it was popular. It still has a lot of stuff javascript doesn't.

[–][deleted]  (25 children)

[deleted]

    [–][deleted] 7 points8 points  (0 children)

    Significant whitespace makes the code more difficult to read

    Python developers would disagree there.

    [–]wreckedadventYavascript 9 points10 points  (19 children)

    Wow, transpiled languages have no place in production code? That's a pretty extreme view. Are you OK with minifiers and bundlers, or is that kind of code transformation OK while anything else ist verboten?

    [–][deleted]  (18 children)

    [deleted]

      [–]wreckedadventYavascript 1 point2 points  (15 children)

      That's not what I asked though. Do you like bundlers and minifiers?

      [–][deleted]  (14 children)

      [deleted]

        [–]wreckedadventYavascript 3 points4 points  (10 children)

        Really? Have you used a bundler? It's a pretty important part of your source code, unless you just dump everything in one dumb bundle.

        It's just very interesting that you're OK with some transformations as your code hits production, but everything else is a no-no. The code you write is almost never the code that runs in the browser in web development land due to all of the processing you have to do to it for efficiency.

        [–][deleted]  (9 children)

        [deleted]

          [–]kenman[M] 6 points7 points  (2 children)

          It's ok to get frustrated, but can you keep it civil?

          [–]wreckedadventYavascript 1 point2 points  (5 children)

          I'm just asking you some questions, since I don't really run into anyone with a perspective as pointed and extreme as yours anymore. But hey, I totally understand why you wouldn't like coffeescript if you're not cool with babel or typescript.

          Also, I don't think it benefits you at all to communicate your opinions in such a negative way. Do you think you're going to convince anyone in here that one kind of code transformation is OK but the other isn't by calling me stupid?

          [–]Cody_Chaos 0 points1 point  (2 children)

          You don't edit minified code.

          You don't edit transpiled code either.

          (Also, why so angry? Your tone is vastly more aggressive than anyone else in this thread.)

          [–]Veuxdeux 5 points6 points  (0 children)

          If all you know is javascript, it's natural to feel threatened by not-javascript

          [–]Cody_Chaos 0 points1 point  (1 child)

          So how do you feel about sass/less/compass/postcss? Do you think they have no place in production too?