Reputation
563
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
2 8
Newest
 Yearling
Impact
~7k people reached

Aug
21
answered Semantic versioning in Agile
Aug
18
answered Any Deterministic Compression Algorithms out There?
Jul
14
comment DRY, string, and unit testing
Also note that your tests often act as a requirement specification document. In this case if you use the constant in tests and refactor, your change applies to both code and tests and tests still pass even though you modified the app's behavior and requirements may not be met any more. If you have "duplicated" values, and your test says you should return value "A", that's a specification. When you modify code so that it returns "B", your test will fail and you will either realize that you should not change that value, or consciously modify the test, saying that requirements are different now.
Jun
26
awarded  Yearling
Jun
20
answered How can I avoid the use of strings?
Jun
17
comment What would truly happen if java.lang.String weren't final?
@Snowman To be precise, the character array being final only makes the array reference immutable, not the array's contents.
Jun
14
answered How to decompose Monolithic applications into Microservices with interdependent functional modules?
May
23
comment How do you avoid getters and setters?
Note that the article you mention was written in 2003 and contains (among more useful stuff) this pearl: " a metadata feature will be incorporated into Java 1.5 (due in mid 2004). [...] You'll be able to use something like: private @property int property;" which clearly didn't happen. There's project Lombok but it does bad things to your bytecode so I wouldn't recommend it. Better use your IDE's code generation feature.
May
6
comment How does modulus work?
Compilers may additionally apply strength reduction optimization for special cases. For example x % 2 might be optimized to a bit mask if that's faster on a specific architecture.
May
3
answered How to concurrently write data in Java without locking?
Apr
17
answered How to mark next version in the source code?
Mar
22
answered How do you handle shared concepts in a microservice architecture?
Mar
18
awarded  Excavator
Mar
18
revised What's so bad about creative coding?
Punctuation
Mar
18
suggested approved edit on What's so bad about creative coding?
Feb
23
answered Micro-services and data replication
Jan
27
awarded  Critic
Jan
16
comment What is programming like in the Japanese language?
KTurtle, a KDE implementation of the LOGO programming language, can be translated, including language keywords, into the user's language. It's primarily designed for children so removing the natural language barrier is supposed to make it easier to learn.
Dec
8
comment What do you call classes that do arbitrary work in your project?
@GrandmasterB Good point. I'd guess it also depends quite a lot on how advanced the IDEs for each particular language are.
Dec
8
awarded  Commentator