I'm a HS junior right now, and while very little I coded 2 years ago is really production-quality, I sure as heck didn't put I WILL SUE notices on code I didn't understand.
Then again, this looks to be a class-type thing. Smart and shared pointers have been implemented before - ever heard of Smart Pointers?
Not to mention, the 2 AP CS classes I took in high school were both more rigorous than the CS 265 class I took at college this summer. The guy wants to take classes at a CSU, which will probably be what I was stuck with, with no regard for prior experience/studies.
sir_steve_h
@sir_steve_h
Best posts made by sir_steve_h
Latest posts made by sir_steve_h
-
RE: Don't copy my work!
-
RE: IE7 Beta 7 released!
Lots of programs skip version numbers. Like Slackware (3 -> 7), or (coughcough) the HTML to PHP converter. ;)
-
RE: Forbes Slideshow
While it is admittedly horribly implemented, the idea of an HTML slideshow is good on the grand scheme of things - you don't need proprietary technologies to display it, which is great in my book. Even if Flash is free, it's still not something you necessarily want on your computer, even if you're a crazy-obsessive Free Software dude.
-
RE: Join? Who needs a join?
I'll admit that this isn't a great way to do this, but if you don't know how joins work, you obviously won't use them. Many PHP/MySQL tutorials skip joins, and once something works, why change it? (Not my line of thought, but one that is undoubtedly employed here).
Last year, I wrote a Web site for my school. It was my first PHP/MySQL project, so I just hacked things together however they happened to go. It was much later that I realized how bad my code was (looked like the stuff here), and I went back and re-wrote the whole thing. ;)
Another question: why put a WHERE clause in there at all, if you're going to select all WHERE 1 (always true)? MySQL automatically picks everything if you skip the WHERE clause, no? Waste of 7 bytes, and probably a little processing power...