D 2023-08-25T16:58:23.099 J icomment Understood\s(but\snot\sagreed)\r\n\r\nWhen\sdoing\scomparisons\swhile\sone\sargument\sis\sknown\sto\sbe\sa\sstring,\sthe\seq/ne\sare\sprefered\sover\s==/!=.\sThis\sexample\sshows\swhy\sthis\sshould\sbe\sdone.\sShould\sTIP\s#472\shave\sbeen\srejected\sas\swell?\r\n\r\nExample:\sIn\s8.6\r\n\r\n```\s%\sexpr\s{10\s==\s"0d10"}\s0\s```\r\n\r\nIn\s8.7\r\n\r\n```\s%\sexpr\s{10\s==\s"0d10"}\s1\s```\r\n\r\nIn\smy\sview,\sTIP's\s#472\sand\s#551\sare\sOK.\sThe\sdocumentation\sshould\s-\smaybe\s-\sbe\simproved,\sstressing\smore\swhy\seq/ne\soperators\sshould\sbe\sused\sfor\sstring\scomparison.\r\n\r\nSince\sthose\sTIP's\sare\salready\saccepted,\sthe\sonly\sway\sto\sundo\sthose\sare\sa\sfollow-up\sTIP.\sI\sdon't\sthink\ssuch\sa\sTIP\swould\sbe\saccepted\s(I\swouldn't).\sSorry. J login jan.nijtmans J mimetype text/x-markdown K b204c13b2b2335a6baf8fa1a3c6a627432380012 U jan.nijtmans Z 6596bb2235833a12a353c2e780fdb1c3