Go to Post of course, like anything, there is big difference between "can" and "should" - ratdude747 [more]
Go Back   Chief Delphi > CD-Media > White Papers
portal register members calendar search Today's Posts Mark Forums Read FAQ rules




Kotlin for FRC Robot Programming

By: Redrield
New: 08-03-2018 02:52 PM
Updated: 08-03-2018 02:52 PM
Total downloads: 229 times

Overview of reasons to consider the Kotlin programming language for use in FRC

I've seen a lot of interest towards using Kotlin rather than Java or C++ for programming robots. This paper outlines some of the features that Kotlin provides, and some reasons why it is a strong contender, should a team wish to switch.

Attached Files

  • pdf KotlinForFRC.pdf


    downloaddownload file

    uploaded: 08-03-2018 02:52 PM
    filetype: pdf
    filesize: 325.7kb
    downloads: 227

Recent Downloaders

  • Guest


view entire thread


08-03-2018 03:31 PM


Unread Re: paper: Kotlin for FRC Robot Programming

Kotlin looks like a good language to start working in. I was always a fan of C++ and Java though.

C++ and Java are widely used in the industry, so having teams program in them is great practice and experience.

Kotlin is not widely use, although it is gaining momentum, I know of many companies using it, including Android.

Time will tell. Hopefully it doesn't become a Python where you're 'that team' that codes in python. I'd like to see it used and it has a lot of features I wish other languages had!

08-03-2018 03:52 PM


Unread Re: paper: Kotlin for FRC Robot Programming

I'll put in another 2c for Kotlin. To me it's like the best parts of Python (first-class functions, lambdas, little convenience things like joining arrays) without the worst parts* (duck typing, slow-ness, poor multithreading).

I haven't used it on a robot yet and unfortunately I probably won't be able to for a while, but I'm working on a sizable project using Kotlin and I can see the appeal.

Java's getting better about a lot of these things as well (I've spent a lot of time recently with Java lambdas/FCF) and I'll still be using Python when I need to do some data analysis or whatever, but for sizable projects, I think Kotlin's the way to go.

* For FRC, in my opinion, YMMV, etc.

08-04-2018 05:40 AM


Unread Re: paper: Kotlin for FRC Robot Programming

We made the switch to Kotlin after the 2017 season, and boy has it been a fantastic change. It has helped our code become better organized, easier to follow and (most importantly) more fun to write. Maybe I've just got something against Java, but writing code in Kotlin is drastically nicer than Java, and all programmers on my team would agree.

Also, now that Gradle is the official build system, there's really nothing preventing anyone from at least trying it out. If you're reading this and haven't tried out Kotlin yet, give it a shot!

view entire thread



loading ...

All times are GMT -5. The time now is 06:44 PM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi