Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: Fresh Wind

I was told by my first Java instructor when I aks for help that I must be some sort of coder. I was stuned. I aks whaut?

The teacher says not only that but I prolly be a pretty good coder. ‘Ceptin’ for one thing: my code was all sequential and totatlly wuthless because of that. I needed to be learnin’ object orientated stuff.

Now I know everything is in a class of one thing or ‘nother. Everyhthing is ethereal until instantiated with specific values to differentiate one Obama from ‘nother.

What be cool ‘bout OOP is you can just shovel the compiler your argument list and it’ll finger out which specific Obama procedure to use based on what the values of the particular arguments you shovel at the procedure.

Overloading is also very cool, in that I don’t have to re-invent the wheel every time I want to make a different kind of coffee. I just feed the “make coffee” procedure with Kopi Luwak beans and inherit the “French Press” sub-routine, but vary the process subtly; it all works out magically with so little effort that its amazing.

I could use the same code and brew coffee using stray-cat poop without much effort and it’d still come out good.

I’m thinkin’ I’m probably losing some of y’all here, but when you take into account not just inheritance, but simultaneously overloading classes, procedure (or methods), but actual operators of arithmetic, things get pretty interesting quickly.


53 posted on 01/13/2012 4:12:55 AM PST by raygun (http://bastiat.org/en/the_law DOT html)
[ Post Reply | Private Reply | To 39 | View Replies ]


To: raygun

I pity the people who don’t understand why that’s so damn funny!


54 posted on 01/13/2012 4:15:30 AM PST by Fresh Wind ('People have got to know whether or not their President is a crook.' Richard M. Nixon)
[ Post Reply | Private Reply | To 53 | View Replies ]

To: raygun

Stray cat poop? I though it was civets...


80 posted on 01/13/2012 7:09:26 AM PST by green iguana
[ Post Reply | Private Reply | To 53 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson