miniblog.
← Back to all posts
Aug 27, 2017 at 16:39
Conditional syntax in
@pharoproject
still feels rather alien to me. Reviews welcome! Copy-pasteable version:
https://gist.github.com/Wilfred/1efdc86091a02b43b70325a58dbcc507
pharo conditionals example
pharo conditionals example. GitHub Gist: instantly share code, notes, and snippets.
Wilfred Hughes
Related Posts
Jan 6, 2021 at 07:49
1
4
I rather like how Scheme treats boolean literals (#f and #t) as syntactically distinct from normal variables. The syntax feels tidier than overloading variable names. (Though I'm still amused that 0x12 is a valid variable name in emacs lisp!)
Wilfred Hughes
Shared words: syntax, feels, rather Score: 33.3
May 28, 2014 at 08:55
Learnt today that `x = 1,2` is legal syntax in Python for creating tuples. Rather implicit though, not sure how I feel.
Wilfred Hughes
Shared words: syntax, feels, rather Score: 33.3
Mar 17, 2023 at 15:41
Solving Fizzbuzz using Euler's totient theorem rather than conditionals:
A funny thing happened
philcrissman.net/posts/eulers-fizzbuzz/
Wilfred Hughes
Shared words: Conditional, rather Score: 20.7