A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-September/048619.html below:

[Python-Dev] Re: Alternative placeholder delimiters for PEP 292

[Python-Dev] Re: Alternative placeholder delimiters for PEP 292 [Python-Dev] Re: Alternative placeholder delimiters for PEP 292Edward C. Jones edcjones at erols.com
Sun Sep 5 15:57:36 CEST 2004
On Sat, 04 Sep 2004, Barry Warsaw wrote:

>On Mon, 2004-08-30 at 02:11, Andrew Durdin wrote:
>
>>   I propose that the Template module not use $ to set off
>>    placeholders; instead, placeholders are delimited by braces {}.
>>    The following rules for {}-placeholders apply:
>>    
>>
>
>The PEP 292 rules were specifically chosen for their similarity to
>placeholder syntaxes in many other languages.
>  
>
Just because other languages use "$" does not mean that Python should. 
IMHO, lines of code with "$"s in them do not read with a smooth flow. 
They start to look like regex or Perl. I suggest "<@...@>" which I think 
reads more smoothly. If "$" is too locked in to change, please allow 
users to change the default.


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4