file = open('filename')
contrasts heavily to Java's
try {
File f = new File("filename");
FileInputStream fin = new FileInputStream(f);
InputStreamReader fisr = new InputStreamReader(fin);
BufferedReader in = new BufferedReader(fisr);
} catch (Exception e) {
e.printStackTrace();
}
Which (as Berengal said on xkcd) rather looks like:
try {
file = new BufferedStream (new FileStream(new StreamOfBlood(new
SatanicRitual(new BlackGoat("Lucifer's billygoat");
} catch (Throwable e) {
System.bugger.all();
}
No comments:
Post a Comment
Note: only a member of this blog may post a comment.