Follow

diaries: today my app finally evolved persistence: it keeps a log of events in an append file and can recreate its state from this log on launch. No special revelations, just wading through clunky Java APIs for files and datetimes.

Also, spent too much time on trying to pass a static (class level) method as a first-class function into `map`, as it requires an extra parentheses:

items.map((MyClass)::method)

I have a strong feeling I'm doing something unidiomatic…

Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!