Click here to Skip to main content
15,914,419 members

The Weird and The Wonderful

   

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrassing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
GeneralRe: It's the thought that counts Pin
Megidolaon24-Mar-09 2:11
Megidolaon24-Mar-09 2:11 
GeneralVB Select Case statement incarnation of C# if (true = [condition]) Pin
David St. Hilaire14-Mar-09 6:36
David St. Hilaire14-Mar-09 6:36 
GeneralRe: VB Select Case statement incarnation of C# if (true = [condition]) Pin
Lutosław14-Mar-09 7:42
Lutosław14-Mar-09 7:42 
GeneralRe: VB Select Case statement incarnation of C# if (true = [condition]) Pin
David St. Hilaire14-Mar-09 10:34
David St. Hilaire14-Mar-09 10:34 
GeneralRe: VB Select Case statement incarnation of C# if (true = [condition]) Pin
Lutosław14-Mar-09 15:08
Lutosław14-Mar-09 15:08 
GeneralRe: VB Select Case statement incarnation of C# if (true = [condition]) Pin
supercat916-Mar-09 7:20
supercat916-Mar-09 7:20 
GeneralRe: VB Select Case statement incarnation of C# if (true = [condition]) Pin
Mark Hurd16-Mar-09 15:14
Mark Hurd16-Mar-09 15:14 
RantThe Horror... [modified] Pin
Megidolaon13-Mar-09 1:42
Megidolaon13-Mar-09 1:42 
So, I'm doing a C++ class.
As I taught myself a few things in C++ and am a prper C# programmer, the first of three months is nothing but child's play.

But the problem is the teacher.
Whenever I try to do something like it's donw right, using good practices, he tell me it's not right in his course and after a short discussion where I try to tell him how it's done properly, he always says "but not in my class". D'Oh! | :doh:

Every time I ask him something a tad more advance then what he's currently teaching, he complains about me using such advanced techniques and makes me use some beginner's stuff that is plain wrong. Unsure | :~

The best is that he always complains and argues about my data encapsulation.
It started when he told me get and set methods were bad and I should always make every meber public, except the rare case that I have actual checking done in these methods. Sigh | :sigh:

And now, I created a program for the current project with a 3 tier architecture, data, console in/output and file in/output.
Yet he tells me I shouldn't and it's wrong and made me dump all methods into the data classes. Dead | X|

I tried to explain him that this is the right way, but as always he only tells me what he teaches is right, of course he doesn't have experience working as programmer at all but always only taught it.

I abide, because it takes only a handful minutes for me and I don't want to risk getting a lower grade because I didn't do what he said.

Did I mention that he doesn't even try to understand when don't do things 100% exactly as he says?
He just says "sorry, I don't understand" and leaves, without even looking once at the code.

But, the good part is that it's only one more week.
Monday after next I'll have a new teacher and start with C++ windows programming, I really hope that new teacher isn't such a blockhead.

modified on Friday, March 13, 2009 10:15 AM

GeneralRe: The Horror... Pin
PIEBALDconsult13-Mar-09 6:29
mvePIEBALDconsult13-Mar-09 6:29 
GeneralRe: The Horror... Pin
Lutosław13-Mar-09 11:04
Lutosław13-Mar-09 11:04 
GeneralRe: The Horror... Pin
Megidolaon16-Mar-09 0:52
Megidolaon16-Mar-09 0:52 
GeneralRe: The Horror... Pin
Lutosław13-Mar-09 11:23
Lutosław13-Mar-09 11:23 
GeneralRe: The Horror... Pin
Megidolaon16-Mar-09 0:54
Megidolaon16-Mar-09 0:54 
GeneralRe: The Horror... Pin
Robert Surtees14-Mar-09 10:54
Robert Surtees14-Mar-09 10:54 
GeneralRe: The Horror... Pin
Megidolaon16-Mar-09 0:55
Megidolaon16-Mar-09 0:55 
GeneralRe: The Horror... Pin
killabyte14-Mar-09 21:53
killabyte14-Mar-09 21:53 
GeneralRe: The Horror... Pin
PIEBALDconsult20-Mar-09 18:27
mvePIEBALDconsult20-Mar-09 18:27 
GeneralRe: The Horror... Pin
Member 368078519-Mar-09 6:44
Member 368078519-Mar-09 6:44 
GeneralRe: The Horror... Pin
johnsyd8-Apr-09 21:16
johnsyd8-Apr-09 21:16 
GeneralWTF Name Field [modified*2] Pin
Brady Kelly7-Mar-09 2:47
Brady Kelly7-Mar-09 2:47 
GeneralRe: WTF Name Field [modified*2] Pin
ZaoWuYa9-Mar-09 20:44
ZaoWuYa9-Mar-09 20:44 
GeneralRe: WTF Name Field Pin
Brady Kelly9-Mar-09 23:08
Brady Kelly9-Mar-09 23:08 
GeneralRe: WTF Name Field Pin
ZaoWuYa10-Mar-09 0:10
ZaoWuYa10-Mar-09 0:10 
GeneralRe: WTF Name Field [modified*2] Pin
Nagy Vilmos9-Mar-09 23:26
professionalNagy Vilmos9-Mar-09 23:26 
GeneralRe: WTF Name Field Pin
Brady Kelly10-Mar-09 0:00
Brady Kelly10-Mar-09 0:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.