585 karma · joined Aug 22, 2019 (7y ago) · 83 submissions
comment 2mo ago · link · parent
1. Leader escalates issue to his team 2. The team scrambles to come up with a solution 3. No one wants to take ownership. #NotMyProblem 4. weeks or months are spent on 'developing a plan' 5. nothinghappens.jpg
comment 1y ago · link · parent
No template, as it's specific to my team's project, but one example is that we enforce that classes within our core domain don't import types from outside the project. You could accomplish this with separate projects, but that comes with its own complexities. This rule basically says "any domain type shall not import a non-domain type".
comment 1y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
For a small web app, fine, but if you're running enterprise level software processing billions of DB transactions per day, clocks just don't cut it.
comment 3y ago · link · parent
comment 3y ago · link · parent
Generally, unbounded operations have to be broken up at some point. It just depends on how big the data set is.
comment 4y ago · link · parent
comment 4y ago · link · parent
No
> So much code fails unexpectedly. When you want to build a professional application you need to handle every error.
Yes
> Checked exceptions help you avoid that nonsense.
Wrong
> People hate checked exceptions because of laziness. Java guards you against yourself.
Wrong
Java checked exceptions are almost universally regarded as being a mistake because they don't actually solve the problem they were meant to solve, and they make the code extremely hard to work with.
See this post from Roman Elizarov: https://elizarov.medium.com/kotlin-and-exceptions-8062f589d0...
comment 4y ago · link · parent
comment 4y ago · link · parent