<div dir="ltr"><code>Someone was thinking in ruby there. </code><br><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Dec 7, 2013 at 1:14 AM, Dan Stromberg <span dir="ltr"><<a href="mailto:drsalists@gmail.com" target="_blank">drsalists@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><div><div class="h5">On Fri, Dec 6, 2013 at 4:10 PM, Michael Torrie <span dir="ltr"><<a href="mailto:torriem@gmail.com" target="_blank">torriem@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>On 12/06/2013 04:54 PM, Dan Stromberg wrote:<br>
> Does anyone else feel like Python is being dragged too far in the direction<br>
> of long, complex, multiline one-liners?  Or avoiding temporary variables<br>
> with descriptive names?  Or using regex's for everything under the sun?<br>
><br>
> What happened to using classes?  What happened to the beautiful emphasis on<br>
> readability?  What happened to debuggability (which is always harder than<br>
> writing things in the first place)?  And what happened to string methods?<br>
><br>
> I'm pleased to see Python getting more popular, but it feels like a lot of<br>
> newcomers are trying their best to turn Python into Perl or something,<br>
> culturally speaking.<br>
<br>
</div></div>I have not seen any evidence that this trend of yours is widespread.<br>
The Python code I come across seems pretty normal to me.  Expressive and<br>
readable.  Haven't seen any attempt to turn Python into Perl or that<br>
sort of thing.  And I don't see that culture expressed on the list.<br>
Maybe I'm just blind...</blockquote><div><br></div></div></div><div>I'm thinking mostly of stackoverflow, but here's an example I ran into (a lot of) on a job:<br><br></div><div>somevar = some_complicated_thing(somevar) if some_other_complicated_thing(somevar) else somevar<br>

<br></div><div>Would it really be so bad to just use an if statement?  Why are we assigning somevar to itself?  This sort of thing was strewn across 3 or 4 physical lines at a time.<br><br></div></div></div></div>
<br>--<br>
<a href="https://mail.python.org/mailman/listinfo/python-list" target="_blank">https://mail.python.org/mailman/listinfo/python-list</a><br>
<br></blockquote></div><br></div>