Overview
| Artifact ID: | 70fb5fc86df2d7b91a7dde92a64dadef63ca94b4f7fc03b6e48747fea5e04c5f |
|---|---|
| Ticket: | b204c13b2b2335a6baf8fa1a3c6a627432380012
Incompatibility between 8.6 and 8.7 with underscores in numerics |
| User & Date: | jan.nijtmans on 2023-08-25 16:58:23 |
Changes
- icomment:
Understood (but not agreed) When doing comparisons while one argument is known to be a string, the eq/ne are prefered over ==/!=. This example shows why this should be done. Should TIP #472 have been rejected as well? Example: In 8.6 ``` % expr {10 == "0d10"} 0 ``` In 8.7 ``` % expr {10 == "0d10"} 1 ``` In my view, TIP's #472 and #551 are OK. The documentation should - maybe - be improved, stressing more why eq/ne operators should be used for string comparison. Since those TIP's are already accepted, the only way to undo those are a follow-up TIP. I don't think such a TIP would be accepted (I wouldn't). Sorry. - login: "jan.nijtmans"
- mimetype: "text/x-markdown"