In Squeak code the method asInteger is very much frequent. We have in Cuis a similar asNumber. But as long as we wish to keep a minimum of compatibility with Squeak, when a package requires SqueakCompatibility it would be better to use Squeak methods, so, to keep asNumber.
In Squeak code the method asInteger is very much frequent. We have in Cuis a similar asNumber. But as long as we wish to keep a minimum of compatibility with Squeak, when a package requires SqueakCompatibility it would be better to use Squeak methods, so, to keep asNumber.