MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/a6txtp/coming_from_python_to_js/ebyf4cv/?context=3
r/javascript • u/chroner • Dec 16 '18
const print = console.log
I found my safe space.
156 comments sorted by
View all comments
337
Here is the Java implementation for those who want to make their life harder
const System = {out: {println: console.log}}; System.out.println("why?");
98 u/blasto_blastocyst Dec 17 '18 edited Dec 17 '18 import com.half.your.ram.is.gone.for.no.reason; 0 u/[deleted] Dec 17 '18 [deleted] 6 u/placidified Dec 17 '18 Was using VS Code to as my editor for our Python backend. VS Code kept using 10GB of memory !Switched to PyCharm. 13 u/PM_ME_HTML_SNIPPETS Dec 17 '18 Oddly enough, I don’t think I’ve ever had that problem with Code, but have had a few runaway memory sessions with ST3. 9 u/AlexAegis Dec 17 '18 there was a bug a month or two ago in the Python Language Server which caused heavy memory leaks. Probably still has some issues.
98
import com.half.your.ram.is.gone.for.no.reason;
0 u/[deleted] Dec 17 '18 [deleted] 6 u/placidified Dec 17 '18 Was using VS Code to as my editor for our Python backend. VS Code kept using 10GB of memory !Switched to PyCharm. 13 u/PM_ME_HTML_SNIPPETS Dec 17 '18 Oddly enough, I don’t think I’ve ever had that problem with Code, but have had a few runaway memory sessions with ST3. 9 u/AlexAegis Dec 17 '18 there was a bug a month or two ago in the Python Language Server which caused heavy memory leaks. Probably still has some issues.
0
[deleted]
6 u/placidified Dec 17 '18 Was using VS Code to as my editor for our Python backend. VS Code kept using 10GB of memory !Switched to PyCharm. 13 u/PM_ME_HTML_SNIPPETS Dec 17 '18 Oddly enough, I don’t think I’ve ever had that problem with Code, but have had a few runaway memory sessions with ST3. 9 u/AlexAegis Dec 17 '18 there was a bug a month or two ago in the Python Language Server which caused heavy memory leaks. Probably still has some issues.
6
Was using VS Code to as my editor for our Python backend. VS Code kept using 10GB of memory !
Switched to PyCharm.
13 u/PM_ME_HTML_SNIPPETS Dec 17 '18 Oddly enough, I don’t think I’ve ever had that problem with Code, but have had a few runaway memory sessions with ST3. 9 u/AlexAegis Dec 17 '18 there was a bug a month or two ago in the Python Language Server which caused heavy memory leaks. Probably still has some issues.
13
Oddly enough, I don’t think I’ve ever had that problem with Code, but have had a few runaway memory sessions with ST3.
9
there was a bug a month or two ago in the Python Language Server which caused heavy memory leaks. Probably still has some issues.
337
u/Pavlo100 Dec 16 '18
Here is the Java implementation for those who want to make their life harder