File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Can you program in a non-OO way? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Can you program in a non-OO way?" Watch "Can you program in a non-OO way?" New topic

Can you program in a non-OO way?

Andrew Polshaw

Joined: Feb 15, 2002
Posts: 1
I've been bashing together lots of classes lately and it occurred to me that I don't want to stop using classes and other OO techniques. I like thinking on my applications in that way. A few lines in a non-OO scripting language is okay, but I'd even avoid JavaScript because it is too procedural.
Does everyone else feel the same? Or does the rigidity of OO programming get under your skin so you just love to free yourself from the shackles form time-to-time and develop in Perl, or JavaScript, or otherwise?
Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
hmmmm . . . I think you are describing the symptoms of Mad Cow disease .
Or perhaps that is Mad Moose Disease .

"JavaRanch, where the deer and the Certified play" - David O'Meara
Ilja Preuss

Joined: Jul 11, 2001
Posts: 14112
Well, I would almost always prefer OOP over procedural programming - OTOH other paradigms like declarative programming (e.g. Prolog) or functional programming (e.g. Lisp) are fun to program in, too!

The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
I just like to solve problems and build toys.
Somewhere in there folks keep telling me what language I have to do that in today. I am having fun with OO right now.
Tomorrow it will probably be something entirely different .
I agree. Here's the link:
subject: Can you program in a non-OO way?
It's not a secret anymore!