Martin DeMello
11/20/2003 3:28:00 PM
Hugh Sasse Staff Elec Eng <hgs@dmu.ac.uk> wrote:
> Once again I have seen a long thread on Dynamic vs Static typing.
> That's OK, it's an important thing to discuss and understand.
> When I was formally taught programming it was with a staticly typed
> language. Had I actually been through a taught course on a
> dynamically typed language this next question would probably not arise:
>
> What are the good programming practices of particular merit for
> dynamically typed languages?
What I find dynamic languages like Ruby help with is an aggressive
elimination of boilerplate code. If I find myself doing the same thing
over again, I usually stop and refactor the code before proceeding; in
the long run it makes the code easier to develop and more maintainable.
martin