• 0 Posts
  • 40 Comments
Joined 1 year ago
cake
Cake day: June 27th, 2023

help-circle





  • One problem with exceptions is composability.

    You have to rely on good and up-to-date documentation or you have to dig into the source code to figure out what exceptions are possible. For a lot of third party dependencies (which constitute a huge part of modern software), both can be missing.

    Error type is a mitigation, but you are free to e.g. panic in Rust if you think the error is unrecoverable.

    A third option is to have effect types like Koka, so that all possible exceptions (or effects) can be checked at type level. A similar approach can be observed in practical (read: non-academic) languages like Zig. It remains to be seen whether this style can be adopted by the mainstream.










  • Zizek’s take on 300 is so good, here’s an excerpt:

    it is the story a small and poor country (Greece) invaded by the army of a much larges state (Persia), at that point much more developed, and with a much more developed military technology - are the Persian elephants, giants and large fire arrows not the ancient version of high-tech arms? When the last surviving group of the Spartans and their king Leonidas are killed by the thousands of arrows, are they not in a way bombed to death by techno-soldiers operating sophisticated weapons from a safe distance, like today’s US soldiers who push the rocket buttons from the warships safely away in the Persian Gulf? Furthermore, Xerxes’s words when he attempts to convince Leonidas to accept the Persian domination, definitely do not sound as the words of a fanatic Muslim fundamentalist: he tries to seduce Leonidas into subjection by promising him peace and sensual pleasures if he rejoins the Persian global empire. All he asks from him is a formal gesture of kneeling down, of recognizing the Persian supremacy - if the Spartans do this, they will be given supreme authority over the entire Greece. Is this not the same as what President Reagan demanded from Nicaraguan Sandinista government? They should just say “Hey uncle!” to the US…






  • Being a jerk in Obsidian games is fun. I used to do every small errand to please everyone, mainly for the rewards, but then found out as long as you can figure out the main mechanism, most tasks are optional.

    Being more assertive really amps up the role playing aspect. Sadly not every RPG is this open and well-written.