• Stars
    star
    112
  • Rank 312,240 (Top 7 %)
  • Language
    CSS
  • Created over 10 years ago
  • Updated over 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

CoffeeScript Book

Hard Rock CoffeeScript

Hard Rock CoffeeScript

v0.9.1

CoffeeScript is a little language that compiles to JavaScript created by Jeremy Ashkenas. This is an evolution of JavaScript that hides its bad parts and exposes the good parts. It's syntax is inspired by Ruby and Python and brings many features from these two languages.

Why is CoffeeScript better than writing pure JavaScript? First of all CoffeeScript allows you to actually write less and do more (yep, exactly like jQueryπŸ˜„). The amount of code that you'll need to write reduces significantly β€” you're geting rid of curly brackets, semicolons and you are getting lots of syntactic sugar. Moreover it adds usefull features like classes and inheritance which have not yet arrived natively to JavaScript.

But still, coffee code compiles to JavaScript so in order to write programs in CoffeeScript you need to know JavaScript. It is impossible to write well structured and good working scripts without understanding basics of JavaScript like closures or prototypical model. Knowledge of design patterns in JavaScript will be also usefull as CoffeeScript is using some patterns like Module pattern, Prototype.

JavaScript Lint

JavaScript Lint is a JavaScript code quality tool, and running your programs through it is a great way of improving code quality and best practices. The project was based on a similar tool called JSLint. Check out JSLint's site for a great list of issues that it checks for, including global variables, missing semicolons and weak equality comparisons.

The good news is that CoffeeScript already 'lints' all of its output, so CoffeeScript generated JavaScript is already JavaScript Lint compatible

More Repositories

1

polymer-rails

Polymer and web components for Ruby on Rails
HTML
286
star
2

polymer-paper-rails

The Paper elements are a set of UI elements that implement the material design system
HTML
54
star
3

polymer-elements-rails

Polymer elements for Rails
JavaScript
39
star
4

polymer-core-rails

Polymer core elements for Ruby on Rails project
HTML
32
star
5

gen-ai

✨ Generative AI toolset for Ruby ✨
Ruby
28
star
6

hugging-face

Ruby client for Hugging Face API
Ruby
27
star
7

css-class-name-generator

Collection of simple and human readable class names
HTML
19
star
8

polymer-rails-example

Example Ruby on Rails App with polymer-rails gem
Ruby
17
star
9

marionette.doc

Marionette.js 1.8.0 documentation
16
star
10

wfpc

Web Frameworks Performance Comparison
PHP
12
star
11

generator-simpleapp

Yeoman generator for simple website with sass, coffee, autoprefixer and livereload
JavaScript
10
star
12

devion

πŸ§‘β€πŸ’»One Command to Run All your Projects in Development
JavaScript
9
star
13

ai21

A Ruby client for AI21 Studio API
Ruby
8
star
14

aiconvo

Conversations between OpenAI and Google PaLM2 models
Ruby
8
star
15

ajaxform

ajaxForm jQuery plugin for submitting and validating forms via AJAX
JavaScript
7
star
16

cryptor

πŸ” AES GCM encryption functions in Dart language
Dart
7
star
17

RouteJS

JavaScript routing for non-SPA applications
CoffeeScript
6
star
18

applepie-rails

Semantic and Modular CSS Toolkit For Ruby On Rails
Ruby
5
star
19

polymer-iron-rails

Polymer Iron elements to use in your RoR apps
JavaScript
5
star
20

langchainrb-docs

Langchainrb Documenation
JavaScript
4
star
21

patterns

Common patterns of markup and style
CSS
3
star
22

maps.js

Easy and declarative way to use Google Maps API
CoffeeScript
3
star
23

module

πŸ“¦ Optimal skeleton/boilerplate for a new Node.js module
JavaScript
2
star
24

alchaplinsky

1
star
25

smartstart

Sass OOCSS library
Ruby
1
star
26

tetris

JavaScript
1
star
27

spectr

Javascript library that handles a certain specter of functionality:)
CoffeeScript
1
star
28

rtfm

Small and Classy PHP MVC Framework
PHP
1
star
29

picasa_albums

Ruby
1
star
30

eventBinder

Simple Javascript library to handle events
JavaScript
1
star
31

terraform-sandbox

HCL
1
star