merlinofchaos: (little schoolboy)
merlinofchaos ([personal profile] merlinofchaos) wrote2003-05-16 09:50 am

Finals next week

2nd semester's almost over!

And then I take a summer C++ class for 8 weeks.

I expect it will be so ludicrously easy that my worst trouble might be finding it so boring I don't do all the work. On the other hand, I haven't done any actual coding for a long time, so hopefully the projects will be just interesting enough that I want to do them just to write something again.

[identity profile] callicrates.livejournal.com 2003-05-17 07:46 pm (UTC)(link)
There's a third possibility: go way beyond what the professor expects and have fun with it. Use templates. Use abstract classes. Avoid multiple inheritance if possible. Use the STL and namespaces and operator overloading.

I still boggle at the fact that the template stuff in C++ is Turing-complete. This means that (in theory) you can perform any computation at compile time. A friend of mine gave his class the exercise of computing prime numbers and printing them out in the compiler warning messages.

I will not be held responsible if your professor falls over when trying to grade your assignments, but you could certainly have fun.