|
|
|
|
|
by bbradley406
4121 days ago
|
|
This trick is very helpful, but I would argue that there are still a lot more parentheses due to almost everything being written as a function in lisp. When I started programming in Racket arithmetic and comparison expressions tripped me up frequently. My tip to beginners in this area would be to use the dot-notation first, then switch to the standard way once comfortable.
for example: (20 . > . (10 . / . 5))
may be more clear than (> 20 (/ 10 5))
|
|