miniblog.
← Back to all posts
Feb 2, 2017 at 23:13
Surprisingly few dynamic languages have a full complement of immutable datatypes. Eg Python only has tuple and frozenset built in.
Wilfred Hughes
Related Posts
Jul 6, 2018 at 15:36
"Static type systems can help working on large code bases. Immutable datatypes can help too." I've seen this regularly asserted, and I generally agree, but how do we measure this? What other things help?
Wilfred Hughes
Shared words: immutable, datatypes Score: 51.3
Feb 12, 2023 at 08:09
Getting basic language infrastructure going is surprisingly labour intensive. I've built a toy language up to hello world -- lexing, parsing, evaluating and minimal REPL. I'm already at over 100 commits and 900LOC of Rust (source:
https://github.com/Wilfred/garden/tree/6b0ecf775b45047d927f00e0469e178b72c929f2
).
GitHub - Wilfred/garden at 6b0ecf775b45047d927f00e0469e178b72c929f2
an interactive programming language. Contribute to Wilfred/garden development by creating an account on GitHub.
Wilfred Hughes
Shared words: Surprisingly, languages, built Score: 37.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: tuple, Python Score: 36.9