MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/7oaay5/really/ds9yh4d/?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 ...? 2 u/KingoPants Jan 06 '18 Sanity seems important. At that point you might as well code in mspaint for the kicks. 2 u/Raijinili Jan 06 '18 Now you can!
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 ...? 2 u/KingoPants Jan 06 '18 Sanity seems important. At that point you might as well code in mspaint for the kicks. 2 u/Raijinili Jan 06 '18 Now you can!
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 ...
2 u/KingoPants Jan 06 '18 Sanity seems important. At that point you might as well code in mspaint for the kicks. 2 u/Raijinili Jan 06 '18 Now you can!
2
Sanity seems important. At that point you might as well code in mspaint for the kicks.
2 u/Raijinili Jan 06 '18 Now you can!
Now you can!
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.