News for hackers. Stuff that matters.
Re:Obfuscating “Hello World” in Python by qzcx on Friday December 19, 2014 @11:53AM (#8773041)
Your first complaint can be easily solved with a good text editor. I use sublime and it will handle whitespace differences when pasting. I haven't had any trouble pulling from webpages. Secondly, it isn't any harder to indent after hitting return than to add a Bracket. Same number of keystrokes and again, a decent editor can fix this problem too. Lastly, this is just a personal preference. Clojure code also drifts right, but its just a matter of training your brain to interpret it.
Re:Obfuscating “Hello World” in Python by jameshart on Friday December 19, 2014 @01:14PM (#8773521)
How can it handle whitespace differences when pasting correctly?

I have a conditional block. I want to paste some code at the end of it. Do I want to paste it inside the condition, so indented the same as the preceding line - or outside the condition,so indented one level less than the preceding line?

With a brace delimited language, if I put the cursor inside or outside the brace and paste, an editor has enough information to correctly indent it. With whitespace delimiting, the editor doesn't have enough information.