Viewing profile — judicious
judicious
HN member- Joined
- Mon, Sep 04, 2023, 11:31 PM UTC
- HN karma
- 162
- Public activity
- 33 items
- HN profile
- View on Hacker News ↗
About judicious
No profile information was provided.
Recent public activity
- story
- story
- story
- story
-
comment
Comment #45407851
I’m by no means an expert on this topic, but what about using predefined hash map of value to function call/closure unless that also yields branched programming underneath? Additio…
- story
- story
- story
- story
-
comment
Comment #41820870
Something like this occurs cross-linguistically: https://en.wikipedia.org/wiki/Evidentiality Turkish has some evidentiality.
-
comment
Comment #41783052
Here's a link to their library in GitHub: https://github.com/tigerbeetle/tigerbeetle/blob/588123f219f1...
- story
-
comment
Comment #41459529
That's incredibly clever, generators are underrated. I once challenged my friend to do leetcode problems with only expressions. Here's levenshtein distance, however it's incredibly…
-
comment
Comment #41459200
I guess for most purposes, OrderedDicts are then obsolete, but I believe there are some extra convenience methods that they have, but I've only really needed to preserve order. Mak…
-
comment
Comment #41459103
I find converting things from map objects or filter objects back to lists to be a bit clunky. Not to mention chaining operations makes it even more clunky. Some syntatic sugar woul…
-
comment
Comment #41457315
Dictionary comprehensions can be very elegant. List and dictionary comprehensions are very powerful and expressive abstractions. In fact, while not good practice you can pretty muc…
-
comment
Comment #41453390
There in lies another reason why OrderedDicts are still useful even in 3.12
-
comment
Comment #41453219
I work with different versions of Python3 (and 2 unfortunately) and some code is still in 3.6, hence I used OrderedDicts.
-
comment
Comment #41453048
I find defaultdict, OrderedDict, namedtuple among other data structures/classes in the collections module to be incredibly useful. Another module that's packaged with the stdlib th…
-
comment
Comment #39622631
Definitely very excited to see this be a thing. Genuinely liked the approach to make function calls strongly typed and rely on functional programming principles. During my senior y…
- story
- story
-
comment
Comment #38500553
I’m always amazed by the level of the discussions on Signals and Threads. I especially enjoyed hearing about the challenges with performance engineering in OCaml versus C++. The wo…
- story
- story