Ask a Question related to Ruby, Design and Development.
-
Hugh Sasse Staff Elec Eng #1
Dynamic typing good practices?
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?
AFAICS the main one seems to be test driven design/development.
Yes, this *can* be applied to statically typed languages, but has
particular merit in languages like Ruby.
Are there others that I really ought to know about?
Hugh
Hugh Sasse Staff Elec Eng Guest
-
Good morning or good evening depending upon your location. I want to ask you the most important question of your life. Your joy or sorrow for all eternity depends upon your answer. The question is: Are you saved? It is not a question of how good you
<RonGrossi382872@yahoo.com> wrote in message news:1114393703.900419.199790@f14g2000cwb.googlegroups.com... This is the most important question of... -
Xcart no good, support no good, need good shopping cart!!!
I need a good quality php shopping cart to port to my site, allowing software downloads and book sales. Integrating ease is really important and... -
Martin DeMello #2
Re: Dynamic typing good practices?
Hugh Sasse Staff Elec Eng <hgs@dmu.ac.uk> wrote:
What I find dynamic languages like Ruby help with is an aggressive> 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?
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
Martin DeMello Guest



Reply With Quote

