MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/7oaay5/really/dsa42oz/?context=3
r/Python • u/fabrikated • Jan 05 '18
317 comments sorted by
View all comments
Show parent comments
10
Strange. I feel accomplished if I can accomplish what I want with as little lines of code as possible.
3 u/Printern Jan 06 '18 Yeah but Python forces you to write lines. In java you can code in one line One line<more than one line Dummy 4 u/Raijinili Jan 06 '18 What's stopping you from doing exec("import sys\nimport re\n\ndef someFunc(x,y):\n\t ...? 1 u/Printern Jan 06 '18 The fact that I am so incapable of programming that even when my program outputs the intended output it's still wrong.
3
Yeah but Python forces you to write lines. In java you can code in one line One line<more than one line Dummy
4 u/Raijinili Jan 06 '18 What's stopping you from doing exec("import sys\nimport re\n\ndef someFunc(x,y):\n\t ...? 1 u/Printern Jan 06 '18 The fact that I am so incapable of programming that even when my program outputs the intended output it's still wrong.
4
What's stopping you from doing exec("import sys\nimport re\n\ndef someFunc(x,y):\n\t ...?
exec("import sys\nimport re\n\ndef someFunc(x,y):\n\t ...
1 u/Printern Jan 06 '18 The fact that I am so incapable of programming that even when my program outputs the intended output it's still wrong.
1
The fact that I am so incapable of programming that even when my program outputs the intended output it's still wrong.
10
u/firest Jan 05 '18
Strange. I feel accomplished if I can accomplish what I want with as little lines of code as possible.