aspose file tools*
The moose likes Beginning Java and the fly likes Do You Know Writing Maintable Code? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Do You Know Writing Maintable Code?" Watch "Do You Know Writing Maintable Code?" New topic

Do You Know Writing Maintable Code?

Serap Elbeyoglu
Ranch Hand

Joined: Feb 12, 2010
Posts: 52
Hello to everyone,

Let's share our ideas about writing flexible codes.

Q: Why should we write flexible code?

A: Your program will live much longer.

What do you think? What are the tips for writing flexible codes?

Serap Elbeyoglu
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 13875

What do you mean by "flexible code"?

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Jeanne Boyarsky
internet detective

Joined: May 26, 2003
Posts: 29245

I think you mean maintainable code that is easy to extend.

[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Serap Elbeyoglu
Ranch Hand

Joined: Feb 12, 2010
Posts: 52
You are right Jeanne, I mean maintainable code. I suppose the topic has become clearer Jesper. We will be happy if you share your experiment about tips for writing maintainable code.

Thank you.
Joachim Rohde
Ranch Hand

Joined: Nov 27, 2006
Posts: 423

The following article is a quite nice reading: How to write unmaintainable code
I know that it answers exactly the opposite question.
Else I suggest the book "Code Complete" from Steve McConnell which is worth it's weigth in gold.
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 36501
I had forgotten about that article, Joachim Rohde. It is well worth reading.
Serap Elbeyoglu
Ranch Hand

Joined: Feb 12, 2010
Posts: 52
Joachim Rohde, is a great article to understand both maintainable and unmaintainable code writing. Thank you so much for your sharing. It can help many of us, especially who have huge questions about Java Programing Language.

I agree. Here's the link:
subject: Do You Know Writing Maintable Code?
Similar Threads
JavaBeans - Am I missing out on something?
What's the benefit of using those available Java frameworks
Possible issue with Java 7