• Stars
    star
    412
  • Rank 105,024 (Top 3 %)
  • Language
    Kotlin
  • Created over 8 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A collection of Kotlin Puzzlers

Kotlin Puzzlers

Kotlin is a "pragmatic programming language that was designed to avoid many well-known Java Puzzlers".

This is a collection that I and many contributors have found so far.

What is a puzzler?

A puzzler is some code that doesn't work the way it seems it should work.

An ideal programming language won't have any.

The puzzlers here are presented as kts files (Kotlin Scripts), which can skip the main() function and are compiled on-the-fly when run, thus allowing some of them to have "will not compile" option.

Contributing

As is common with puzzlers, please submit yours (either pull requests or issues) and I will credit you during the next talk.

Conference talks

Posts

More Repositories

1

simple-java

Code for the talk at GOTOCon Prague & Amsterdam about writing simple web apps - Plain Simple Java, and another one at Topconf - 3 tales of testing DB-enabled apps
Java
96
star
2

picasa-gallery

Good looking public gallery for Google Photos (former Picasa web) that can be hosted for free on Google App Engine. In case you want you public gallery back after transition to Google Photos.
Kotlin
78
star
3

kotlin-jooby-svelte-template

App template using Kotlin + Jooby + Svelte + Selenide, including how to write tests and run everything in Docker
Kotlin
55
star
4

google-timeline-geotag

Geotag DSLR/non-phone camera photos using data from Google Maps Timeline
Kotlin
32
star
5

synology-cast-photos

Cast photos and videos stored on a Synology NAS directly to Google Chromecast or Android TV
JavaScript
21
star
6

java-course

Java course from Tallinn Technical University, 2005-2011
Java
11
star
7

kotlin-demo

Kotlin demo code for a conference talk
Kotlin
6
star
8

crypto-talk

Example code for Digital Signatures talk
Java
5
star
9

slides

Presentation slides with reveal.js
CSS
4
star
10

rawfs

FUSE filesystem that shows RAW image files (eg CR2) as their embedded JPEGs
C
4
star
11

rsync-zenity

Simple zenity-based GUI (Gtk) for rsync synching of your local folders to remote locations. Very useful for easy backup of e.g. photos. Integrates with Nautilus in Gnome/Linux.
Shell
4
star
12

nordpool-price

Displays current electricity price for Baltic countries and Finland from NordPool
JavaScript
4
star
13

cellboard

A simple game board that can be used to practice implementing many cell-based games.
JavaScript
3
star
14

synology-cast-photos-android

Android app to control photo casting from Synology NAS, accompanying the receiver in synology-cast-photos
Kotlin
3
star
15

riot-demo

RiotJS demo for Devclub.eu
JavaScript
2
star
16

patterns

Design pattern Java demo code for an interactive talk at Agile Saturday VI
Java
2
star
17

kotlin-webcomponents

Kotlin
2
star
18

note-player

Simple html musical note player on G and F staves
JavaScript
2
star
19

linux-scripts

My personal utilities
Lua
1
star
20

gnome-raw-thumbnailer

Fast and rotating raw photo thumbnailer for Gnome/Nautilus
C
1
star
21

bees

Programming playground with kids
HTML
1
star
22

angryziber.github.io

Page
HTML
1
star