Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

cut&paste simply does not work in the python world and it is much poorer because of that.

I think that might have made it much better!

http://perldesignpatterns.com/?CutAndPasteProgramming



Especially while learning a new language cut & paste is a pretty good way to get function definitions from the the tutorial into the interpreter.

Having to re-type a bunch of stuff that is already in a computer makes me feel like it is 1978 again.


Cut and paste is a good way to get the definitions from the tutorial into the interpreter without reading them.

Personally, I've only ever had a problem copy-pasting from the web. Even then, it is rare; a mild occasional annoyance well worth the price of the clutter free syntax.


There are other uses for cut/paste besides CutAndPasteProgramming; for example, one may want to post a snippet to a comment box that doesn't offer a preview function.

def foo(): if something: do_something_else print "bar"

What went wrong?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: