Ran into some really really hideous code today. Considering that it was part of a popular bulletin board program, that stole part of it's code from a really, really, really popular blog program, I was surprised
( Read more... )
*blinks at the code* ... I honestly have never seen that before. If I ran into it, I'd probably skip right over it without knowing what it was, on the first pass. It looks like it's trying to be Basic.
Oh, and you probably wouldn't know this account, especially with that icon. PG of Angus Weaver, here.
That would explain why the 'Weaver' was so familiar!
Yah, the only reference to it I can find is in a COMMENT on the syntax page of the docs. I'm wondering if its perhaps part of the ASP tag compatibility? I haven't used asp so can't say for sure.
Well, given some of the sh...tuff that you've seen in the "popular bulletin board program" that I'm still banging my head upon..
Still, remember that globals do serve a use! Just... that... every function shouldn't start with a list of globals a mile long. Best if you actually reference them in as few places as possible, then just talk to those places.
The hard-coded file paths are even stupider. Somehow, though, I'll get a neat and tidy directory structure. Or something of the sort... >.>'
Comments 7
Still, sounds like you've got some well-deserved rest ahead of you.
Reply
if(){
}else{
}
They're using:
if( condition ):
else:
endif;
It really screws up my whole scan for start and end braces, and of course my editor has no clue whats going on either.
Also. o.o If I know who you are, I've forgotten. Enlightenment, please!
Reply
Oh, and you probably wouldn't know this account, especially with that icon. PG of Angus Weaver, here.
Reply
Yah, the only reference to it I can find is in a COMMENT on the syntax page of the docs. I'm wondering if its perhaps part of the ASP tag compatibility? I haven't used asp so can't say for sure.
Reply
Still, remember that globals do serve a use! Just... that... every function shouldn't start with a list of globals a mile long. Best if you actually reference them in as few places as possible, then just talk to those places.
The hard-coded file paths are even stupider. Somehow, though, I'll get a neat and tidy directory structure. Or something of the sort... >.>'
On that last part... do share?
Reply
Leave a comment