3 ms·
If you monkey patch, you get what you paid for - and an annotation at the call site or definition wouldn't help anyway! If not, then we should be able to use t
by throw10920 2y ago
If you monkey patch, you get what you paid for - and an annotation at the call site or definition wouldn't help anyway!
If not, then we should be able to use the type annotations that are being added to also indicate async-ness.
If people decide to code Ruby "blind" (without a smart IDE), then that's their choice. There's no reason why someone using an IDE should have to pay for their decisions. We don't force people to manually and redundantly add names and types of parameters to call sites - it makes equally little sense to do the same for async. If someone decides to use a dumb IDE, then they can read the docs, exactly the same as they do for function parameters.