283 reputation
15
bio website michal.kosmulski.org
location Warsaw, Poland
age
visits member for 1 year, 5 months
seen 13 hours ago

Senior Java Developer at Allegro Group.


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
Jul
8
comment Why do some functional programming languages use a space for function application?
Actually, parentheses are optional in Scala in many cases. This allows you to define functions which can alter be used as a kind of Domain Specific Language within the Scala compiler. For example when using the Circumflex ORM library, you can write expressions such as: SELECT (ci.*) FROM (ci JOIN co) WHERE (co.code LIKE "ch") ORDER_BY (ci.name ASC) list which looks just like SQL but is actually fully correct Scala code thanks to dot-less function calls.
Jul
8
answered Scripts to run Java programs - e.g. Ant
Jun
26
awarded  Yearling
Mar
27
comment Why are inheritance and interfaces restricted to instance members?
In Scala, instead of static methods and fields within classes, you create objects which are singletons that otherwise behave like normal classes and allow inheritance, interfaces, etc. which is IMHO a much more object-oriented approach than static members.
Nov
3
comment Who designed exceptions?
Exceptions in FORTRAN? Come on...
Jul
15
answered Is it sometimes reasonable to cut corners and expect to re-write software in a couple of years?
Jun
29
answered Uses of persistent data structures in non-functional languages
Jun
29
comment Uses of persistent data structures in non-functional languages
@KilianFoth Persistent data structures have a well-established definition: "a persistent data structure is a data structure that always preserves the previous version of itself when it is modified". So it's about re-using the previous structure when a new structure based on it is created rather than persistency as in "able to survive the restart of a program".
Jun
28
awarded  Editor
Jun
28
revised Pair programming business logic with a non-IT person
Typo fixes and grammar
Jun
28
suggested suggested edit on Pair programming business logic with a non-IT person
Jun
26
awarded  Informed
Jun
26
awarded  Teacher
Jun
26
answered Would learning any natural language in particular further your programming career?