On Wednesday 10 Oct 2007, [EMAIL PROTECTED] wrote:
It's always on topic to show how much better ColdFusion is :-)
Not better. Just different.
It is never better to have humans do garbage collection and memory allocation.
Studies have been done, and compilers are much, much quicker at it and
I've been thinking about what a CFML parser has to do and man, it isn't
all that easy... I'm not sure any .cfm file could be parsed properly
without knowing the state of cfoutput before the file is (potentially)
cfincluded. In other words, if you see some text like this is text#hi#
and some more,
Yeah, a good CF parser would definitely be needed. Does your parser
handle CFCs? What language is it written in?
To do coding standard validation you'd also need a flexible/configurable
model for what rules to enforce, and that can be tricky too.
Thanks
Mark
-Original Message-
Yeah, there must be one but I haven't looked at it. They must be some
issues with it though because there is an option to turn it off and I've
seen it get pretty confused with strings with embedded quotes in them,
for example.
Thanks
Mark
-Original Message-
From: Jaime Metcher
What you say is true (only a programmer can know how a variable is
used), but a warning generated if a variable is not explicitly scoped
would help find the little oversights that can be a real pain to track
down.
I am of the opinion that all warnings in a program (java, for example)
should be
I am of the opinion that all warnings in a program (java, for example)
should be tracked down and eliminated, even if the fix is just to
disable the warning on the one method/line that is complaining (because
it is right), but every one of them should be examined. For ever 100
warnings I get
On Wednesday 10 Oct 2007, [EMAIL PROTECTED] wrote:
planning engine all on top of an Oracle database. Customers would complain
about the instability of the client software
This is to be expected from a language that forces the programmer to deal with
memoray allocation and release.
--
Tom
it did.)
Thanks for the pointer.
Mark
-Original Message-
From: Paul Vernon [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 10, 2007 9:00 AM
To: CF-Talk
Subject: RE: CF Coding Standards / validation
I am of the opinion that all warnings in a program (java, for example)
should
Hi Paul,
next to the tool you're using (which I use myself as well) Railo allows
you to turn of scope cascading which would then result in runtime errors
and force the programmer to scope all unscoped variables (except for the
variables scope). Next to the readability this as we all know
On Wednesday 10 Oct 2007, [EMAIL PROTECTED] wrote:
planning engine all on top of an Oracle database. Customers would
complain
about the instability of the client software
This is to be expected from a language that forces the programmer to
deal with
memoray allocation and release.
But
On Wednesday 10 Oct 2007, [EMAIL PROTECTED] wrote:
finally
myObj.free;
What if myObj gets passed out of the function ?
the pain away. Delphi gives you the choice :-) Anyway, this is all getting
a tad OT now so I'll leave it there :-)
It's always on topic to show how much better
a tad OT now so I'll leave it there :-)
Ok, you baited me!
finally
myObj.free;
What if myObj gets passed out of the function ?
That would be poor programming practice :-) Just like CF, Java and most
other popular programming languages there are best practices for that
language.
12 matches
Mail list logo