|
I can't be the only one that occasionally runs into a situation where I need to produce an awful lot of code before I can test any of it, because it's all interdependent. This often happens when I'm integrating something to an external API that itself is rather complicated, but it can come up in other situations as well. My SVG renderer for example - there are just so many moving interlocking parts that you're standing on a mountain of code before you even get to proof of life.
So if you've ever been in that situation, I imagine you hate it as much as I do.
It's stressful to me. I do not like coding a house of cards, and then having to go back and verify it after the fact. It feels shady. How do you deal with it?
Some kind of process management?
Some clever form of testing I'm not familiar with?
Tai chi?
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
honey the codewitch wrote: I can't be the only one that occasionally runs into a situation where I need to produce an awful lot of code before I can test any of it
Rarely, but it's a PITA and I get pretty stressed. Usually for nothing but occasionally it proves to be a can of worms and I have to go back and try to debug the code, which causes more frustration until I get to the point where I post a stupid question here on CP that makes no sense to anyone but me then I get away from it for a while and behold I figure it out.
If you can't find time to do it right the first time, how are you going to find time to do it again?
PartsBin an Electronics Part Organizer - Release Version 1.4.0 (Many new features) JaxCoder.com
Latest Article: EventAggregator
|
|
|
|
|
Okay, so basically same as me.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
Completely abstract and perhaps not appropriate for your context: The first thought I have is to abstract with immutable objects. But maybe I'm only simply crazy![Confused | :confused:](https://www.codeproject.com/script/Forums/Images/smiley_confused.gif)
|
|
|
|
|
I'm trying to wrap my head around how that would work in my present situation, and nope. I am not clever enough to figure out how that would help me.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
It's my usual way of working, whether coding something big from scratch or making a large change. The benefit is not having to plan stable waypoints that can be tested, which typically involves developing some code that will later disappear. The drawback is anticipating [blecch] several lengthy debug sessions when the code is done.
|
|
|
|
|
I don't have a debugger, so the debug sessions are .. interesting.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
honey the codewitch wrote: Some kind of process management? Yes, with time you get used to it. The stress I mean not the situation itself
If you've ever been mountaineering, it's a bit like descending on unstable pebble stones: you need concentration, speed and skill. When you do it right and you descend in one piece it's very rewarding. If not, it's very painful.
Personally, having done it quite a few times, I don't mind it that much. What I find more annoying is having to tie up all the loose ends that remain behind. After all the high jinks, the mundane cleanup seems dreary but I'm a professional and I know it has to be done.
Mircea
|
|
|
|
|
Entered the living room this morning and I immediately noticed the giant splash of water near the back door.
The rain is seeping through the ceiling through a leakage that seems to be about a meter wide
It's been raining for about a month, but never had this problem until last night.
This sucks big time! (not quite the expletives I uttered this morning, but let's keep it civil)
|
|
|
|
|
I know it is not the best answer, but if water only drops from the upper side, be happy.
It could come as a wave through the doors, bringing mood, oil from the crashed cars and many other things (like fecals, dead animals or similars).
We have had the strongest rain week of the last years, the basements of most houses got full of water, a colleague lost his car, another one had to be evacuated... luckily I wasn't directly affected
Damned extreme weather
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Yeah, could be worse, although floods like that don't really happen where I live (well, not since "the disaster" of '53).
We've had the wettest May ever, so it's kind of weird it only started leaking now.
|
|
|
|
|
Luckily no floodings at the Mosel river where we are on holiday at the moment near Traben-Trarbach, also the weather is fine since our arrival last friday.
|
|
|
|
|
Could be worse - if we notice a puddle on the floor somewhere, it's usually one of our cats.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
That was my first thought too.
Not sure how cat going pee pee is worse than a structural defect in your house though
|
|
|
|
|
Cat pee has a really strong smell, and it's very hard to get rid of. I bought a new set of motorcycle waterproofs, and before I got a chance to use them one of our cats managed to pee on the inside. Even jetwashering didn't help - I binned the set and got a new one ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Sheesh, I thought you were talking about a memory leak in a program!😳
|
|
|
|
|
i'm sure there's an ointment to help with leakage.
CI/CD = Continuous Impediment/Continuous Despair
|
|
|
|
|
Oh! You're talking about the roof. Sorry, I thought it was something ... medical. Yeah, we'll go with that.
|
|
|
|
|
Had something similar happen due to a faulty vent on our roof, and near sidewise rain - I live in a really rainy region.
It flooded the INSIDE of our walls and was running through the doorframe of our coat closet. So that was fun.
I don't envy you, because I've been there. I do wish you the best of luck, and I hope it's an easy fix. It was in our case, relatively because we caught it before it did any expensive damage.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
I woke up this morning with lots of water just outside my bedroom window. Then I remembered we are on a cruise ship.
Within you lies the power for good - Use it!
|
|
|
|
|
Why do people go out of their way to answer questions that we know should be in a different forum with people we know abuse the system? Like, what's the impulse to be the sucker? Not really referring to peeps we know who don't do nothing but abuse the system over and over, but to those who blatantly do not care and 100% of their posts is nothing but questions in the lounge.
And sure, we've all done it at times (myself included). And at times I'll attempt to help if there's no forum suited for the query in question that I know of at the time of replying and it's someone I know. Like for instance, Sander just had a networking question and only now do I realize there's a hosting and servers forum. Oops. So, I guess I'm a hypocrite.
But, we know Sander and know he's not intentionally breaking the rules. Can't say that for some in the lounge (won't mention his name). So, why? Surely, doing nothing but answering tech questions to people exploiting this fact is not a dev's idea of being "social"?
Jeremy Falcon
modified 10hrs 15mins ago.
|
|
|
|
|
Not to mention there is still someone trying to answer his questions in appropriate forums...
"In testa che avete, Signor di Ceprano?"
-- Rigoletto
|
|
|
|
|
I think it's partly because folks know their post will be seen pretty much immediately in The Lounge.
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
^ This.
It's not laziness, it's just increasing the odds someone that possesses knowledge on some obscure/very specific topic will see it and offer a response.
Who in his right mind regularly looks at all the forums?
|
|
|
|
|
I think it is nothing more than people liking to help others. Sure, they should refer the questioners to the appropriate forum, but in many cases it's much easier to answer the question.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|