![]() ![]() LocalDate is an immutable date-time object that represents a date, Me: There is a command IntelliJ called Convert Java File to Kotlin File.A date without a time-zone in the ISO-8601 calendar system,.Peter: Ok, so I have never done any Kotlin in my life, tell me what to do.Tools > Kotlin > Configure Kotlin in project Me: Let’s get started and see where it leads us!.20 minutes though, do you think we can do it? Sarah: Oh, I’ve heard about Kotlin but haven’t had the chance to use it yet.Me: Well, we have 20 minutes left, why not rewriting the whole thing in Kotlin?.Sarah: Is there anything else we could improve?.We were doing well and have solved the Kata in Java, then refactored it to a satisfactory state. We were using IntelliJ’s Code With Me to write the code together. That makes for a better developer experience IMHO. It compiles and runs the unit tests in a matter of seconds, not minutes, like in many Android apps. It contains two files: PinGuesser.java and PinGuesserTest.java. The project was a Java project built with Maven. So, the actual PIN could be 1357, but also for example 2357 or 1368. Each digit could be one of its neighbors on the keyboard layout. The goal was to solve the kata of The observed PIN, where an unreliable spy tells that he saw the PIN 1357 being used. My colleagues Sarah and Peter and I were doing a session of Mob programming. Let’s start by explaining the context of our story.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |