|
Quote: Arrogant or merely delusional? The 2 are not mutually exclusive...
|
|
|
|
|
I did that the day before yesterday, made changes in about 120 files and committed. A few minutes later someone behind me is banging their head on the table why the page isn't working. Looked like I missed a few .cshtml references.
But I think I'm just confident of my skills
|
|
|
|
|
GKP1992 wrote: made changes in about 120 files and committed
See? That's how Real Programmers do it.
Have a beer
cheers
Chris Maunder
|
|
|
|
|
I'll go with delusional.
Everyone has a photographic memory; some just don't have film. Steven Wright
|
|
|
|
|
Apparently your files have too many lines of code.
|
|
|
|
|
There's nothing "apparent" about it.
You know how these things go: you start off well, and then generations of changes with lots of "I'll clean that up later" mean things get a little messy.
sigh.
cheers
Chris Maunder
|
|
|
|
|
Yes, I do know.
Now, it's time to clean up, apparently.
|
|
|
|
|
believe in yourself: as long as it compiles - surely your code must be ok.
next step is delegation - get a junior to fix the tests [results].
Message Signature
(Click to edit ->)
|
|
|
|
|
Lopatir wrote: get a junior to fix the tests [results]. I believe you will find that most of those people are currently employed by BMW!
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- Never argue with a fool. Onlookers may not be able to tell the difference. Mark Twain
|
|
|
|
|
My advice: avoid web development
|
|
|
|
|
Chris Maunder wrote: when my serene view of reality doesn't align with what the rest of the world considers reasonable.
That's my normal state. However, I've come to realize that what the rest of the world considers reasonable is actually quite unreasonable.
Chris Maunder wrote: all my unit tests would just work
But that's what unit tests are for -to destroy your serene view of reality. You should be celebrating!
Latest Article - A Concise Overview of Threads
Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Artificial intelligence is the only remedy for natural stupidity. - CDP1802
|
|
|
|
|
I discovered if I comment the tests out my blood pressure reduces back to normal quite nicely.
cheers
Chris Maunder
|
|
|
|
|
Unit test? Isn't that what production is for?
|
|
|
|
|
|
Quote: The fault, dear Brutus, is not in our stars,
But in ourselves, that we are underlings.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
The difference between arrogant and confident is success. So, I guess over confidence could be labeled as arrogance.
I once inherited a C code base and discovered, to my surprise, that most of the functions declared an 'int' return type, but there were no return statements for success. A successful result would have been whatever happen to be in the AX register after the call was complete. The compiler was not happy and generated lots of warnings.
I went through an uncounted number of functions and added the return statements. The compiler was very happy, no errors or warnings. But, the code would no longer work.
I decided that I had more import things to do than fix code that worked, so I dropped the whole idea and lived with the warnings. Besides, 80 percent of the time they were not checking the return type any way.
INTP
"Program testing can be used to show the presence of bugs, but never to show their absence." - Edsger Dijkstra
"I have never been lost, but I will admit to being confused for several weeks. " - Daniel Boone
|
|
|
|
|
Quote: I once inherited a C code base and discovered, to my surprise, that most of the functions declared an 'int' return type, but there were no return statements for success. Please don't tell me that. It's an abomination. I cannot believe a C programmer could have done such a thing.
|
|
|
|
|
Chris Maunder wrote: what the rest of the world considers reasonable The rest of the world isn't always right.
A lot of great inventors were called arrogant, delusional, and even mad, yet they invented airplanes, discovered America, discovered that the earth was round and that the sun was the center of the galaxy...
You, however, might just need another coffee to clear your head
|
|
|
|
|
Maybe just feeling lucky! It's a nice challenge isn't it? It's either a fist pump or a quick swearing fit followed by bug hunting, usually followed by more swearing fits and disbelief that I could have made such stupid mistakes/overlooked the obvious. I'll settle for lots of little victories!
"Go forth into the source" - Neal Morse
|
|
|
|
|
Unit tests - pffff
The only unit tests I have are the end users droids units who test my code.
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
|
|
|
|
|
The solution to all of your problems![^]
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- Never argue with a fool. Onlookers may not be able to tell the difference. Mark Twain
|
|
|
|
|
Hey, I weekly change stuff according to my client's wishes, every time believing that when I fulfil said wishes, I can finally draw a line under the particular work package, only to find my client to have more wishes.
|
|
|
|
|
On the plus side, that's what unit tests are for, right?
|
|
|
|
|
I would suggest: Misplaced Optimism...
Has this EVER Worked this way?
Consistently?
While the wife is trying to make sure you get home in time for those Dinner Plans? (LOL, that ALWAYS breaks a build!)
|
|
|
|
|