From 7b37b4d1c850de8ac822467985ec76457fc9b543 Mon Sep 17 00:00:00 2001 From: Martin Stubenschrott Date: Wed, 7 Jan 2009 03:10:00 +0100 Subject: [PATCH] added my opinion about new in HACKING, please respond --- HACKING | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/HACKING b/HACKING index 41383c7b..db503995 100644 --- a/HACKING +++ b/HACKING @@ -110,6 +110,12 @@ We try to be quite consistent, but of course, that's not always possible. new Function(code) Date() // Right if you want a string-representation of the date + NOTE by mst: That one is debateable, actually I like the "new" as one + immediately sees that a new object of a class is created which is not + so obvious by var x = CompletionContext(); which could also mean that + CompletionContext() could return a cached object. What's thesnowdog's + opinion and why do you, Kris, think it's better/cleaner? + == Testing/Optimization == TODO: Add some information here about testing/validation/etc.