|
Super Lloyd wrote: Now.. it might seems inevitable on large project with large team... But, at the risk of being blind folded by fanboyism, I think Microsoft.NET API code looks quite neat and simple. And this is a large project API too, 20 years in the making! By a large corporation!
First thing that came to mind is "[EA Game Name] [Year++]".
That's how it works, right? They keep going back to the same codebase, someone adds something to make it bigger/uglier, and they release a new version in the established franchise...
|
|
|
|
|
The only time I've ever had much success with that sort of thing (and I'm guessing this isn't an option here) is by sitting everybody down, writing a detailed specification for what it's *supposed* to do, then redesigning the whole thing from scratch - properly - and rewriting it. In the long term, this will actually save time, in that from that moment on, half the development effort won't be spent refactoring old code... but it's a tough job to sell something like that - tough in proportion to the size of the existing codebase, that is.
|
|
|
|
|
The only thing I can suggest (aside from manual review) is static analysis/linters.
I use clang-tidy (which is mostly a linter, with lots of useful checks) and clang static analysis.
Depending on what buildsystem you use, these can be really easy to setup. I use CMake, and have a ‘static analysis’ build that takes longer to compile, but I only build that when I’m ready to make a commit, building a debug without analysis build normally. I know that modern Visual Studio (2019, I think?) makes it simple to use clang-tidy too, as do other IDEs (QtCreator, Clion).
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
Why maintain complexity Super Lloyd?
While all the answers seem to dissolve over time like plaque the best questions persist?
There is a huge problem with the prosthetics we are wearing. They are infected with malignant complexity. All the machines we are becoming dependent on are infected with a sort of cancer that has them needing to grow constantly... the code has to grow to cover the complexity in hardware and thus the hardware has to grow to cover the code overhead and on and on... and the curve is not supportable?
Reduce and streamline?
I challenge code and hardware manufacturers to build it and they will buy it. It being a system made in the country where it will be used. In factories that are secure... not kind of secure but absolutely secure. Build a dedicated user platform coupled with a separate and dedicated security interface with the outside. Put in one box a processor dedicated to one job, to serve the user that is protected by an optically coupled and dedicated security processor. The vast majority of the overhead in code is due to two things. One is the need to interface with a universe of devices that are full of vulnerabilities, including those made in a competing and or adversarial country? The second is integrated security stemming from all the compatibility needs, complexity of code and constant changes in all of the above. Why, oh why, not remove the negative feedback loop completely? At least do so in the most important infrastructure?
... The current state of United States computer infrastructure is an abortion! That is not my opinion it is Word!
thank you for reading my rant on how we are dependent on unnecessary complexity and prosthetic devices that are a huge threat to Humanity.
blessings
chuck
|
|
|
|
|
Super Lloyd wrote: I think Microsoft.NET API code looks quite neat and simple.
It is easier to keep separation of concerns separate for libraries. Especially when they started both as a product and a library.
Super Lloyd wrote: and simple.
Unless you want to mock some of the functionality. But when originally developed that wasn't as significant.
Super Lloyd wrote: against the growing complexity?
Work for a startup that hasn't written any code yet.
|
|
|
|
|
|
Quote: Choose the projects you want to load by right clicking and selecting Reload Project or load the project and its entire dependency tree by clicking Reload Project with Dependencies.
woooa.. I have to give it a try!
|
|
|
|
|
|
Apparently someone did snap a photo of the culprits.[^].
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
I am fairly certain the silliness disease has spread across the globe.
|
|
|
|
|
When they started erecting fixed speed cameras here, they soon had a vandalism problem.
So they put a security cam on another pole nearby.
So the smartasses just trashed that first.
The authorities had to fit two security cams watching each other....
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
A few places have discovered that these cameras can't withstand shotgun blasts.
|
|
|
|
|
Don't tell me! JSOP???
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
|
|
|
|
|
So, it worked as intended?
|
|
|
|
|
A lawyer would call that entrapment!
"Go forth into the source" - Neal Morse
"Hope is contagious"
|
|
|
|
|
Next thing you know, they'll steal the toilets back at the police precinct.
The cops will have nothing to go on.
|
|
|
|
|
A policeman sees a guy leave a pub at closing time and get into his car. After observing some erratic driving, he pulls the man over.
"Where are you going at this time of night, sir?"
"I'm on my way to attend a lecture about alcohol abuse and its effects on the human body, as well as smoking and staying out late."
The officer asks, "Who would give that kind of lecture at this time of night?"
"My wife."
"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!
|
|
|
|
|
|
Suddenly I need to care how many "em"s high text in an <h1> tag (and <hN >) needs to be.
I feel like I just stepped off the edge of the earth. Or maybe stumbled on a path wherein if I follow it at the end there's some guy named Ted who holds the keys to the kingdom - all of this arcana that nobody cares about anymore because everyone just uses webkit.
What am I doing? *headdesk*
Edit: Aaand I found this Zuga.net | HTML - Heading elements h1, h2, h3, h4, h5 and h6.[^]
Brilliant!
Real programmers use butterflies
modified 28-Jul-21 17:35pm.
|
|
|
|
|
You are going mad
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
Nice day for it.
Real programmers use butterflies
|
|
|
|
|
It's always a nice day for mild to moderate insanity.
And think of it this way: if you kill all the psychiatrists, are you no longer crazy?
"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!
|
|
|
|
|
If you are into simple typesetting, you should look to the code of TeX from Donald Knuth...
"The only place where Success comes before Work is in the dictionary." Vidal Sassoon, 1928 - 2012
|
|
|
|
|
If my post made it seem like this is something I *like* doing then I wrote it wrong.
Real programmers use butterflies
|
|
|
|
|
Love Tex, but it's old. LyX would be the somewhat modern approach. Or Markup. Markup seems to be the new thing for html typsetting.
|
|
|
|