04 Jan '18, 12am

Using Extension Functions and Operator Overloading on SpannableStrings.

I’m a big fan of Android development - but there’s no denying that there are some rough API’s in the Android ecosystem. I spend a non-trivial amount of time scratching my head and muttering under my breath trying to figure out what incantation I need to speak before something works the way I expect it to. As a result, whenever I have the opportunity to write a wrapper around a particularly nasty Android API I jump at the opportunity. Now that Kotlin is a first class citizen in the world of Android, we can use Extension Functions and Operator Overloading to make some really beautiful API’s. Let’s walk through an example using the

Full article: https://robots.thoughtbot.com/utilizing-extension-functio...

Tweets

Urlify Functions & Its Implementation

rubyflow.com 06 Jan '18, 5am

× The Ruby and Rails community linklog Made a library? Written a blog post? Found a useful tutorial? Share it with the Rub...

@deanleigh Except I'm not using the Sass graysc...

sass-lang.com 03 Jan '18, 9pm

# File '/home/nweiz/code/sass-site/.sass/lib/sass/script/functions.rb', line 2012 def join(list1, list2, separator = ident...

SPOTTED: @JasonDufner using a TaylorMade M4 at ...

golfwrx.com 03 Jan '18, 8pm

Ahead of the 2018 Sentry Tournament of Champions in Hawaii, we spotted Jason Dufner using a TaylorMade M4 driver , with wh...