Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

type juggling

5 views
Skip to first unread message

Roedy Green

unread,
Dec 7, 2011, 9:43:30 AM12/7/11
to
Have you noticed how much coding is just type converting to get data
into the form wanted my some method?

e.g Date vs long vs Calendar

String vs File vs absolute name, just name, just extension, webroot
relative name

String vs Font

hex int vs String vs Color object

You have a great pile of things to plug into each other, and a pile of
possible adapters. You have to get the tabs inserted.

Imagine a tool that:

1, used spell check logic to match pieces to see what is supposed to
plug into what.

2. that provided the needed adapter logic.

3. that adjusted scopes or passed parameters or provided methods so
that the information you need at a given point is available, while
generally keeping things a private as possible.

4. that when you use a method, it guesses the likely things you would
put there and normally all you have to do is click to confirm its
first choice.

You use this beast to block out the code, then you polish it the
conventional way.
--
Roedy Green Canadian Mind Products
http://mindprod.com
For me, the appeal of computer programming is that
even though I am quite a klutz,
I can still produce something, in a sense
perfect, because the computer gives me as many
chances as I please to get it right.

Joerg Meier

unread,
Dec 7, 2011, 10:48:41 AM12/7/11
to
On Wed, 07 Dec 2011 06:43:30 -0800, Roedy Green wrote:

> Have you noticed how much coding is just type converting to get data
> into the form wanted my some method?

> e.g Date vs long vs Calendar

> String vs File vs absolute name, just name, just extension, webroot
> relative name

> String vs Font

> hex int vs String vs Color object

> You have a great pile of things to plug into each other, and a pile of
> possible adapters. You have to get the tabs inserted.

> Imagine a tool that:

> 1, used spell check logic to match pieces to see what is supposed to
> plug into what.

> 2. that provided the needed adapter logic.

> 3. that adjusted scopes or passed parameters or provided methods so
> that the information you need at a given point is available, while
> generally keeping things a private as possible.

> 4. that when you use a method, it guesses the likely things you would
> put there and normally all you have to do is click to confirm its
> first choice.

> You use this beast to block out the code, then you polish it the
> conventional way.

It sounds like you should check out PHP or a similar weakly typed language.

Liebe Gruesse,
Joerg

--
Ich lese meine Emails nicht, replies to Email bleiben also leider
ungelesen.
0 new messages