Article View: comp.lang.c++
Article #990Re: [meta] O tempora, o mores! (was Re: does an expression in a logical statement need parenthesis for proper evaluation?)
From: Ross Finlayson
Date: Sun, 22 Nov 2026 17:24
Date: Sun, 22 Nov 2026 17:24
155 lines
9793 bytes
9793 bytes
On 11/22/2026 09:04 AM, Ross Finlayson wrote: > On 11/22/2026 08:50 AM, Ross Finlayson wrote: >> On 11/22/2026 03:03 AM, David Brown wrote: >>> On 21/11/2026 23:32, Chris M. Thomasson wrote: >>>> On 11/21/2026 3:30 AM, David Brown wrote: >>>>> On 21/11/2026 01:49, Chris M. Thomasson wrote: >>>>>> On 11/19/2026 11:40 PM, David Brown wrote: >>>>>>> On 19/11/2026 22:53, Keith Thompson wrote: >>>>>>>> David Brown <david.brown@hesbynett.no> writes: >>>>>>>> [...] >>>>>>>>> For example, it does >>>>>>>>> not >>>>>>>>> matter if they refer to a constant 1234 as an "integer literal" >>>>>>>>> (the >>>>>>>>> term in C23 and C++, IIRC), an "integer constant" (the term in C >>>>>>>>> prior >>>>>>>>> to C23), or non-standard but obvious terms like a "literal int" or >>>>>>>>> "explicit integer in the source code". >>>>>>>> [...] >>>>>>>> >>>>>>>> C23 still uses "integer constant". The C2y drafts change that to >>>>>>>> "integer literal". >>>>>>>> >>>>>>> >>>>>>> Thanks for the correction. >>>>>>> >>>>>> >>>>>> This is one reason why you are a good person. >>>>> >>>>> It's just facts - you don't need to be a good person to accept that >>>>> you've made an indisputable mistake! >>>> >>>> Why do some people get extremely pissed off when somebody points out a >>>> mistake in their work? >>>> >>> >>> I suppose it is often that what counts as a "mistake" can be subjective. >>> Most things don't have a simple black-or-white distinction between >>> "right" and "wrong". For a factual error like this, however, the only >>> person I could be pissed off at is myself - /I/ made the mistake. But >>> while I can certainly get frustrated with my own mistakes, something >>> like this is easy done, and easily fixed. If I made such errors >>> regularly, and regularly got corrected for them, then I'd take that as a >>> sign that I need to check more before posting - not a sign to get >>> annoyed at the people correcting me. >>> >>> Sometimes, however, corrections like this can distract too much from the >>> subject under discussion. It is annoying if you have put a lot of >>> effort into a post that you think is useful or interesting, and all you >>> get in reply is a correction of a minor detail. This thread branch has >>> long ago ceased to be particularly useful or interesting, so no risk >>> there! >>> >> >> >> Tabs or spaces? >> >> Here it's mostly 4-indent spaces, since when there are tabs and spaces >> then inevitably someone will paste tabs that they think look like >> spaces, where whitespace is insignificant in usual languages with >> punctuation for syntax, where though that languages like "Python" >> or data-formats like "Yaml" where nesting is indentation after >> statements are always one-liners, those are often enough "opinions". >> >> The "strongly-opinionated" is a usual account, about the fallacy of >> infallibility, here that the "fallacy of infallibility", is about >> that some people have a hard time with criticism since if they're >> wrong at all then they lose their un-challenged authority. >> >> I imagine it's different for sensitive-sorts or the ones where >> their "copers" are fragile, if hopefully functional, coping with >> difficulty, coping with challenge, overloaded copers. >> >> "Power trippers" and "control freaks" though, those are more >> basically fallacious about a "fallacy in infalliblity", which >> applies to empirical reasoning directly its account of weakness. >> >> >> Then, sometimes it's two-spaces in data or structs then four-spaces >> in code, about readability, yet that's not configurable then that >> for the editor, many have gone to two-spaces, yet, oncely it was >> more than less standard that tab-stops were also 8-spaces, yet >> mostly these days it's not 8-spaces to tabs instead of spaces stick >> out, then often there are "code formatters" after rules for "code style" >> that enforce whitespace characters for example in code review or >> according to the IDE, yet here it's so that anybody who checks >> in their IDE settings gets added to .gitignore and those deleted. >> >> > > I think we can remember that once-upon-a-time that Google-style > was "tabs" not "spaces", since it mostly followed "Java-style" > since "K & R style", then that Google got all opinionated and > "2-space indent the everything". Here it's mostly after Java-style > though there's pretty much a compatible subset, though Java-style > also was once "tabs not spaces", here though that it's only in > recent years the formatting: "if the signature has more than > two parameters, break them out into lines", which now much of > the formatters (or "pretty-printers") will support. Then, > for example there's "blank line at the end of a file or no blank line", > for example Java-style has "no trailing line", here it's that > the files always have a trailing empty line, then that for > accounts like "cat all the files" that they're not ellided. > > We have "dotfiles" for that. > > I think "long-lines" are for people who only read one line > at a time, while "bracketed blocks" are for people who read > files at a time, basically "horizontal monitors" versus > "vertical monitors", since I think we can all remember > when the "Radius" monitor swiveled among aspect-ratios. > > (I'm a "vertical monitor" type, yet, whatever works, > terminal runs in whatever just fine since "VT100", > though, most will aver that xterm then xterm-256color > are ergonomic.) > > > Anyways the "fallacy of infallibility" is why the > most eruptive rejections of criticism occur. > > The "Markdown" format is very popular these days, much because as a document format that polyglot-prettyprinters make syntax-highlighting and code snippets and otherwise a model of hypertext and shell integration, addressing several audiences, that it's opinionated and considered nicely-opinionated, while yet it's plain text, where for example in settings like these or "old fashioned Internet messages", vis-a-vis "document formats" of any sort, like since DocBook, or various accounts of professional typesetting since things like PostScript after Linotype and TeX and the like, about Postscript/Laserjet/TrueType/OpenType fonts and so on, and document flow and usual accounts like HTML's account of hyper-text, these sorts of common denominators like "the project builds from the shell" vis-a-vis "the build lifecycle" and "keep your grubby plugins out of the build, or, pick one", vis-a-vis things like "schema-driven generation" and the like, anyways everybody knows that only plain-text files go in the repo else there are "large files" for that. Among reasons why there are strong opinions about plain-text is that for example PostScript is Turing-complete and not including usual accounts of well-known bugs in input validation like "the Freddy Krueger GIF" that black-screened usual libraries, for example when libtiff had a vuln, vis-a-vis less well-known accounts of XML and XSD things like "SMIL" and so on which are considered nefarious and surreptitious vulnerability-through-obscurity. Anyways the easiest way to upset a control freak is prove them wrong.
Technical Details
Message-ID:
<ocOdnXnPiIn0uJ72nZ2dnZfqn_idnZ2d@giganews.com>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!weretis.net!feeder9.news.weretis.net!border-4.nntp.ord.giganews.com!nntp.giganews.com!local-3.nntp.ord.giganews.com!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mailReferences:
<11cj4a0$23796$1@dont-email.me> <2eacnY2oHImorWb3nZ2dnZfqnPudnZ2d@giganews.com> <11dg2uf$3vgth$1@kst.eternal-september.org> <-OqdnSRYr8ZbiGH3nZ2dnZfqn_GdnZ2d@giganews.com> <11diid8$q4aj$2@kst.eternal-september.org> <jzadncOUl7VebWH3nZ2dnZfqn_WdnZ2d@giganews.com> <11djku9$14q9v$1@dont-email.me> <11djohu$s03n$5@dont-email.me> <11djsoh$17he7$1@dont-email.me> <JzOdnc2k5ZGeHmD3nZ2dnZfqn_qdnZ2d@giganews.com> <11dl9ou$1p00u$1@kst.eternal-september.org> <11dm94c$21u9i$1@dont-email.me> <11dmbq9$s03n$7@dont-email.me> <11dmhg2$24tb6$1@dont-email.me> <11dmib8$s03n$9@dont-email.me> <11dmqbl$289i4$1@dont-email.me> <11dmu0s$s03n$10@dont-email.me> <11dmuv3$2a3c0$1@dont-email.me> <11dnr4c$2lhv9$1@kst.eternal-september.org> <11doth7$2vhee$1@dont-email.me> <11dqpqg$3masv$2@dont-email.me> <11drvdj$12fg$1@dont-email.me> <11dt66g$fjb5$2@dont-email.me> <11dui6a$scjp$1@dont-email.me> <SpOcnXL7lP_FgJ72nZ2dnZfqn_idnZ2d@giganews.com> <RdadnUbexs0JvZ72nZ2dnZfqnPednZ2d@giganews.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!weretis.net!feeder9.news.weretis.net!border-4.nntp.ord.giganews.com!nntp.giganews.com!local-3.nntp.ord.giganews.com!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Sun, 22 Nov 2026 17:24:57 +0000 Subject: Re: [meta] O tempora, o mores! (was Re: does an expression in a logical statement need parenthesis for proper evaluation?) Newsgroups: comp.lang.c++,comp.lang.c References: <11cj4a0$23796$1@dont-email.me> <2eacnY2oHImorWb3nZ2dnZfqnPudnZ2d@giganews.com> <11dg2uf$3vgth$1@kst.eternal-september.org> <-OqdnSRYr8ZbiGH3nZ2dnZfqn_GdnZ2d@giganews.com> <11diid8$q4aj$2@kst.eternal-september.org> <jzadncOUl7VebWH3nZ2dnZfqn_WdnZ2d@giganews.com> <11djku9$14q9v$1@dont-email.me> <11djohu$s03n$5@dont-email.me> <11djsoh$17he7$1@dont-email.me> <JzOdnc2k5ZGeHmD3nZ2dnZfqn_qdnZ2d@giganews.com> <11dl9ou$1p00u$1@kst.eternal-september.org> <11dm94c$21u9i$1@dont-email.me> <11dmbq9$s03n$7@dont-email.me> <11dmhg2$24tb6$1@dont-email.me> <11dmib8$s03n$9@dont-email.me> <11dmqbl$289i4$1@dont-email.me> <11dmu0s$s03n$10@dont-email.me> <11dmuv3$2a3c0$1@dont-email.me> <11dnr4c$2lhv9$1@kst.eternal-september.org> <11doth7$2vhee$1@dont-email.me> <11dqpqg$3masv$2@dont-email.me> <11drvdj$12fg$1@dont-email.me> <11dt66g$fjb5$2@dont-email.me> <11dui6a$scjp$1@dont-email.me> <SpOcnXL7lP_FgJ72nZ2dnZfqn_idnZ2d@giganews.com> <RdadnUbexs0JvZ72nZ2dnZfqnPednZ2d@giganews.com> From: Ross Finlayson <ross.a.finlayson@gmail.com> Date: Sun, 22 Nov 2026 09:24:44 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <RdadnUbexs0JvZ72nZ2dnZfqnPednZ2d@giganews.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <ocOdnXnPiIn0uJ72nZ2dnZfqn_idnZ2d@giganews.com> Lines: 155 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-0K2GgSJqotNyYd0na5hEpADgvE/0BMuUYrDCX1MTgPPVJzt7B/t6Xnzfh0jJFrPZo13Qb5Z0jX/I5cf!vLx0hpoHf0gtGPSAQ9qia4Z+V5zkR3HytWShhOtJbcVfWCOzdciXE8XL8N9Pff55BqDYsy8yLcWi X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40