Skip to main content

Get the Reddit app

Scan this QR code to download the app now
Or check it out in the app stores

CoffeeScript



Should a complete beginner start with TypeScript or CoffeeScript or just Vanilla JavaScript
r/javascript

Chat about javascript and javascript related projects. Yes, typescript counts. Please keep self promotion to a minimum/reasonable level.


Members Online
Should a complete beginner start with TypeScript or CoffeeScript or just Vanilla JavaScript

Hello,

I'm currently in my freshman year of high school, and throughout this year I've learned HTML and CSS. I want to start learning JavaScript in hopes of becoming a front-end developer. I'm already (or atleast I'd like to think so) pretty competent with HTML and CSS, so obviously JavaScript is the next step to make my website more interactive. While looking for books I saw one of this language called "CoffeeScript" and I was interested, and while searching that up I also found out about TypeScript.

Apparently, and correct me if I'm wrong, TypeScript has C++ like syntax and static type checking(?) while coffee-script adds syntactic sugar to the code to do more things behind the scenes. I guess what I'm asking is, is it worth it to start learning these instead or just vanilla javascript?

Thanks,

Jojo

Edit: I'd thought I would post the website I worked on for the longest so you guys can see where I am at in terms of my HTML/CSS skills.















I don't see the benefit of CoffeeScript
r/webdev

A community dedicated to all things web development: both front-end and back-end. For more design-related questions, try /r/web_design.


Members Online
I don't see the benefit of CoffeeScript

To me it just looks like hard to read, minimalist JavaScript in Python style syntax. I just don't get it...can any Coffee-ists explain to me the benefit of writing my JavaScript in Coffee instead or is it a Less vs. Sass predicament where it mostly comes down to your personal taste.

Thank you!

Edit: Clarity

I've tried to get into it and after a few small projects I'm not seeing a benefit. Fundamentally I don't have a problem with C-syntax languages so brackets don't really scare me that much...am I just not "getting it"?









Learn CoffeeScript through Ruby
r/ruby

Celebrate the weird and wonderful Ruby programming language with us!


Members Online
Learn CoffeeScript through Ruby

Hi! I’m not a programmer but my work is connected with Ruby language. Programming is my hobby and when I was using the Atom editor I decided to create a package (plugin). To do it you need to use CoffeeScript language.

So I’ve created a website-cheatsheet to learn CoffeeScript. I’ve been using it for a while and quite satisfied of it.

I want to share it http://evmorov.github.io/ruby-coffeescript. I think it can be helpful if you know Ruby and want to learn CoffeeScript or vice versa. All examples are executable and you can just copy them and play with them to understand deeper.

As I said I’m not a ‘real’ programmer so I’d be happy for any suggestion or critic.