|
Quote: In fact, [using inheritance in object-oriented programming] is so fragile that many programmers think that inheritance is a mistake and should be avoided if possible. Those people are not programmers...
edit: Quote: However, you can already see that the object approach imposes a completely different subdivision on the problem. Object-oriented design isn't top-down, even when it pretends to be. The decomposition provided by objects is a model of the real world, which is after all where the idea originated - i.e. in the Simula language and the practice of creating simulations. Not a convincing argument, and I'm not certain I'd buy his thinking. Object-oriented programming is 'composing objects to do the job,' and I'd consider that 'composition.'
|
|
|
|
|
The only thing I see that useful is just to think of the architecture / structure of the project.
But once you star implementing... IMHO it sucks.
He already mentions a couple of problems as "by the way" things, but those are (for me at least) critical flaws in so many moments that I can't see where this should be better / easier / more efficient...
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.
|
|
|
|
|
top-down, bottom-up, orthogonal, parallel, paradoxical, inversal, transversal -- it all doesn't matter because at some point you'll discover that whatever KoolAid approach you drank at the start has led you blindly into a corner where the paint is still wet. It's at that point that the real work of programming begins.
|
|
|
|
|
Had a saying way back, when I was working in C code,
"You can do anything you want, you just may not like the way you have to stand to do it."
I’ve given up trying to be calm. However, I am open to feeling slightly less agitated.
I’m begging you for the benefit of everyone, don’t be STUPID.
|
|
|
|
|
Firmware, baby. Either you build it in Assembler or in C. C++ in firmware is used only on processors so powerful it's no longer what I'd call firmware to begin with.
48kB of Flash and 3 kB of RAM really mix badly with the larger C++ compiled binaries, especially when trying to cram every little bit of functionality that was originally on 128 kB of Flash and 6 kB of RAM.
GCS/GE d--(d) s-/+ a C+++ U+++ P-- L+@ E-- W+++ N+ o+ K- w+++ O? M-- V? PS+ PE Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
I think the author is confused, or maybe it's me. The opposite of top-down programming is, IMHO, event-driven programming, not OOP. The majority of my work these days is automating manual processes, and I typically use console apps for this purpose. Those are inherently top-down, and I use objects all the time inside those apps. That includes not only custom classes that model our business components but objects built into the CLR or Nuget packages.
There are no solutions, only trade-offs. - Thomas Sowell
A day can really slip by when you're deliberately avoiding what you're supposed to do. - Calvin (Bill Watterson, Calvin & Hobbes)
|
|
|
|
|
The characters have developed specific routines, such as waking up, taking a shower, cooking breakfast, interacting with their families, then going to work every day. Scientists re-invent video game NPCs, news at 11
|
|
|
|
|
I suppose a manager saw "Free guy" and wanted to have something similar (without the rogue NPC of course)?
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.
|
|
|
|
|
Just wait until there are AI agents for the C-level management people.
You will work at the office! You will not count commute time! You will put in extra hours when we say so! You will be terminated while you're at home! You will discover you are terminated because your VPN from home stopped working and so you can't even get your termination email!
Oh wait.
|
|
|
|
|
Not all open source is created equal. There are a number of open source imposters out there, and companies should know how to identify them to avoid getting locked in to restrictive licenses that are masquerading as “open.” They just have more eyes painted on
|
|
|
|
|
Kent Sharkey wrote: They just have more eyes painted on and more lawyers' mouths hiding behind them
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.
|
|
|
|
|
Microsoft is not shy about introducing controversial changes to its software, even if feedback forces it to reverse course further down the line. It will now screen your printing?
You really didn't need to print that single sided, did you?
This "feature" should last at least until the next build.
|
|
|
|
|
Key comment:
Quote: While this is unlikely to be too controversial a change, it is still one that will annoy a number of users. It is also something of a strange decision; not only does it change the role of a key that has served a very specific function for -- literally -- decades, it also pushes one of Microsoft's own tools at people.
I have the snipping tool in the quick launch and although I use it pretty often, I still use the PrtScr even more.
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.
|
|
|
|
|
I'm just used to using Win + Shft + S now to take screenshots, I don't think I've used the print screen button in years
|
|
|
|
|
Didn't know about that one
Still more finger movements than only using "PrtScr"
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.
|
|
|
|
|
We’re excited to preview three new features for C# 12: Primary constructors for non-record classes and structs, Using aliases for any type, Default values for lambda expression parameters Looking forward to the confusion that aliasing will cause.
|
|
|
|
|
using AngelHair = Spaghetti;
I’ve given up trying to be calm. However, I am open to feeling slightly less agitated.
I’m begging you for the benefit of everyone, don’t be STUPID.
|
|
|
|
|
Kent Sharkey wrote: Looking forward to the confusion that aliasing will cause.
GIT of the Preview: You can allow aliases to propagate outside a compilation unit by making them global That's going to be either lots of fun, or lots of tears, or (most probably) lots of 🤬🤬🤬🤬🤬🤬🤬🤬
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.
|
|
|
|
|
C# 12? What happened to 9-11? I think I'm using C# 8 with .NET 7, but since the build UI now tells me I can't select the language version, I might as well be using C# from an alternate universe. And isn't the language version somehow tied to the version of Visual Studio, and the update du jour? I guess wikipedia might help explain the mixing and matching of framework, compiler, and IDE that governs the language version.
|
|
|
|
|
.NET 8 Preview 3 is now available. It includes changes to build paths, workloads, Microsoft.Extensions, and containers. It also includes performance improvements in the JIT, for Arm64, and dynamic PGO. Y'all know the drill
Ignore until GA 
|
|
|
|
|
Mmmm... what's "GA"?
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.
|
|
|
|
|
Release version. But I’ll be elephanted if I can remember what the acronym expands to at the moment. Oh. “General availability”.
Where’s the elephant?
TTFN - Kent
|
|
|
|
|
Thanks, I learned something new
Kent Sharkey wrote: Where’s the elephant?
You are welcome
EDIT: Spelling corrected
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.
modified 12-Apr-23 17:34pm.
|
|
|
|
|
Nelek wrote: did lear something But you forgot how to spell (or type?).
#SupportHeForShe
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
You heard of partial classes, right?
The big undocumented new feature is partial words. Come back later and complete them.
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|