Pas de Code
76 subscribers
106 photos
1 file
402 links
What I cannot create, I do not understand.

DM: @alexey_mileev
Original channel in RU: @devballet
Twitter: twitter.com/pasdecode_
Download Telegram
Esoteric programming languages are different. Some are frightening, like Madness. Some are funny, like FiM++. But I've never seen anything as disgusting as Folders. There are no source code files in Folders, just Windows folders hierarchy, and this hierarchy defines our program.

#humor #esoteric #language
The idea to show explicitly in a return type that function can fail is not new, yet still not mainstream either. In this post author shows us how to implement such Result monad in Kotlin. The implementation itself is not perfect (in which universe val reason: String is enough to describe an error?), but good enough.

#fp #monad #kotlin
Fetching updated string resources without re-building the app is kind of an understandable desire. However, implementing this thing is surprisingly hard. Check out the frightening log of this journey in the post.

#strings #resources
.flatMap, .filter and .reduce are nothing new these days. In this post you'll learn the .traverse. All these functional thingies are always interesting and fancy, but do they make our code more readable? I'm not sure.

#fp
There are a lot of different open source licenses out there, and it's kinda important to understand them. This resource will help you with that. The author explains popular licenses line-by-line, so that even regular people could understand all the conditions.

#oss #license #law
I really enjoy posts like that: author spotted an unscramble-the-words task in a local newspaper and without hesitations implemented solvers for it in three languages.

#algorithm #just4fun
Check out this new experimental tool by Google. It helps to analyze dependencies of different open source libraries. Maven support is already there!

#google #oss #deps
Interruptions are frustrating to developers, it's a fact. In this post you'll find some trivial tips on minimizing them, but you'll also find a somewhat beautiful analogy between building a picture of a piece of code in your head and building a card tower, really liked that one.

#focus #programming
That's an interesting move by Google: AppSearch alpha is out. It's kind of a document DB tailored for fast on-device full-text search.

#jetpack #library #appsearch
Good old Rich Hickey and his "Maybe Not" talk. He reflects on all these Optional<String> and String? thingies and comes up with a rather interesting solution for Clojure: we need to use the same User entity with optional fields in different contexts with different requirements - sometimes we want a firstName + lastName User, and sometimes we need only id + address.

#talk #clojure #optional