How to build real template class?
-
It is NOT template TYPE by definition, it is Qt miss use of a term.
That's simply wrong, @AnneRanch.
The misunderstanding is entirely on your side.As @Asperamanca indicated, the term "template" is standard English vocabulary. If you reserve it exclusively for what is a template in C++, you limit your own vocabulary.
The documentation page you referred, is truly outdated, but it doesn't contain anything wrong. It uses word "template" in two different contexts:
- TEMPLATE directive of qmake
- creating a class definition, following a template (as @Asperamanca already explained)
The page does not contain any mention of the term "template" in C++ code. That makes the context pretty obvious for any C++ programmer, beginners included.
-
@AnneRanch said in How to build real template class?:
I disagree , especially when it is " for beginners" .
CheersI agree that the conflict of terms here is a bit unfortunate. Then again, I cannot come up with a more fitting term for "template" in this context. If you have a better idea, you can also write documentation suggestion to bugreports.qt.io
-
@Asperamanca said in How to build real template class?:
I cannot come up with a more fitting term for "template" in this context
I can think of another term (don't know if better or not), but I'm not allowed to comment :)))
The first part is a color, the second part of the word is what a certain I/O device does :))) -
@Redman
C'mon, ever seen a yellow fax?
He meant orange jam, obviously. -
@Axel-Spoerl said in How to build real template class?:
He meant orange jam, obviously.
Actually I was referring to commonly used term "reddisplay".
... but I agreed to @Redman so he wouldn't feel bad :))) -
bluescreen :-)
-
I got it: Black Label!
Edit: Green Card. -
This took me exceedingly long to get omfg.
-
@AnneRanch said in How to build real template class?:
The issue brought up here is far from the most objectionable thing on that page. I mean, have you seen THIS nonsense?
Qt (pronounced as "cute", not "cu-tee")
Not just no, but HELL no!
-
-
@FeRDNYC said in How to build real template class?:
Not just no, but HELL no!
You are only figuring that out now? Right from the get go (some 20 years ago) I already heard that the "official" pronunciation is "cute". Haven't adapted it yet... (I also don't say "cu-tee" because I'm German and it sounds more like "koo-teh".)
Others have already played off this: There is a web toolkit for C++ heavily borrowing from Qt. It is called Wt (pronounced "witty").
-
I'm never going to pronounce it cute, gun to my chest and all
-
@J-Hilk said in How to build real template class?:
I'm never going to pronounce it cute, gun to my chest and all
SRSLY.
I resisted 30-odd years ago when they tried to convince us that SCSI was pronounced "sexy" (in fairness, so did everyone else), and I shall be no less resolute against this affront! "Cue tee" is the hill I'm willing to die on.