|
Fist?
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
Marc Clifton wrote: I'm stunned that Ruby made the list, and TypeScript did not.
We're too busy polishing our old turds to start anything new.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
No developer needs to know ten languages at once.
|
|
|
|
|
I never heard about the R language so far - and it made it in the top ten !
|
|
|
|
|
Is SQL really a "programming language"?
Never mind the fact that the "L" in SQL stands for "language"...
|
|
|
|
|
ascending ochre songbirds excited trillions (4,6)
The word lengths were originally swapped.
modified 30-Mar-21 6:57am.
|
|
|
|
|
ascending songbirds larks
ochre
excited (anagram)
trillions (definition)
lakh crores Songbirds could be many, but ascending was a hint: see here[^] and here[^].
@Sandeep-Mewara, I was counting on you!
|
|
|
|
|
Oops! Okie dokie.
But, I would have never thought of it as a word(s) for CCC.
|
|
|
|
|
Evidently, I was the only one who did.
I first encountered those words during a 7-week stint in Bangalore and had to look them up. Lakh crore only appeared when discussing government spending. Just like trillion in the US.
|
|
|
|
|
I never thought a non-South Asian from an Anglophone country would even be aware of those words
Where did you even come across them?
Cheers,
Vikram.
|
|
|
|
|
Aah, I had seen this message earlier today but after posting, I see your later message where you explained to Sandeep.
Cheers,
Vikram.
|
|
|
|
|
@GregUtas
Where's the CCC?
"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!
|
|
|
|
|
He's getting as bad as me - I'm not having that
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
Tired, and some joints hurt, but mostly I'm OK.
Went upstairs, emptied the waste from the cat's litter tray, sorted the washing into light and dark wash, brought them downstairs, started one wash going - and I'm knackered. Takes me right back to just after the Full Covid Experience ...
And Randal got it right, again: xkcd: Immune Response[^]
"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!
|
|
|
|
|
Glad you're feeling better - that cartoon is spot on.
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
Good to hear - go, go, you are doing great.
|
|
|
|
|
I was fine for 8 hours. Then came the aching joints and a couple of hours of violent shivering then became very hot.
Today, it feels like the flu.
Never had any sort of reaction to other vaccines so was expecting to get away with it
|
|
|
|
|
Thankfully I have a robust constitution and delete it viciously...
But I thought I should purge here for all to see!
The kind of code below makes me sick to the bone... When I see it I need to immediately incinerate this try/catch never to be caught again!
try {
DoX();
}
catch (Exception ex) {
throw new Exception("Having problem Doing X!", ex);
}
And don't give me the horseradish about "but they use this opportunity to do logging and stuff". I mean this exact code above! No additional stuff!
And speaking of logging, I have seen such try/catch/logging being nested zillion of time resulting in zillion of log entry for one single exception... yuk...
All of that can surmised with this simple hypothetical dialog
Q: (Newbye Dev) How do I throw an exception in case of exception?
A: (Captain Obvious) Just don't catch the goddamn exception you donkey!
modified 29-Mar-21 22:17pm.
|
|
|
|
|
I agree that it should probably be something more like:
try {
DoX();
}
catch {
throw;
}
because that will preserve the error, while still putting in an opportunity to add logging, and kind of a placeholder in the code. Avoiding catching the exception type not only makes explicit that you don't care what kind of exception it is, it also forces you to define your exceptions once you add logging. After all you can't log an exception if you don't capture it in a type, so when you do get around to logging it forces you to consider your exception types at that point, leading to at least a half step toward solving your second complaint about throwing a zillion errors, because you're more selective about what you throw.
However, I'd argue the above is probably not worth it, but I think that comes down to a matter of style. I certainly wouldn't balk at the above code, but I probably wouldn't write it myself.
Real programmers use butterflies
|
|
|
|
|
Because you haven't imagined the horror to its full extent yet!!!
void Method_1()
{
try {
Method_2();
} catch (Exception ex) {
throw new Exception("Method_2", ex);
}
}
void Method_2()
{
try {
Method_3();
} catch (Exception ex) {
throw new Exception("Method_3", ex);
}
}
void Method_3()
{
try {
Something();
} catch (Exception ex) {
throw new Exception("Something", ex);
}
}
I'd say how about that?
void Method_1()
{
Method_2();
}
void Method_2()
{
Method_3();
}
void Method_3()
{
Something();
}
or that
void Method_1()
{
try {
Method_2();
} catch (Exception ex) {
throw new Exception("Method_2", ex);
}
}
void Method_2()
{
Method_3();
}
void Method_3()
{
Something();
}
instead!
|
|
|
|
|
I think this deserves a post in the Weird and the Wonderful forum-
|
|
|
|
|
Yea, I realized that afterwards! ^_^
|
|
|
|
|
I'm afraid to look at some of my early code because I'm afraid I'd see something like this.
|
|
|
|
|
Ugh, I've seen code like that many times!
try {
DoX();
}
catch (Exception ex) {
throw new Exception("Having problem Doing X.", ex);
} Fixed it.
That exclamation mark is just screamy and unprofessional
|
|
|
|
|
Glad you understand!
|
|
|
|