We index arrays with integers. Lists also, at least the ones that allow random access. And sizes of collections are also integers. This allows for entries in Java and typical JVM languages, because integers are actually considered to be 32bit. Actually we could think of one more entry, using indices , but then we would …
Kategorie-Archive: Scala
Logging
Deutsch Software often contains a logging functionality. Usually entries one or sometimes multiple lines are appended to a file, written to syslog or to stdout, from where they are redirected into a file. They are telling us something about what the software is doing. Usually we can ignore all of it, but as soon as …
Meaningless Whitespace in Textfiles
We use different file formats that are more or less tolerant to certain changes. Most well known is white space in text files. In some programming languages white space (space, newline, carriage return, form feed, tabulator, vertical tab) has no meaning, as long as any whitespace is present. Examples for this are Java, Perl, Lisp …
Loops with unknown nesting depth
We often encounter nested loops, like for (i = 0; i < n; i++) { for (j = 0; j < m; j++) { doSomething(i, j); } } This can be nested to a few more levels without too much pain, as long as we observe that the number of iterations for each level need …
Scala Days 2018
In 2018 I visited Scala Days in Berlin with this schedule. Other than in previous years I missed the opening keynote, which is traditionally on the evening before the main conference starts, because this is not so well compatible with my choice of traveling with a night train, especially because I did not want to …
ScalaUA 2018
About a week ago I visited Scala UA in Kiev. This was the schedule. It was a great conference once again, as it was already in 2017 and I really enjoyed everything, including the food, which was great again… 🙂 I listened to the following talks on the first day: Tales from the trenches, developing …
When to use Scala and Ruby
There are many interesting languages that have their sweet spots and of course a larger set of languages than just two should be considered for new projects. But Ruby and Scala are both very interesting languages that did not just pick up and sell concepts that were already known, but brought them to a new …
Christmas — Weihnachten — Рождество 2017
Bon nadal! — Priecîgus Ziemassvçtkus — З Рiздвом Христовим — Buon Natale — Bella Festas daz Nadal! — С Рождеством — Срећан Божић — καλά Χριστούγεννα — God Jul! — Feliĉan Kristnaskon — ميلاد مجيد — Feliz Navidad — Glædelig Jul — Fröhliche Weihnachten — Joyeux Noël — Hyvää Joulua! — クリスマスおめでとう ; メリークリスマス — …
Scala Exchange 2017
I have visited Scala Exchange („#ScalaX“) in London on 2017-12-14 and 2017-12-15. It was great, better than 2015 in my opinion. In 2016 I missed Scala Exchange in favor of Clojure Exchange. This time there were really many talks about category theory and of course its application to Scala. Spark, Big Data and Slick were …
ScalaUA 2017
About a month ago I visted the conference ScalaUA in Kiev. This was the schedule. It was a great conference and I really enjoyed everything, including the food, which is quite unusual for an IT-conference.. 🙂 I listened to the following talks: First day: Kappa Architecture, Juantomás García Molina 50 shades of Scala Compiler, Krzysztof …