On Thu, Feb 03, 2005 at 08:47:28PM -0800, Stewart Stremler wrote:
> I've been playing in typed languages and untyped (well, lacking compile-time 
> type checking) languages, and I see the benefit of both.  When I'm trying
> to figure out what's going on, or track down certain sorts of bugs, I 
> really like types.  When I'm noodling around or trying to write generic
> code, I like typeless.

> I don't think there is an "optimal" choice. Both approaches have their
> upsides and their downsides.

then you should take closer look at pike.

it is typed but provides a way to mix types as you want them:

string|int foo;           //  string or integer
array(int) numbers;       //  integer arrays
array bar;                //  array of any type
Stdio.File f;             //  Stdio.File object
object ff;                //  object of any type
mixed gazong;             //  anything (like in those untyped languages)

what is your type?

greetings, martin.
-- 
cooperative communication with sTeam      -     caudium, pike, roxen and unix
offering: programming, training and administration   -  anywhere in the world
--
pike programmer   travelling and working in europe             open-steam.org
unix system-      bahai.or.at                        iaeste.(tuwien.ac|or).at
administrator     (caudium|gotpike).org                          is.schon.org
Martin B�hr       http://www.iaeste.or.at/~mbaehr/
-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to