393 reputation
18
bio website michal.kosmulski.org
location Warsaw, Poland
age
visits member for 1 year, 11 months
seen 12 hours ago

Senior Java Developer at Allegro Group.


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
Dec
8
comment What do you call classes that do arbitrary work in your project?
@GrandmasterB Forum sounds like a sound name for a class representing a forum, but ForumClass? It's clear that we're dealing with a class so putting that in a name sounds rather redundant and unnecessarily distracting.
Nov
19
answered How to work on not User Story related tasks
Nov
11
answered Race conditions in JVM languages versus C/C++
Oct
18
comment A good generic type system
I would say Scala got generics much better than Java. On the other hand, the answer to whether the result is "easy to learn" is not obvious. It's more complex than Java because in order to not have loopholes, it requires some extra entities like the Nothing type. But I think it's reasonably easy to understand if you don't try to use all the most advanced features at first.
Oct
7
answered JVM memory and zero-copy (de)serialization
Sep
24
awarded  Autobiographer
Aug
25
answered Security Pattern to store SSH Keys