|
You are here |
abhinavomprakash.com | ||
| | | | |
pragprog.com
|
|
| | | | | This book will help you write macros using Clojure and to recognize when you should be using macros in the first place. | |
| | | | |
ianthehenry.com
|
|
| | | | | You've probably seen this Python 101 thing before: @memoized def fib(n): if n <= 1: return n return fib(n - 1) + fib(n - 2) Leaving aside the absurdity of computing Fibonacci numbers recursively, it's a common first introduction to Python decorators and higher-order functions. fib is just a function, and memoized takes that function and returns a new function (or something with a __call__ method) that, you know, memoizes the result. Python's decorators give us a nice notation for writing this, but we cou... | |
| | | | |
clojure.org
|
|
| | | | | [AI summary] The text provides an in-depth guide on using Clojure's spec and testing tools, covering topics like creating and using specs, generators, instrumentation, and testing functions with check. It also discusses advanced features such as stubbing functions and combining instrumentation with testing for comprehensive coverage. | |
| | | | |
aradaelli.com
|
|
| | | [AI summary] The author discusses their experience with the programming language D, highlighting its features, advantages over C/C++, and reasons for preferring it despite its niche status. | ||