Difference between revisions of "Talk:PtrInt"
From Free Pascal wiki
Jump to navigationJump to search (reply, insert heading) |
(→Pronunciation: add response) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
== Pronunciation == | == Pronunciation == | ||
− | I'm a bit | + | I'm a bit curious: who decided that ptrInt should be pronounced as “Peter Int” and ptrUInt as “Pee true Int”?<br> |
Does this info (even if it somehow could be correct) belong in the wiki? --[[User:Bart|Bart]] ([[User talk:Bart|talk]]) 19:04, 26 January 2022 (CET) | Does this info (even if it somehow could be correct) belong in the wiki? --[[User:Bart|Bart]] ([[User talk:Bart|talk]]) 19:04, 26 January 2022 (CET) | ||
: The programmer who chose that identifier (implicitly) determined its pronunciation. 🤔<br/>I find it helpful: For instance, an encyclopedic article on [https://en.wikipedia.org/wiki/NATO 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.<br/>[[User:Kai Burghardt|Kai Burghardt]] ([[User talk:Kai Burghardt|talk]]) 00:29, 27 January 2022 (CET) | : The programmer who chose that identifier (implicitly) determined its pronunciation. 🤔<br/>I find it helpful: For instance, an encyclopedic article on [https://en.wikipedia.org/wiki/NATO 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.<br/>[[User:Kai Burghardt|Kai Burghardt]] ([[User talk: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". [[User:Trev|Trev]] ([[User talk:Trev|talk]]) 05:39, 27 January 2022 (CET) | ||
+ | ::: Except that it is ''not'' a (Modula‑2) <syntaxhighlight lang="text" inline>pointer to int</syntaxhighlight> (but {{Doc|package=RTL|unit=system|identifier=pinteger|text=<syntaxhighlight lang="delphi" inline>pInteger</syntaxhighlight>}} is). You’ve probably set too much a focus on the individual words that ''resemble'' the pronunciation of <syntaxhighlight lang="delphi" inline>ptrInt</syntaxhighlight>/<syntaxhighlight lang="delphi" inline>ptrUInt</syntaxhighlight>. 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. ‑‑[[User:Kai Burghardt|Kai Burghardt]] ([[User talk:Kai Burghardt|talk]]) 15:46, 27 January 2022 (CET) | ||
+ | ::::IMO just remove it.--[[User:Bart|Bart]] ([[User talk:Bart|talk]]) 16:42, 27 January 2022 (CET) | ||
+ | ::::: There are actually already a couple articles [[Special: Search/pronounc*|indicating pronunciation]]. Some are too trivial (“+” is pronounced as “plus”, wow, “thanks” Sherlock), but in this particular case I think it’s beneficial. [[User:Kai Burghardt|Kai Burghardt]] ([[User talk:Kai Burghardt|talk]]) 00:00, 29 January 2022 (CET) |
Latest revision as of 01:00, 29 January 2022
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
(butpInteger
is). You’ve probably set too much a focus on the individual words that resemble the pronunciation ofptrInt
/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)
- IMO just remove it.--Bart (talk) 16:42, 27 January 2022 (CET)
- Except that it is not a (Modula‑2)
- 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)