greptilian logo

IRC log for #sourcefu, 2013-03-24

http://sourcefu.com

| Channels | #sourcefu index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
01:43 pdurbin some interesting comments about Perl, Python, and Ruby on a thread started by Randal Schwartz: https://plus.google.com/105487854388646525021/posts/gJjm3RLVhWb
13:38 pdurbin I've dabbled in Python but I like to enforce style programmatically. With Perl, I define the style I want once (globally or per project) and run perltidy across the code make adjustments automatically. With Java, I let NetBeans reformat the code to keep it consistent. The advantage of this is that I can grab code from other places, paste it in, and let my tools reformat the new code to fit in with the rest. As far as I understand, I simply can't d
13:39 pdurbin whoops. cut off.
13:39 pdurbin I simply can't do this with Python since whitespace is significant. It's a major downside for me.
13:39 pdurbin (my latest comment on that thread) ^^
14:09 ben_e i think the idea with python's white space rule is that it makes that workflow with other peoples' code unnecessary
14:10 pdurbin ben_e: no it doesn't
14:10 pdurbin not to be contrary ;)
14:16 pdurbin I'm specifically talking about the ability to copy and paste code into existing code. With Python you have to think about and care about the whitespace. Perl and Java (et al.) let me be lazy about this and just fix up how it looks later. In Python the meaning is potentially changed because whitespace is significant.
15:25 pdurbin ben_e: does this help explain what I mean? http://wiki.greptilian.com/python/downsides
23:10 westmaas_ joined #sourcefu
23:11 ironcame1 joined #sourcefu
23:19 rruma1 joined #sourcefu
23:22 ironcamel joined #sourcefu
23:22 codex joined #sourcefu
23:32 ben_e joined #sourcefu
23:36 ben_e joined #sourcefu

| Channels | #sourcefu index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

http://sourcefu.com