Posts Tagged ‘scala’

Gambling with Scala pt.1

Posted in java, programowanie on marzec 27th, 2012 by Wojciech Soczyński – Be the first to comment

For some time I was eager to write some sample application that will be using Scala and the Akka actors framework. The main problem was to pick up an example, that would make sense to apply both technologies. The idea for the example came to me all of sudden, when I was sitting with my friends after a soccer game. Usually, when you play a game, you are talking about it right after it ends, but this time it was different. My colleagues were talking about poker ! read more »

Wiedz, że coś się dzieje…

Posted in architektura, java, programowanie on marzec 21st, 2012 by Wojciech Soczyński – 6 Comments

Ostatnimi czasy, mam okazję tworzyć dość duże ilości testów jednostkowych. Zwykle tworze je do cudzego kodu, co pozwala mi w pewnym sensie ocenić jego jakość. Zapytacie może, jak proces pisania testów jednostkowych do istniejącego kodu pozwala ocenić jego jakość ?

read more »

The Context

Posted in architektura, domain driven design, java, programowanie on marzec 19th, 2012 by Wojciech Soczyński – Be the first to comment

The inspiration for this post came to me mainly because of the discussion in comments which I had on Sebastian’s Malaca blog. We had a little debate there about the famous „getters and setters” duo. In my opinion, you can peacefully write software, completely avoiding them (with the obvious exception for DTO’s).

read more »

Język Scala dla programistów PHP cz.5 – implicit conversions

Posted in php, programowanie on lipiec 15th, 2011 by Wojciech Soczyński – 7 Comments

Jedną ze świetnych i unikalnych cech języka Scala, której PHP nie posiada są tzw implicit conversions zwane też przez oficjalną dokumentację „widokami” (views). Podobny mechanizm zaimplementowany jest w C#, chociaż szczegółów szczerze powiedziawszy nie znam ;) . read more »

Język Scala dla programistów PHP – cz.4 case classes i pattern matching

Posted in php, programowanie on czerwiec 16th, 2011 by Wojciech Soczyński – 14 Comments

Witajcie ! Jakiś czas minął już od ostatniego wpisu o Scali (3 miesiące), czas więc odświeżyć swoje zainteresowanie i wiedzę na temat tego języka. Dzisiejszym daniem głównym są tzw. case classes. Jest to pewnego rodzaju nowość dla osób przyzwyczajonych do Javopodobnych obiektowych systemów typów.
read more »