Here’s the Deal
Slant is powered by a community that helps you make informed decisions. Tell us what you’re passionate about to get your personalized feed and help others.
A very powerful IDE : DrRacket A powerful multi-paradigm programming language See More
Racket is based on Scheme (LISP Family) and is very similar to Clojure. So there are a ton of (). The reason it is easier to learn is that it is not trying to be "Pure" if there is even such a thing in terms of Functional Programming. The great thing about Racket is it has everything included. You get DrRacket for developing programs. You want to add a picture to your software you can insert pictures. If you want to add libraries just open the package manager. The Syntax is an opinion but it really does feel easier to see what is happening since everything is in brackets) Racket is a really a Programming Language for making Programming Languages. So there are smaller syntax Racket called Student Racket which makes things easier to pick up. See More
Simplicity is one of the pillars on which Clojure is built. Clojure tries to solve many problems in software development as simply as possible. Instead of building complex interfaces, objects or factories, it uses immutability and simple data structures. See More
Clojure mixes all sorts of data structures into common syntax, including (but not limited to) vectors, hash tables, and sets. This breaks up the uniformity of Lisp and suddenly introduces a lot of complexity to deal with these other data structures. Now, Clojure has kind of addressed this problem and has made functions that deal with data structures in an agnostic way, but the lack of uniformity is still clear as day and it makes the language more complex at a fundamental level than other Lisps. See More
Clojure neatly sidesteps the Lisp-1 vs Lisp-2 argument. Functions in Clojure don't need a separate namespace like Common Lisp, so you can avoid funcalls when using higher-order functions. This makes it feel like a Lisp-1. Clojure's syntax quote automatically includes the current namespace to help avoid collisions in macros, giving you the benefits of a Lisp-2. See More
Perhaps some may consider this attribute an advantage. Clojure does not attempt to maintain significant compatibility with other Lisps. So, if you already know a Lisp or are used to the way Lisp works in general, you'll probably be confused if you take a look at Clojure. See these resources for more details on this subject: https://clojure.org/reference/lisps http://stackoverflow.com/q/6008313/2636454 http://gilesbowkett.blogspot.com/2015/01/one-major-difference-between-clojure.html http://softwareengineering.stackexchange.com/q/153128/166211. See More
Clojure's syntax/API are designed to interact well with the environment of a host language, meaning it's pretty easy to write code which runs without modification on all three platforms. Plus, you can directly interact with code on the host language, and switch out your code based on which host language you use. See More
Clojure programmers are highly encouraged to use immutable data in their code. Therefore, most data will be immutable by default. State change is handled by functions (for transformations) and atoms (an abstraction that encapsulates the idea of some entity having an identity). See More
There are a lot of Common Lisp implementations out there (CLisp, SBCL, CCL, just to name a few). Some implementations are free and open source, others are proprietary and cost quite a bit. Though none of them follow 100% the Common Lisp standard for example, SBCL fails about 50 official ANSI Common Lisp conformance tests. Having so many implementations may make it hard to develop new libraries because you would have to test it for several different implementations. See More
Common Lisp is arguably the most useful Lisp to "get things done". One of the main reasons of this is the large community behind it and the large number of libraries and frameworks already built to solve virtually any problem you may have when writing programs to be used by actual users. See More
CL programming paradigm is to "teach" your program what to do by defining functions, variables and classes (this way it is similar to Smalltalk). As a benefit, the great debugger comes for free: the behavior of a function can be tested, debugged and altered on the fly, no need to start the program or recompile the whole program. Debugger also comes with the inspector that lets one to see and alter the components of objects and variables. Overall, debugging options include: tracing, debugging on error, restarts, inspecting variables or results of expressions, including altering their contents, macro-expansion debugging. See More
Simple integration with C code, mature OO library (GOOPS), support for custom languages. See More
After some time its technical elegance starts to really shine. See More
Arne Babenhauserheide's Experience
Scheme syntax is extremely regular and easy to pick up. A formal specification of the syntax fits onto just a few pages; it can be introduced informally in a paragraph or two. Students are not distracted by remembering how to write if statements or loops or even operator precedence because every syntactic follows the same pattern. Ultimately, everything looks something like this: (func a b c) This includes not only user-defined functions but even control flow: (if cond then-clause else-clause) or even primitive operations like define and set: (define foo 10) (set! foo 11) This means that nothing really has special syntactic treatment in the language. There are essentially no weird edge-cases to memorize, and different concepts are given a more equal weight in the language. (Unlike Algol-like languages which tend to given undue weight to loops and assignment statements, for example.) See More
There is a set of very strong textbooks introducing CS and programming using Scheme. These books are available for free online. The most famous example--and one of the most famous CS books full stop--is Structure and Interpretation of Computer Programs usually known as SICP. This book introduces fundamental ideas in computer science and covers an incredible amount of material quickly and clearly without requiring any prior knowledge. See More
Scheme has far less built into the language itself, helping students see that things like OOP are not magical: they are just patterns for organizing code. Everything in Scheme is built up from a very small set of primitives which compose in a natural and intuitive fashion. Having a language that does not accord many things special status helps keep students open minded. This will help students later go between different languages and paradigms from procedural to object-oriented to functional. See More
Help millions of people make better decisions.
Each month, over 2.8 million people use Slant to find the best products and share their knowledge. Pick the tags you’re passionate about to get a personalized feed and begin contributing your knowledge.