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-26 21:09

>>30
OO and class-based programming works good because you can separate your program into neat pieces, and you can work on one piece without such modifications screwing up the other pieces in the process.
For which OO is not even necessary. OO is about functions keeping different states, and class inheritance, which is often (but not necessarily) offered by OO languages. Not less, not more.

Making GUIs in Java is a pain in the ass.
Making GUIs in pretty much anything that's not Visual Basic or similars is a pain in the ass, and doing anything in Java is a pain in the ass, so making GUIs in Java is a pain in the ass squared.

If there is a VB-style way of making GUIs with a .height, a .width, a .left and a .top, I haven't seen it in Java yet
Try HTML, then serve your application through a web server. No, I'm serious. "GUI" in 5 seconds, acceptable for some applications, plus you get a distributed application.

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