Re:New string formatting in Python
by schmichael on Sunday January 03, 2016 @10:48PM
(#10833896)
Python was and still is to some diminishing degree influenced by C, C++, and Java - none of which have language syntax for interpolating strings based on variables in scope.
[ Parent
| on HN ]
Re:New string formatting in Python
by icebraining on Monday January 04, 2016 @05:41AM
(#10834825)
I wouldn't say it was influenced by Java, seeing as all the core syntax (functions, classes, modules, etc) was already present when Java was first released publicly. The stuff added later doesn't come from it either (list comprehensions, generators, etc).
Re:New string formatting in Python
by mixmastamyk on Sunday January 03, 2016 @11:04PM
(#10833930)
Yes, though it has more in common with Perl and Ruby, which do.