r/javascript • • Dec 16 '18

Coming from Python to JS NSFW

const print = console.log

I found my safe space.

607 Upvotes

156 comments sorted by

View all comments

337

u/Pavlo100 Dec 16 '18

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]

211

u/themaincop Dec 17 '18
Java apps      Javascript apps 
           🤝  
    Using half your ram
   for no goddamn reason

69

u/rangeDSP Dec 17 '18

A text meme. This is amazing