193 reputation
14
bio website michal.kosmulski.org
location Warsaw, Poland
age
visits member for 1 year, 1 month
seen 7 hours ago

Senior Java Developer at Allegro Group.


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?
Jun
26
awarded  Supporter