the_gneech: (Six Million Dollar Man)
[personal profile] the_gneech
"No, no, the 'login' method is a property of the 'user' class!"

"Er, it's not a piece of the 'login' page?"

"Of course not, don't be ridiculous."

"Oh. Erm. So user.login() equals--"

"mUser."

"mUser?"

"Yes, we're going to make a private variable inside the login method that has the same value as 'user'."

"Oh. Um. Where's that again?"

"You forgot to put -dim- in front of it."

"I thought it didn't need -dim- as long as it had -private-."

"No, -private- is an attribute."

"Oh. Um. Let's see that sample code again?"

Still, I can generally follow what's going on, even if I'm not quite there with the 'creating a new piece of code' bit yet. But I'll get there! I've only been at it four days, after all.

-The Gneech

Date: 2006-08-04 04:54 pm (UTC)
From: [identity profile] blacktigr.livejournal.com
Good luck with that. Object Oriented stuff has never made any sense to me. I understand inheritance and classes, but the syntax puts me right off.

I had to dive into a database this morning to undelete something. `twas amusing.

Today, I get to put up our institute's wiki. Fun times all around. ;)

Date: 2006-08-04 05:11 pm (UTC)
From: [identity profile] the-mcp.livejournal.com
This is why I avoid object-oriented stuff like the plague. It may be a neat idea in theory, but the implementation is so utterly brain-damaged, non-intuitive, and unnecessarily complicated that it just makes no sense.

(Actually, this is probably why I avoid PC programming in general these days, and just stick to 8-bit microcontrollers... :) )

Date: 2006-08-04 05:32 pm (UTC)
From: [identity profile] exatron.livejournal.com
Some of that sounds screwy even for object oriented programming. At least sample code means you have something to play with as you figure the stuff out.

Date: 2006-08-04 06:08 pm (UTC)
From: [identity profile] dilletante.livejournal.com
i'm tempted to start making jokes about property as a means of maintaining the separation of classes, and workers' ownership of the means of production, but you might get mad. :)

Date: 2006-08-04 07:35 pm (UTC)
From: [identity profile] jonasbagel.livejournal.com
Sounds like a job for Dover. X)

Date: 2006-08-04 11:17 pm (UTC)
From: [identity profile] goodluckfox.livejournal.com
Well GOSH, Gneech, EVERYBODY knows THAT *rolleyes*

(and runs like hell) :)

Date: 2006-08-05 02:32 am (UTC)
From: [identity profile] hossblacksilver.livejournal.com
Almost sounds like something Abbot and Costello would be doing if they where still alive today.

Date: 2006-08-17 10:52 pm (UTC)
From: [identity profile] elektron.livejournal.com
Ewwwww! VB!

(VB is one of the worst attempts at retrofitting bits of OO into an already horrible language)

April 2025

S M T W T F S
  1 2345
6789 101112
13141516171819
20 212223242526
27282930   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Mar. 28th, 2026 08:44 pm
Powered by Dreamwidth Studios