Talk:PtrInt

From Lazarus wiki
Revision as of 00:00, 29 January 2022 by Kai Burghardt (talk | contribs) (→‎Pronunciation: add response)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Pronunciation

I'm a bit curious: who decided that ptrInt should be pronounced as “Peter Int” and ptrUInt as “Pee true Int”?
Does this info (even if it somehow could be correct) belong in the wiki? --Bart (talk) 19:04, 26 January 2022 (CET)

The programmer who chose that identifier (implicitly) determined its pronunciation. 🤔
I find it helpful: For instance, an encyclopedic article on NATO should include its pronunciation, otherwise someone might always spell it out. I mean, I suppose you could say “Pee Tee Arr Int”, too, but it doesn’t really roll off the tongue as “Peter Int” does, right? I think, especially non-native speakers appreciate such hints.
Kai Burghardt (talk) 00:29, 27 January 2022 (CET)
Who ever tries pronouncing ptrInt or ptrUInt as "self-contained words" ? I checked with a few professional programmers with whom I used to work and they laughed and thought I was making some sort of joke. I always read it as "pointer to Int" and "pointer to Unsigned Int". Trev (talk) 05:39, 27 January 2022 (CET)
Except that it is not a (Modula‑2) pointer to int (but pInteger is). You’ve probably set too much a focus on the individual words that resemble the pronunciation of ptrInt/ptrUInt. Obviously this data type has nothing to do with a guy named Peter or with peeing, but if you phrased it like that, I’d chuckle a bit, too. ‑‑Kai Burghardt (talk) 15:46, 27 January 2022 (CET)
IMO just remove it.--Bart (talk) 16:42, 27 January 2022 (CET)
There are actually already a couple articles indicating pronunciation. Some are too trivial (“+” is pronounced as “plus”, wow, “thanks” Sherlock), but in this particular case I think it’s beneficial. Kai Burghardt (talk) 00:00, 29 January 2022 (CET)