17 karma · joined Jan 16, 2023 (3y ago) · 16 submissions
comment 1y ago · link · parent
I discovered most small businesses that I use through word of month, seeing them while traveling or active search through google or google maps. The ones that I may have discovered through ad where through local physical add such as any box fliers or fliers/posters in other local businesses.
comment 1y ago · link · parent
There must be a probable cause : https://www.service-public.fr/particuliers/vosdroits/F14837
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
There is an option to punish the first aspect while limiting the damage on the second one : the nationalisation of the company, with limited compasation to its shareholder. Strangely it seems to only be done or considered to save "to big to fail" business, such as bank, in time of crisis, not as a tool of law enforcement.
comment 2y ago · link · parent
In the building sector you can't build without your design being signed of by an engineering office and the engineer and its office take the responsability for it, both at the criminal and civil level.
If the same rule existed for the software industry, the organisation would adapt itself around it.
comment 3y ago · link · parent
Being an european, I would say that the first cause is cultural. Innovation for the sack of innovation isn't particurlaly viewed as positive as in the US. In many circle it's even seen as negative. Same thing for entrepreneurship, as there is a good chunk of people that see Businesses, especialy big ones, as an ennemy.
comment 3y ago · link · parent
You can't do that based of the code because the code is limited to its content. How do you track everything that isn't in it ? (requirements, relation with other teams, delivery to customer, customer tickets,...)
comment 3y ago · link · parent
But if you are a small shop that build software for other companies, it isn't. You write the software, get a one off paiement and you'll not be able to get more revenue from it in the future outside of a possible maintenance contract. You can't resale it to someone else.
To summarise, the work of many software companies is akind to the work of design office : you do R&D for someone else. The amortization will have to be done by your customer, not by you.
comment 3y ago · link · parent
I don't think that it's the case for C# task, which also appear to be an higher level construct.
comment 3y ago · link · parent
The cause is Records themselves. Record are immutable on purpose and you want to add a mutation constraint whish will not play nicely.
The proposed constraint will be triggered in this case :
var r = retrieveFromDb(); (value is A)
r = r.with(C) -> throw an exception
But this only work if B is generated by the wither. If I deconstruct the record manually and reconstruct with C manually, it'll work. So this offer no garantee that this transition will never occur.I would even argue that this constraint can't be implemented at the level of the class, at least if the class is only a data carrier without external dependencies.