Sam Cooper
banner
sam-cooper.bsky.social
Sam Cooper
@sam-cooper.bsky.social
Author of Kotlin Brain Teasers
https://pragprog.com/titles/kotlinbt
Bonus tip! Buy your gifts from local bookstores and make their Christmas a little better too ❤️
November 24, 2025 at 10:26 AM
Or just treat yourself to a new skill with 50% off everything for Black Friday!

SALE 👉 media.pragprog.com/newsletters/...
Save 50% at the Pragmatic Bookshelf
media.pragprog.com
November 24, 2025 at 10:26 AM
Or get your software engineer friends a gift card for the Pragmatic Bookshelf store so they can have their pick of topics! Supporting humans who write books for humans is a great way to spend some holiday cheer.

Gift cards 👉 www.giftya.com/brands/pragm...
Buy Pragmatic Bookshelf Gift Cards & eGifts | Shop Now
GiftYa is like a gift card, only much better. Text a The Pragmatic Programmers egift with GiftYa and the recipient can use it like an egift code, can link it to their Visa or Mastercard, or they can s...
www.giftya.com
November 24, 2025 at 10:26 AM
Every author, editor and staff member I've had the pleasure of working with or talking to at Pragmatic has been awesome. In this age of AI it's been great to be part of such a small and driven community of humans creating content for other humans like you.

👉 media.pragprog.com/newsletters/...
Save 50% at the Pragmatic Bookshelf
media.pragprog.com
November 24, 2025 at 8:51 AM
It's part of The Pragmatic Programmers store-wide 50% off sale, so be sure to check out some of the other books in the line-up too—like Kotlin and Android Development featuring Jetpack by my PragProg colleague @mfazio.dev, or Programming Kotlin by the great @venkats.bsky.social.
Save 50% at the Pragmatic Bookshelf
media.pragprog.com
November 24, 2025 at 8:51 AM
Reposted by Sam Cooper
@sam-cooper.bsky.social - "Kotlin Brain Teasers"
pragprog.com/titles/kotli...

Another tech review, and this one was right in my wheelhouse. I've done a lot of work with Kotlin and I was still learning new things throughout the book. The "Brain Teasers" series are always fun and this is my favorite.
Kotlin Brain Teasers
Level up your Kotlin the fun way! Solve mysteries, dodge traps, and banish bugs. Sharpen your critical thinking to ace interviews and ship rock-solid code.
pragprog.com
November 19, 2025 at 3:21 PM
Abusing a semicolon to save a line of code is not something I'd normally do in Kotlin! But in the book I really want the examples to stay short so they don't interrupt the flow of the text too much.

For succinctness, the star of the show here is Kotlin's also() function, though!
November 10, 2025 at 10:34 AM
Okay, maybe I do want to brag 😄
November 8, 2025 at 9:54 AM