by Spike » Sun Feb 05, 2012 12:37 pm
qc has inheritance, it has virtual functions, how does that prohibit OO coding?
we can make it more like pascal instead, if you would prefer that?
while you'd not focus a degree upon quakec, it might actually be quite useful if it was taught within the first year of a degree - however, it would *need* to be cleaned up a heck of a lot to remove all the globals...
the absolutely great thing about quakec is that a) its fairly simple, no pointers, structures, etc keeps the syntax simple. b) its results are highly visual - you can make a change and directly see the difference that it makes. c) its for a friggin game - makes it far more interesting for idiots who don't want to work.
Frankly, all the caveats will at least teach students that no language is perfect, which will hopefully avoid all the MUST USE CLASSES EVEN FOR A SINGLE LINE OF CODE!!! fanboyisms, because that sort of thing makes code utterly unreadable.
.