Lack of whitespace between contain operator ("in") and other expression tokens doesn't result in SyntaxError: bug or feature?
Prasad, Ramit
ramit.prasad at jpmorgan.com
Thu May 3 18:24:05 EDT 2012
More information about the Python-list mailing list
Thu May 3 18:24:05 EDT 2012
- Previous message (by thread): Lack of whitespace between contain operator ("in") and other expression tokens doesn't result in SyntaxError: bug or feature?
- Next message (by thread): Lack of whitespace between contain operator ("in") and other expression tokens doesn't result in SyntaxError: bug or feature?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> > Sure.. it's just somewhat inconsistent with other expectations in
> > other languages, and seems somewhat unpythonic.
>
> Never done FORTRAN, have you... Classic FORTRAN even allows
> white-space INSIDE keywords.
Java tends to ignore a lot of spaces as well...though not as much
as classic FORTRAN it would seem.
class test{
public static void main( String []args ){
System.out.
println( "test" );
for (String each : args){
System.out. println( each );
}
System.out. println( args [0] );
}
}
Ramit
Ramit Prasad | JPMorgan Chase Investment Bank | Currencies Technology
712 Main Street | Houston, TX 77002
work phone: 713 - 216 - 5423
--
This email is confidential and subject to important disclaimers and
conditions including on offers for the purchase or sale of
securities, accuracy and completeness of information, viruses,
confidentiality, legal privilege, and legal entity disclaimers,
available at http://www.jpmorgan.com/pages/disclosures/email.
- Previous message (by thread): Lack of whitespace between contain operator ("in") and other expression tokens doesn't result in SyntaxError: bug or feature?
- Next message (by thread): Lack of whitespace between contain operator ("in") and other expression tokens doesn't result in SyntaxError: bug or feature?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list