Follow

Also… Here's what happens when you mix OO with FP: medium.com/@fatihcoskun/kotlin

has four scope helpers (let, apply, also and run) instead of one in, say, (let) for the single reason of their being two distinct styles of passing the first parameter into a function, either as T.f(), or as f(T). There is no practical difference, but now you need to remember a 2 by 2 matrix to use the correct word.

</rant>

@isagalaev The way 'with' exposes the member variables as local is kind of interesting. It's like an anaphoric 'with-slots'. http://clhs.lisp.se/Body/m_w_slts.htm
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!