|
I know. And like VB _, with enough complaining, perhaps Python will be fixed or at least make optional to allow code block delineation tokens.
|
|
|
|
|
There are some technical and historical reasons that BASIC was THE de facto programming language for students and non-professionals for a generation. The main one, in my opinion, is not that the language was so easy (it IS pretty easy, though), but that it WAS (emphasis on "was") so easy to get started. You literally turned on the computer (TRS-80, Commodore 64, etc.) and you had a BASIC prompt. It's now actually harder to get started in programming because there are just so many layers of tools to get going. (There are notable exceptions, but there is no universal simplicity like what was on the home computers of the 1980's.)
You CAN write high-quality, well structured software in BASIC (and Python, and you name it). You can also write garbage. I've read thirty-year-old BASIC code and re-written it in C. The original code was impeccably constructed!
|
|
|
|
|
...where I open up a file to fix a bug in someone else's code and my brain goes WTF, my eye's pop out, I start crying, and I lose all motivation to do anything for the rest of the day.
|
|
|
|
|
... and eventually realize it is your own code.
|
|
|
|
|
Exactly.
|
|
|
|
|
CPallini wrote: and eventually realize it is your own code.
hahaha, no, if it's my own code, I take out this.
|
|
|
|
|
Usually used on the missus ?
or used BY the missus, more likely...
|
|
|
|
|
I just feel sorry for the poor bloody croc.
|
|
|
|
|
V. wrote: or used BY the missus, more likely...
Ain't that the truth!
|
|
|
|
|
I know what you mean, because it never happens with any of my own code that I look at
I just discovered a pivotal piece of code(not written by me) that has a parameter in the signature of a stored procedure which is not referenced in the body of the stored procedure.
Am I going to 'fix' it?
Heck no - the whole darn edifice will come crumbling down just as I leave for home if I do that!
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
|
|
|
|
|
GuyThiebaut wrote: Am I going to 'fix' it?
Shot, boiled in oil, hung, drawn and quartered, the penalty for removing or reordering a parameter in a stored proc.
We have a whole set of reporting procedures that take in the same 3 parameters, some are not used but the service passes them to conform to a reporting framework we use .
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Charming!
That is a possibility and why I did not 'fix' it - however it's not a pattern I have seen in any of the code where I work.
A better way of coding for this sort of issue is not to have unnecessary parameters but to have an 'entry point' stored procedure which then decides on which stored procedure to call.
The entry point stored procedure having all the parameters and each subsequently called stored procedure only having the parameters required.
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
|
|
|
|
|
Yeah, one of those day. The program didn't happen to store part of the code in database and inject them dynamically, does it. That is exactly what I have to deal with recently.
I inherited a web application where all the page elements plus the JavaScript code for handling user interactions as well as the associated data are all stored in the database. When the whole thing injected onto the browser, it didn't have anything showing in the DevTool. The whole app is the slowest I've ever seen. The really odd thing is the Web app is used by a single person at a time.
Luckily I convinced the customer to rewrite the whole thing from scratch in Desktop.
|
|
|
|
|
Bug ahem...those where feature someone put in the program...you are not supposed to fix things that are not broken.
Caveat Emptor.
"Progress doesn't come from early risers – progress is made by lazy men looking for easier ways to do things." Lazarus Long
|
|
|
|
|
With $500 million of debt.
So a guitar, advertised by Jimmy Page, Slash, Bowie, AC/DC etc etc etc, I mean, etc for the next freaking 6 miles of typing etc, goes bust? Realy?!!!???!!!!!
What the hell kind of moronic management have they had in there? I mean a three year old could manage this. Just dont change anything! Keep churning out Les Pauls and SGs!
F*** me!
|
|
|
|
|
Munchies_Matt wrote: advertised by Jimmy Page, Slash, Bowie, AC/DC
WHo? Oh those old guys.
It's all Adam Levine and First Act guitars now. Kwality. WAlmart.
https://i.stack.imgur.com/ZR25E.jpg [^]
|
|
|
|
|
raddevus wrote: WHo
Rickenbackers wasnt it?
|
|
|
|
|
|
Yeah, SGs in his later days. But the classics, pretty sure it was a Rickenbacker.
|
|
|
|
|
Yes, was. He has gone over to the Dark Side now. That would be Fender.
|
|
|
|
|
The days of teenagers motivated to pick up an ax and learn a few chords is long gone. They're all playing their virtual games and strumming on their air guitars, if that even. Besides, a good guitar (or any instrument) doesn't have the built in obsolescence that the typical product nowadays.
|
|
|
|
|
Marc Clifton wrote: They're all playing their virtual games . . . They're also used to being kept in low- and no-stress situations. So, having to actually do something - by that I means, something real - means they might not get immediate success. Or ever achieve success at all. It's better to just make sure the earbuds fit snugly.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
They are complete drips arent they.
|
|
|
|
|
|