Jack Chastain wrote:
> On Fri, Mar 2, 2012 at 1:37 PM, Chris Knadle <[email protected]>wrote:
>
> > On Thursday, March 01, 2012 02:44:48 PM, Jack Chastain wrote:
> > ...
> > > How ... timely. I am taking Intro to Java Programming all this week. It
> > > hurts my head a bit. My old procedural brain just can't flex into the OO
> > > paradigm as easily as it once could do other similar work - like learning
> > > RPN and thinking it was cool.
> >
> > I make you a bet it's not simply the OO parts of Java that are hurting your
> > head, but rather the /event driven/ portions.
>
>
> I am at the stage where I don't know enough about exactly what it is that
> hurts my head. I think it is merely the syntax.
>
> i.e. Object Orientated programs
> > can still be written in a proceedural way, in which case "OO" is simply
> > used
> > as a container for data + code, but the code outside of the objects is
> > still
> > procedural, whereas in event driven programs that isn't the case.
>
>
> Understood (and maybe the examples of an OO designed system being written
> in a procedural way has somethign to do with it?)
>
> Really though, I think it is just a little confusion with commands to
> create things of the sort:
>
> Thing SomeThing = new Thing();
>
> My head keeps saying "Why is Thing in there twice?? It should be once...."
Oh, that has nothing to do with OOP, that's just java being sucky ;-)
>
> I won't even bother mentioning the specification of double or long
> variables against their formatting specifications ... oh wait - I just did.
>
> I am certain that when I hit "Part II" in three weeks, part of the ache
> will have subsided into some small degree of understanding.
>
>
> > When you
> > try to create any kind of GUI, regardless of whether it's C++, Java,
> > Python,
> > etc, it means waiting for the user to do something before acting, and that
> > means event driven programming, and that hurts pretty much anyone's head.
> > ;-)
> >
>
> Oh - I haven't come anywhere NEAR a GUI yet ;-) I've done plenty of those
> though - even "old school" types - and yeah, I have problems with the "
> start pretty much anywhere you want...." concept. Once you get going
> though, it flows pretty well.
>
> I think the biggest issue is - I have pretty much stuck to Shell for the
> past 14 years. Perl before that and database work in various languages
> before that. Sigh. I used to be pretty good at this stuff. Never got a good
> solid grasp on OO thought. It's going to be work. Something about old dog,
> new tricks....
If you're comfortable with perl, you might want to start with perl's OO model
("man perlboot") to help you start thinking that way.
>
> JC
>
> Eschew obfuscation and pompous prolixity.
>
> Light a man a fire, he is warm for the night.
> Light a man afire, he is warm for the rest of his life.
>
=============================================================================
michaelMuller = [email protected] | http://www.mindhog.net/~mmuller
-----------------------------------------------------------------------------
The world is full of security systems. Hack one of them. - Bruce Schneier
=============================================================================
_______________________________________________
Mid-Hudson Valley Linux Users Group http://mhvlug.org
http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug
Upcoming Meetings (6pm - 8pm) Vassar College
Mar 7 - Desktop Shootout - 9th Anniversary of MHVLUG
Apr 4 - An Intro to Chef
May 2 - May 2012 Meeting