/explore
|
You are here |
spootnik.org | ||
| | | | |
200ok.ch
Learning a new programming language can be hard. However, learning idiomatic JavaScript for Clojure devs (or generally devs with solid functional programming experience), is not. |
|
| | | | | ||
| | | | |
www.acdw.net
|
|
| | | | | ||
| | | | |
nurkiewicz.com
Clojure is a dynamically, strongly typed programming language. It's a dialect of _Lisp_ running on the Java Virtual Machine. Lisp is 6 decades old and has a really weird syntax. That weird syntax is called _Polish prefix notation_. Basically, in every other language you've used math operators like plus or minus are infix. It means they are placed between operands. For example, `1 + 2`. In Clojure, you always put the operator (or any other function for that matter) in front. So simple addition becomes... `+ 1 2`. |
|
| | | | | ||
| | | | |
mensfeld.pl
If you want to have slugs that are refreshed (updated) each time you change corresponding field in your ActiveRecord models, put this at the end of your initializers/friendly_id.rb file: This will update slug each time related column (friendly_id_config.base) has changed. Keep in mind, that this method won't work if you use non-column slug method as [...] |
|
| | | |||