|
Super Lloyd wrote: hand in hand with unit testing with mocks. Another thing I dislike, though I would sometimes concede them the title of necessary evil.
Yet another opinion we share. I don't do unit testing unless I have to. For my non-commercial code, I don't really write that much in the way of tests until I have to. I know that's evil of me, but there it is. I figure I'm just challenging myself to write more stable code the first time. Yeah, that's it. *whistles*
I can wrap the static methods with a class that just delegates to them, which is what I was referring to when I said "ersatz 'singleton'" - I just don't like it. I prefer the statics, but even that I don't like.
Real programmers use butterflies
|
|
|
|
|
honey the codewitch wrote: I have an aversion to creating things like statically backed ersatz "singleton" classes in languages that support them.
One of my previous managers was talking: I send programmer to C++ design course, after such course he writes only singletons.
Yep, for C++ programmer, the simplest way to look smart is to write a singleton.
|
|
|
|
|
"If you learn nothing else, learn singleton" -- and they learn nothing else.
|
|
|
|
|
I'm forced to write either a static class (like what I have now) or an ersatz singleton backed by that static class (wrapping it)
I'm sticking with the all static class.
I can't afford the this pointer to create a real singleton for the kind of things I'm doing. Right now all the arguments to calls are being put in registers, but I only have so many of those, and this is all critical code paths - anything I do impacts the final framerate of the emulator.
I have to be very careful in my design here. I can't get fluffy. I can't afford it.
Real programmers use butterflies
|
|
|
|
|
Here they are translated to English, using a flip chart: Bec Hill translates "Non Je Ne Regrette Rien" (Edith Piaf) - YouTube[^]
May be slightly NSFW depending on your Internet Police, so watch at home if you are not sure.
Made me laugh anyway!
"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!
|
|
|
|
|
She must be the daughter of Benny Hill!
|
|
|
|
|
Not really, being French meself!
|
|
|
|
|
Q. What do you call someone who speaks three languages?
A. Trilingual
Q. What do you call someone who speaks two languages?
A. Bilingual
Q. What do you call someone who speaks one language?
A. English
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
There is a woman who hangs around the play-ground offering cheap batteries.
She sells 'C' cells by the seesaw.
The less you need, the more you have.
Even a blind squirrel gets a nut...occasionally.
JaxCoder.com
|
|
|
|
|
You're fired! Here's your coat.
|
|
|
|
|
Please explain the joke.
I do a bit o' English, but this beyond me. And it's a spade, not a shovel.
Bastard Programmer from Hell
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
It is an English "tongue twister", i.e. a phrase that gets difficult to say multiple times, especially at speed. Ofte used as a children's game. The original phrase is "She sells sea-shells by the sea shore".
|
|
|
|
|
Thanks. And good exercise.
Bastard Programmer from Hell
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
Good point ... I know about "she sells..." from my English lessons some time ago, and now I also know the meaning of "seesaw". And... both tongue-twisters can even be combined in one sentence ...
|
|
|
|
|
No, Bob.
Just sign the divorce papers and you can both move on with your lives.
"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!
|
|
|
|
|
Heh,
Haven't you heard? Marriage Is forever!
Best Wishes,
-David Delaune
|
|
|
|
|
I'm told duct tape can fix anything
Real programmers use butterflies
|
|
|
|
|
Wendy was never that into Bob to begin with. (Nor the other way around I suppose.)
|
|
|
|
|
Something wrong with our Bob? What are you talking about?
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
Well,
Bob the builder and friends specialize in fixing things, including conflict and retributions. But when they say "No" it means that they have encountered a situation that they cannot seem to fix.
The spiel about divorce papers is a suggestion for both parties to go their separate ways.
Best Wishes,
-David Delaune
|
|
|
|
|
Scoop, Muck and Dizzy, Rolly too. Lofty and Wendy, left the crew.
|
|
|
|
|
Yep,
I ordered Starlink middle of this year and was suppose to get my kit in November. But now my account page has been updated and changed to "Starlink expects to expand service in your area by mid 2022." I've been waiting for nearly 6 months. I am not sure if it's related to the chip shortage but they suddenly added 6-8 months to my wait time.
See here[^]
I posted some questions about it over on /r/Starlink but mostly got vague and sometimes rude responses.
Is there anyone else here on codeproject getting Starlink? If so what has your experience been like?
Thanks,
-David Delaune
|
|
|
|
|
I have Starlink set up here in Dublin,Ireland - the kit arrived about 2 months ago and I think that was 6 months after my order.
Speed is good and the kit is rugged (we just had a big storm here but it was not affected) but it is quite heavy and does need a good "view of the sky".
|
|
|
|
|
Duncan Edwards Jones wrote: does need a good "view of the sky"
Do you know if this would have any effect on my order delivery date? I was told that I would need to survey the sky around my property so I installed the Starlink app on my phone. There are no locations anywhere on my property that have a 100 degree unobstructed field of view. I walked all around but I have too many oak trees.
Someone told me that they were giving priority to orders with a confirmed installation coordinate.
|
|
|
|
|
It seems unlikely - I had not downloaded the app before mine was delivered.
|
|
|
|