GithubHelp home page GithubHelp logo

vinodborole / clojure-tutorial Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mattmorten/clojure-tutorial

0.0 0.0 0.0 870 KB

Clojure for Software Engineers in <30 minutes

License: Eclipse Public License 2.0

Clojure 100.00%

clojure-tutorial's Introduction

Clojure for Software Engineers

By Matt Morten

Introduction

Clojure is a modern, functional, Lisp programming language that runs primarily on the Java Virtual Machine. It has built-in interoperability with Java, such that Clojure code can call Java code and libraries directly.

Learning Clojure will give you an understanding of one of the world's best programming languages, as well as a new was of thinking about software development.

Audience

If you:

  • Know at least 1 other programming language (Java, JS, Python etc.)
  • Are interested in Clojure
  • Enjoy building a working example as you go
  • Want something quick to digest and enjoyable

... then this guide might be for you.

Building a Tetris Clone

We will be building a console-based Tetris clone, stripped down to its bare essentials, as part of this guide.

Tetris is my go-to puzzle to implement whenever I attempt to learn a new language. It has simple rules and can be implemented in fewer than 500 LOC for most languages. Choosing the same problem to implement over and again lets me focus on the language first. I can quickly compare it to other solutions, and get an idea of how this language forces (encourages) me to think.

Tetris simplified

Contents

Running this code

Source is found in the src folder. It should be runnable as a Leiningen project

clojure-tutorial's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.