www.digitalmars.com         C & C++   DMDScript  

D - D == Strongly typed, compiled Python?

reply Jon Thoroddsen <Jon_member pathlink.com> writes:
Ive been looking over the spec and the threads here.
It seems some people here want the same thing I do.
A strongly typed compiled Python ;-)

The modern features thread about multiple returns, read like people knew python
and were pretending not to ;-) 


The slicing operator is pure Pythonesque, and so is foreach(i,a) and associative
arrays (called dicts in Python).

Walter, you've said before that you hadn't programmed in Python.
I'd seriously suggest you download it and see what features it has and see if it
could influence D more than it has already ;-)
It won't take long :-)
Get it at www.python.org

Nonni

PS: I'm not affiliated with any python group per se, I'm working at a games
company called CCP making a massively multiplayer game called EVE which has been
out for half a year now (www.eve-online.com). Were using python for everything
'cept the really intensive stuff, which is done in C++. 
Dec 03 2003
next sibling parent reply "Walter" <walter digitalmars.com> writes:
"Jon Thoroddsen" <Jon_member pathlink.com> wrote in message
news:bqm4rm$1k5a$1 digitaldaemon.com...
 Ive been looking over the spec and the threads here.
 It seems some people here want the same thing I do.
 A strongly typed compiled Python ;-)

 The modern features thread about multiple returns, read like people knew

 and were pretending not to ;-)


 The slicing operator is pure Pythonesque, and so is foreach(i,a) and

 arrays (called dicts in Python).

 Walter, you've said before that you hadn't programmed in Python.
 I'd seriously suggest you download it and see what features it has and see

 could influence D more than it has already ;-)
 It won't take long :-)
 Get it at www.python.org

Python is a great language, and I like its compactness and economy of expression. I like its libraries being simple and easy, not the massive overcomplex bloated morass found in other languages. I don't like its dynamic typing and interpretive nature. I have tried porting some simple python applications to D just to see how hard it was, and so far I've been pleased with the results. BTW, much of the inspiration for D's arrays came from Jan Knepper, not Python. Associative arrays and foreach are common to many languages. I believe the way D's foreach works with the opApply() technique is unique to D.
Dec 04 2003
parent "Matthew Wilson" <matthew.hat stlsoft.dot.org> writes:
 BTW, much of the inspiration for D's arrays came from Jan Knepper, not
 Python. Associative arrays and foreach are common to many languages. I
 believe the way D's foreach works with the opApply() technique is unique

 D.

I'm pretty sure it is. Somebody should write an article on it. ;)
Dec 04 2003
prev sibling parent "Charles Sanders" <sanders-consulting comcast.net> writes:
Cool looking game, im going to try it.

I always liked python, but now im a stickler for this strong typeing, so yea
D fits perfect for me :).

C
"Jon Thoroddsen" <Jon_member pathlink.com> wrote in message
news:bqm4rm$1k5a$1 digitaldaemon.com...
 Ive been looking over the spec and the threads here.
 It seems some people here want the same thing I do.
 A strongly typed compiled Python ;-)

 The modern features thread about multiple returns, read like people knew

 and were pretending not to ;-)


 The slicing operator is pure Pythonesque, and so is foreach(i,a) and

 arrays (called dicts in Python).

 Walter, you've said before that you hadn't programmed in Python.
 I'd seriously suggest you download it and see what features it has and see

 could influence D more than it has already ;-)
 It won't take long :-)
 Get it at www.python.org

 Nonni

 PS: I'm not affiliated with any python group per se, I'm working at a

 company called CCP making a massively multiplayer game called EVE which

 out for half a year now (www.eve-online.com). Were using python for

 'cept the really intensive stuff, which is done in C++.

Dec 05 2003