8,715 karma · joined Feb 25, 2014 (12y ago) · 2,256 submissions
comment 4y ago · link · parent
Doing this is incredibly good practice for compatibility, because otherwise you can never add or remove enum values because older clients will break on the unknown values. I also fail to see how it violates the recommendation, invalid data doesn't enter the system.
Imagine all webservers and browsers would need to be updated for every new HTTP header or status code is specified or web pages don't work anymore...
comment 4y ago · link · parent
[1] https://www.cbs.nl/en-gb/news/2022/03/agricultural-exports-e.... In monetary values, 28% is re-exports and 72% is exports.
comment 4y ago · link · parent
I always remembered the same, but was recently in a conversation with Java devs who contradicted it, and could not articulate well why this is the case. and could not find good resources on it.
comment 4y ago · link · parent
Services can either store it in their own database and still get an update stream, or services can read the complete set on boot and keep it in memory. It can avoid the need for RPC/REST calls so centralized services that keep track off this kind of data, preventing cascading failures if those fail.
comment 4y ago · link · parent
If you need processing of streams of asynchronous dynamic ("hot") data it's the least-bad model I know, otherwise there are much better ways, especially now that many languages have async-await keywords or at least a Future/Promise type.
comment 4y ago · link · parent
However, in my experience that is maybe 30-90% of software engineering, depending on environment, role and seniority. There are lots of relevant activities that are more challenging remotely, such as 1-on-1 mentoring, pairing for debugging or programming, or designing and collaborating a project or interface across-teams. Maybe you are "lucky" enough to never have to bother with that.
comment 4y ago · link · parent
comment 4y ago · link · parent
The number of bicycle accidents is quite small and the number of serious head injuries even smaller, helmets would save less than 5 children yearly [1]. This is mostly due to education, both primary school cyclists and driver's license and road design separating cars and bicycles.
[1] https://swov.nl/nl/fact/fietshelmen-hoeveel-slachtoffers-zou...
comment 4y ago · link · parent
comment 4y ago · link · parent
Emacs is such a fundamentally different paradigm from all other IT tools/editors that it just doesn't make sense to recommend a specialized tool with a steep learning curve and non-transferable skills when it's not ubiquitous and more standard alternatives exist without it which do OK. It doesn't matter that emacs was historically the first and everyone else decided to go in different directions, that's just the reality of today.