|
Yeah, that one really annoys me too. Yes, tables got abused a bit for layout back in the day (totally guilty here), but that's because they're so useful and for a while nothing else could do the job. Nowadays it seems fashionable to avoid tables at all costs, as if using big steaming piles of CSS to display tabular data without a table is somehow not a sign of idiocy.
It's like a religious thing, people cling to this idea that tables are evil without bothering to think about why. It's just become blind dogma among those who think they understand Web development.
There has never been anything wrong with tables, but there's everything wrong with designers telling programmers how to do their jobs. And yes, I blame the designers, forever and always, they are the root of all Web evil
|
|
|
|
|
Tables are EVIL INCARNATE when they're being used for page layout, especially when no planning has been done to consider printing a page full of tables nested in tables when that's one of the unstated (because it was elephant-ing obvious) requirements.
Trust me, I'm trying to unwind a nested cesspool of tables used on an old form into something mildly better using Bootstrap, just because printers can deal with it so much better.
|
|
|
|
|
Yeah, there's no excuse for using tables for layout these days. But there was a time when there was no good alternative, so we're still dealing with that legacy.
Nowadays people are abusing CSS, which deserves it due to its broken inheritance model. When browsers are forced to implement something like "!important," which should never ever be used because it "breaks" inheritance, then you know that there's something fundamentally wrong with the inheritance model in the first place...but that's a whole other rant. I do find it hysterical that "!important" reads as "not important" to people who know logic
|
|
|
|
|
... gone through a code set, making changes, wishing that you could rewrite it, et accepting the fact that it must remain the fragile house of cards that it is?
".45 ACP - because shooting twice is just silly" - JSOP, 2010
- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Many years ago I was working on a real-time telemetry system (for jet fighter flight testing) and was asked to go through my boss's code (by his boss) while he was on a three-week vacation as the real time code wasn't running fast enough to maintain real-time! I looked at a couple of core modules to find the most inefficient load of cr*p I have ever seen before or since! I made a couple of quick fixes - such as making sure a search algorithm actually stopped searching once it found what it was looking for and storing non-volatile pointers on the first look-up rather than searching every time - and the code ran approximately 2,000 times faster and could maintain real-time easily! I wanted to rewrite the whole thing but was afraid of what my boss would say when he got back. The code I had fixed was on his "don't touch, don't look, don't even think of looking" list and I got a specific OK in writing from his boss before I risked changing it at all! When he got back he raged at me for "ruining his code" and "putting the entire system in jeopardy" despite the fact that our team got a commendation from the engineering group for making the real-time system actually real-time again! I got a terrible performance review from him at the next six-monthly review and a 0% pay raise as a result. I quit my otherwise dream job (I am an aeroplane nut) shortly afterwards.
I heard he was eventually "promoted" to "special projects" where he nearly destroyed an international contract agreement and was finally fired for gross incompetence (as a manager, not a programmer).
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
|
True, continental and Northern Europe have very good standards about employee rights. Now, Italy is trying to follow the US (it's 70 years we're being the US lapdogs) in each and every way so we'll see how much it will last here...
GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver
|
|
|
|
|
I think the real question is "have you ever NOT..."
|
|
|
|
|
I think the question is "have you not done this"
cheers
Chris Maunder
|
|
|
|
|
Exactly.
|
|
|
|
|
|
yes. currently doing that. it's a pain. I'm slowly, piece-by-piece, rewriting it as bugs come in. he he.
#SupportHeForShe
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
Yes, mostly for non-critical code.
I'd rather be phishing!
|
|
|
|
|
Did you ever say "I'm not touching this mess"?
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Sounds like the story of my life. Every single company I worked for had such a POS that just wouldn't die. Every which way you tried was in vain.
Ok, Ok once in a while I even contributed to the pile of shite by adding some of my own.
"I had the right to remain silent, but I didn't have the ability!"
Ron White, Comedian
|
|
|
|
|
Yeah. I just got done with rewriting a utility that, for some reason, takes forever and a day to run on Windows 10, but works fine on every other version of Windows. The original was written in WiseScript*. The new one is in C#.
I did rewrite it, but I was limited to duplicating the original functionality EXACTLY, right down to duplicating the quirks and bugs.
* This had nothing to do with the script code that was written. It has something to do with the WiseScript runtime library built into the resulting compiled .EXE. For some reason, and not every time, the .EXE will just go out to lunch. An .EXE that normally executes in seconds on a Win8.1 or lower machine will take anywhere from a couple minutes to 45 minutes to run on Win10!
|
|
|
|
|
Since I saw this thread, I've had "Did You Ever", by Sinatra and Hazelwood, playing continuously in my head.
Thanks for that.
Really.
Thanks a bluddy bunch.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Yes, both my code and that of others.
Marc
|
|
|
|
|
So...how long ago did you write that code?
|
|
|
|
|
This is the standard modus operandi in my company. Piece by piece I rewrite things hwnever I have to make "some adjustments". Luckily I can be an extremely fast programmer when my mind is in the right conditions...
GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver
|
|
|
|
|
Welcome to the real world of programming. You must be able to dig in the dirt.
Kitty at my foot and I waAAAant to touch it...
|
|
|
|
|
Yes, my mantra is change only what is necessary.
Unless by adding my one extra check caused the Microsoft 5.1 compiler to crap out because the "nesting was too deep". Got to rewrite that screen. Green bar paper of a single function was 15 feet long with jump back AND jump AHEAD goto's in it.
Or
The existing code had been patched so much no one could make head nor tails of the flow.
|
|
|
|
|
I try to replace the paper cards with ones made from a good grade of steel, edges sharpened as fine as I can hone them.
Software Zen: delete this;
|
|
|
|
|
That is how I spend most of my time. When will VB6 programmers realise that Asp.Net VB is a totally different animal?
And why are they using VB anyway?
I may not last forever but the mess I leave behind certainly will.
|
|
|
|
|
NASA has revealed plans to send sheep into orbit. It will be a herd shot round the world.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|