476 karma · joined May 12, 2020 (6y ago) · 570 submissions
comment 2y ago · link · parent
If you talk to the CEOs of large companies or miltary leaders, you find that they are unable to exert effective control of their organisations. The organisation will do whatever it wants to do. The leader can make their command but at every level through the organisation that command will be slightly subverted. The more layers, the less of that command will get through.
Since it's in the news, take for example Putin and Russia, Putin thought he had tank battalions that his lower downs had sold for parts decades ago. Based on the information in front of him, he should have taken Ukraine in several days regardless of resistance by the locals.
And whilst you might think it's impressive that he cut the budget in US congress to Ukraine, back-handed deals to send old Soviet equipment from 3rd party countries to Ukraine were made and now they are exhausted London is loaning Ukraine, Russia's money.
Putin's authoritarian Russia might be able to cut off the head of democracy but he's up against a five headed hydra. Democracy is a lot more scary than Authoritarism from a military perspective.
"You do not want your food supply being run according to democratic principles, you want it to work."
This is something that people don't really get, what's important is that the people delivering the food get the sack if they failed to do it. As long as that happens it's okay.
That's the reason why socialist and overly authoritarian countries have supply problems, they don't have an effective mechanism to replace failing organisations. Venezuela isn't able to extract Oil because the Oil dereks are run by the local dictator's family members.
comment 2y ago · link · parent
That's just the way it usually shakes out.
DSLs are known in academic literature as 4th generation languages (whereas Go/C# would only be 3rd generation languages), they are really good thing as long as you aren't the person implementing them.
comment 2y ago · link · parent
Rust is for high performance, high concurrency applications where the developer can spend all day building them.
comment 2y ago · link · parent
Go is simpler than C# and that's giving it the advantage over C#.
comment 2y ago · link · parent
Datablock b6f3dff6:
5f3d4f384231fe2cdc2b68e593e1e239601d65828f61cc05
71efc6363a22e66ad757cb363d7f618c01bd74128452401d
6e68aa26d7f2e59553880157652d07df64e3583d51f5ba76
f9f7a0adcdaa7bc01b5b470bb5ab43f0fb506bcb8be85925
f34f81e228aa13ad20644be83590faad07acd9dadf353bc1
13bea4dc64ebcc1814c27fe51b28d48eddedad955a5df41e
comment 2y ago · link · parent
The overwhelming majority of bugs in software are behavioural bugs, which typing does not catch.
If you want to go down the formalism route to catch bugs then at the bare minimum you require Z formal specifications for all your code.
Do you have Z formal specifications for all your code?
comment 2y ago · link · parent
Static type checking has a measured bug catch rate of <1%. So the quality of any code where the programmer depends on static typing to verify correctness rather than unit tests is very very low.
comment 2y ago · link · parent
The majority of bugs in code are about the behavior of the code rather than the typing. You require unit tests or some other more advanced technique.
comment 2y ago · link · parent
The duck typed code is also significantly shorter, less lines of code per software feature means less bugs per released software feature.
It's very difficult to compete against just having less code. You only needed to write 1000 lines of code instead of 3000 lines of code? Then you just eliminated 66% of the bugs.
Static typing on the other hand catches less than 1% of bugs.
So you can go for the duck typing approach and remove 66% of the bugs in your code or the static typing approach and remove 1% of the bugs in your code.
Which approach do you think works better?
comment 2y ago · link · parent
I'm telling you the ducked typed micro-service based approach is the way to go.
But you sort of know that "not to write a 2Mloc server in Python", don't you? If we encourage developers to use static typing they will be writing 2Mloc monolithic servers. That's just the type of code that static typing encourages.
Encouraging static typing in Python is putting them down the path of disaster.