Did you know? DZone has great portals for Python, Cloud, NoSQL, and HTML5!

refactoring

  • submit to reddit

Opportunistic Refactoring by Martin Fowler

The DevOps Zone is presented by ThoughtWorks Studios and UrbanCode to bring you the most interesting and relevant content on the DevOps movement.  See today's top DevOps content and be sure to check out ThoughtWorks Studio's Continuous Delivery Whitepapers and UrbanCode's Webinars.

From the very beginning of when I started to talk and write about refactoring people have asked me how it should be incorporated into the wider software development process. Should there be refactoring phases in the software development lifecycle, what...

0 replies - 6719 views - 11/01/11 by Martin Fowler in Articles

Tell, Don't Ask in the case of a web service

This is a language agnostic post: it is valid for each object-oriented imperative language like Java, C#, PHP. Let's start from the beginning: a web service adapterI had a requirement: downloading posts from a particular group on LinkedIn for analysis of...

8 replies - 4385 views - 10/20/11 by Giorgio Sironi in Articles

Dependency Analysis and the Modularisation of Java Programs

Everybody agrees that modularization is good, but how do we go about transforming a big ball of mud architecture to something like OSGi?   Introduction  

4 replies - 8010 views - 09/22/11 by Jens Dietrich in Articles

RefactoringNG: Bye bye, Hashtable

RefactoringNG (earlier article on DZone here) is a flexible and powerful Java refactoring tool, written as NetBeans module. Below you see how to use it when refactoring Hashtables.

9 replies - 5262 views - 01/13/11 by Zdenek Tronicek in News

What we don't need in object-oriented programming

Once I heard Alberto Brandolini giving a keynote at an Italian conference, saying, between other insights, that Lego bricks where one of the most abused metaphors in software engineering.One of the most abused sayings, instead, is this one:

34 replies - 14168 views - 09/30/10 by Giorgio Sironi in Articles

Coding: Having the design influenced by the ORM

I wrote a few weeks ago about incremental refactoring using a static factory method where we ended up with the following code:public class LookUpKey{ private readonly string param1; private readonly string param2; private readonly string param3; public...

0 replies - 4286 views - 07/06/10 by Mark Needham in News

Avoid Reflection

The Java Reflection API is a very nice feature of the Java language. With the API you can do the magic with Java classes, create an object or call a method on the fly based only on a name. The real Magic! So then, we all should use it all the time, to...

18 replies - 6035 views - 05/14/10 by Lukasz Lenart in News

The Power of Pair Programming

Some weeks ago I started practicing pair programming with some co-workers for two reasons:

7 replies - 6389 views - 02/01/10 by Rafael Naufal in Articles

Flexible Code Analysis Tool Released

SemmleCode Professional Edition is a flexible code analysis tool that helps you explore unfamiliar code bases, identify refactoring opportunities, do an automated code review, and visualize dependencies. SemmleCode is an Eclipse plugin, and it takes just a...

0 replies - 1095 views - 03/16/09 by Oege de Moor in Announcements

Code Refactoring - Freaking Awesome

We have all gone back and looked at code we wrote in the past and thought "Wow, this is ugly.", or "wtf was I thinking?", or even "I wrote this yesterday, and I have no idea what it does." Refactoring is the process of going back...

13 replies - 17045 views - 01/16/09 by Mike Bernat in News

JetBrains Has Released IntelliJ IDEA 8

IntelliJ IDEA 8 supports the widest range of modern tools, frameworks and technologies, right out of the box. You can make it as lightweight as you want - it is easily tuned to your specific needs and does not overload you with what you don’t use at the...

0 replies - 6067 views - 11/07/08 by Irina Megorskaya in Announcements

LiquiBase 1.8.0

LiquiBase 1.8.0 has been released and can be downloaded from http://www.liquibase.org/download.  LiquiBase is a database-independent LGPL Java library for managing and applying database changes. Major changes in 1.8.0 include:

0 replies - 2913 views - 09/20/08 by Nathan Voxland in Announcements

Are static typing and refactoring really connected?

One of the main problems brought out when comparing dynamic languages to static ones is lack of proper refactoring support. It is usually implied that dynamic languages are not conceptually refactorable, which speeds up code rotting.

0 replies - 3803 views - 08/11/08 by Jevgeni Kabanov in Articles

LiquiBase 1.7.0

It is LiquiBase 1.0's first birthday, but you get the gift: LiquiBase 1.7.0 is now available. LiquiBase is a Java-based LGPL-licensed database change management tool.Short (6 minutes) overview of LiquiBase and its capabilities: Major changes include:

0 replies - 2791 views - 06/26/08 by Nathan Voxland in Announcements