• 2 Posts
  • 14 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.





  • From my understanding, MV3 kills vital features of ad-blockers in that

    1. Some filtering rules do rely on the ability to read the content of the webpage, which can’t be migrated, per the FAQ linked in the article
    2. The declarative API means an update to the rules requires an update to the plugin itself, which might get delayed by the reviewing process, causing the blocker to lag behind the tracker. It might not be able to recover as quickly as uBO in the recent YouTube catch-up round.