Deprecations as They Should Be

With BPatterns, you don’t need a special syntax to search or rewrite code. Any block or any AST node can become a matching pattern. This opens up interesting opportunities to simplify existing users of the rewrite engine. One particularly good candidate is the deprecation mechanism in Pharo . Let’s look at a real example. Deprecations in Pharo Today Consider this recently introduced deprecation in…