On Thu, 24 Feb 2005 10:59:36 +1100, Andrew Scott <[EMAIL PROTECTED]> wrote:
> Grant,
>
> I don't care about best practise, well that's a lie I do. But this project
> was designed before I moved in and I have to go with what was designed,
have to ? or choose to? its your call but in the end you can inherit
bad code and continue to write bad code - or you can:
a) re-write it (cost wise not always positive outcome)
b) slowly insert new and more uptodate code as you "contribute" - eg
if you had to rename document.all.monkey to
document.all.nestedtag.blah.monkey then it would pay to use
getElementById() in that one line item.. even though the rest of the
code still uses document.all - points adapt.
c) Refuse to work on it outlining good reasons as to why (ie in some
cases bad code can be so poor that you'd waste too much time and
energy maintaining it and simply have to draw the line in the sand and
say - sorry its vapourware... its not often but it does happen).
> against what I wish for it is too much work to change this to be best
> practise. My point is my JavaScript might not be expert level, but I don't
> want to hear from anyone about you should do it this way or laugh because I
> am tied into a situation that I have no power to change.
Who care's what you want? After reading your initial reply - i sure as
hell don't. It appeared that you were writing new code or in a spot
where you could easily make a small change like document.all.monkey =
document.getElementById('monkey') - that and it was a friendly
reminder that using name.chaining is pretty much an IE only world.
How you take that onboard is up to you - clearly you took offense to
it and began a moan thread.
> You guys have to realise that technologies change, but applications rarely
> do without major work why do you think that so many people still use
> Coldfusion 5. Awhile ago people complained about how these people have no
> choice but to keep using CF5.0 and the same goes here.
Talk about assumptions - there you go! should i open a can of
thread-whoopass now? echoing my annoyance at your assumption that we
are all ignorant of the fact that people don't always upgrade, that
legacy applications exist... (especially when a large majority of
work for cf programmers is lotus notes legacy conversations).
> Not getting upset, but don't make assumptions that you don't know the full
> facts on to begin with.
Since when as anything said on this thread been considered to be
factual - its not as if we go out on a massive accurate fact finding
mission before we shoot of a post.
You need to pull your head in and chill - typically i'd ignore a
thread like this, but i'm tired, pissed off and you made me use my big
boy voice.
anyway
/cry
--
Regards,
Scott Barnes
http://www.mossyblog.com
---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/