Re: dynamic type checking - a pauline conversion?
From: Tsolak Petrosian (tsolakp_at_yahoo.com)
Date: 03/11/04
- Next message: Vladimir Levin: "Re: First Avoid Coding"
- Previous message: Tsolak Petrosian: "Re: Second Dimension of Object Oriented Modelling"
- In reply to: Shayne Wissler: "Re: dynamic type checking - a pauline conversion?"
- Next in thread: Paul Campbell: "Re: dynamic type checking - a pauline conversion?"
- Reply: Paul Campbell: "Re: dynamic type checking - a pauline conversion?"
- Reply: Shayne Wissler: "Re: dynamic type checking - a pauline conversion?"
- Reply: Jochen Riekhof: "Re: dynamic type checking - a pauline conversion?"
- Reply: JXStern: "Re: dynamic type checking - a pauline conversion?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 10 Mar 2004 23:18:30 -0800
"Shayne Wissler" <thalesNOSPAM000@yahoo.com> wrote in message news:<qfH3c.97449$ko6.784823@attbi_s02>...
> "Robert C. Martin" <unclebob@objectmentor.com> wrote in message
> news:cmos401b4aa3lu33qk6afgs5fg9d16649i@4ax.com...
>
> > I've been a statically typed bigot for quite a few years. ...
> > When C++ came out, I was an avid
> > adopter, and rabid enforcer of strong typing.
>
> ...
>
> > Four years ago I got involved with Extreme Programming.
>
> ...
>
> > Since then I have become test
> > infected. I can no longer conceive of writing software without using
> > test driven development.
>
> ...
>
> > Life in a dynamically typed world is fundamentally simpler.
>
> ...
>
> > Does anybody else feel like this? As more and more people adopt test
> > driven development (something I consider to be inevitable) will they
> > feel the same way I do. Will we all be programming in a dynamically
> > typed language in 2010?
>
> No, I don't, and Bob, do you see the pattern the above? You seem to swing
> from one Extreme to another. How about some moderation?
>
> I think static typing has important uses. I also think dynamic techniques
> have important uses. My ideal language has both features. Which lets me
> decide what is appropriate based on the situation at hand (but in general I
> would use static typing more often--there's no point in writing extra tests
> for something that can be tested by the compiler, and a statically typed
> program is more easily understood).
>
>
> Shayne Wissler
Here is problem with static types:
Lets assume that some method "m" which as parameter needs an object
with both types of T1 and T2 which dont share any commonality (like be
Displayable and Persistable).
How do you define "m"?
The only solution is to define it as m(Object o).
Tsolak Petrosian
- Next message: Vladimir Levin: "Re: First Avoid Coding"
- Previous message: Tsolak Petrosian: "Re: Second Dimension of Object Oriented Modelling"
- In reply to: Shayne Wissler: "Re: dynamic type checking - a pauline conversion?"
- Next in thread: Paul Campbell: "Re: dynamic type checking - a pauline conversion?"
- Reply: Paul Campbell: "Re: dynamic type checking - a pauline conversion?"
- Reply: Shayne Wissler: "Re: dynamic type checking - a pauline conversion?"
- Reply: Jochen Riekhof: "Re: dynamic type checking - a pauline conversion?"
- Reply: JXStern: "Re: dynamic type checking - a pauline conversion?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|