Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Exams

Name: Anonymous 2006-12-19 0:33

Hey /prog/

Had a programming examination today. I'm a second year comp. eng student at McMaster in Canada, and man, the kind of grief the exam gave my friends and I was..haha it was rough.

But as I was looking at the questions on the exam (for reference, it was basically Java, & C++), I had to ask myself: "What the hell is so great about OO programming?"

When it comes to Java, it bothers me that all objects are passed by ref, that casts are only checked at run-time, and just, well the overall slugishness I seem to feel when I'm trying to develop code. Is it wrong to feel a lack of interest (and a lack of a good mark) in a course I'm supposed to be enjoying, and paying for out of my own pocket?

I'm not going to pretend I'm a whiz kid at programming, I know there are members of /prog/ who could laugh at the questions had they seen the exam.

Anyways, I wanted to hear from you guys, share your experiences of crappy setbacks in college/uni from comp sci/software eng/comp eng, etc.

Name: Anonymous 2006-12-19 1:26

>>4
It wasn't meant to come across as a troll, I apologize for that.

Passing an object by reference may be cheaper than by value, but I struggle with lists being a collection of object references. If I want a method to return that list, I get stuck with a copy of the same references I sent to the method.

How am I supposed to make sure that object references aren't being shared?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List