...

shlurpy

228

Karma

2021-10-23

Created

Recent Activity

  • Rusts error handling is almost identical to checked exceptions in practice. The reason it works is because there is no real equivalent to easily handle-able unchecked exceptions, and because macros and sum types make it very easy to wrap a lower level error in your higher level error and rethrow.

    Basically, checked exceptions could have worked, if they were the only type, and had better ergonomics of use, and a language culture that emphasized correctness more.

    Checked exceptions were wrong for Java, but that does not mean they are wrong universally.

  • Empirically, most people care more about making the trip efficiently then how exactly it's done. If all those people are motivated to not use cars, think of how much less traffic there will be for everyone else? It turns out that bike and pedestrian friendly cities are also some of the most car friendly ones for this reason.

    https://m.youtube.com/watch?v=d8RRE2rDw4k

  • That's one of the purposes of government regulatory agencies. Laws could be enforced entirely through courts, but regulators can fine on behalf of the ordinary people instead of those wealthy enough to sue.

  • What would being held in contempt mean? It seems to be just another fine.

  • Somethinf that would require the attention of thr intelligence services, like, say, getting an unwanted pregnancy in America. The government can and does change its standards, and the tools that can be used against you will be used against you.

HackerNews