Ola Fosheim Grøstad:

@warningonuse "some text"

length() @warningonuse "in this class the length-function is O(n), consider xyz instead"

The "@warningonuse" keyword enables text editors to emit symbols on the side of the text with helpful warnings about possible bottlenecks when using libraries.

A @warningonuse("some text") used for editors is just a convention, it needs no language changes.

Bye,
bearophile

Reply via email to