[Python-ideas] Implicit String Concatenation

Jan Claeys lists at janc.be
Thu Apr 19 00:43:28 CEST 2007


Op zaterdag 14-04-2007 om 23:07 uur [tijdzone -0400], schreef Adam
Atlas:
> On 14 Apr 2007, at 22.46, Jan Claeys wrote:
> > D uses '~' as a string concatenation operator...
> 
> Eh... I like D, but that would be confusing in Python, since it  
> already uses ~ as a unary operator that means something totally  
> different. 

Python uses '+', '*', ':', '.', etc. for multiple different purposes
already, and at least the '+' case is more confusing sometimes than '~'
would ever be...


-- 
Jan Claeys




More information about the Python-ideas mailing list