[chuck-users] Future ChucK: wish list items and one comment

Atte André Jensen atte.jensen at gmail.com
Wed Apr 2 03:22:29 EDT 2008


Kassen wrote:

> Perl's power yes... but please, please not Perl's typical "stuff 
> everything in one line that looks like you opened a image in a text 
> editor" style.

1 vote for python. String processing (as everything else) is super-nice 
in python.

atte at ajstrup:~$ python
Python 2.5.1 (r251:54863, Mar  7 2008, 04:10:12)
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 >>> ChucK = "good"
 >>> ChucK[:-2]
'go'
 >>> ChucK[-1:]
'd'
 >>> ChucK[:-2].capitalize() + ChucK[-1:]
'God'
 >>>

-- 
peace, love & harmony
Atte

http://atte.dk       | http://myspace.com/attejensen
http://anagrammer.dk | http://modlys.dk


More information about the chuck-users mailing list