Hopp til hovedinnhold

Innhold om Utvikling

Totalt 220 innlegg

Side 8 av 15

Bring your generic function type parameters back to life with the reified keyword

Utvikling
Artikkel (5 min)
Fra Sondre Larsen Ovrid
10.12.2020

Reification. Like many other concepts, it can be applied in a number of different ways and it might carry slightly different meanings depending on the context. According to this definition, reification is simply the act of representing something abstract in a physical way. In Java, on the other hand, the term is used in the context of which types that are available to us at runtime. Additionally, in Kotlin we actually have a modifier keyword built into the language, namely reified. In this article we'll take a closer look at how reification and type erasure are connected, and more specifically how we can combine inline functions and reified type parameters in Kotlin to achieve things in generic functions that we normally would not be able to.

Combinators - Inverting Top-Down Transforms

Utvikling
Artikkel (9 min)
Fra Dillon Kearns
10.12.2020

Today and tomorrow we are excited to have a guest writer sharing some of his thoughts on the topic of functional programming: Dillon Kearns, known for projects such as elm-graphql, elm-typescript-interop, and the Elm Radio podcast! We hope you enjoy!

Serialization: New player has joined

Utvikling
Artikkel (4 min)
Fra Nicklas Utgaard
09.12.2020

With the release of Kotlin 1.4 we got a new treat; kotlinx.serialization. A new tool to help us with the cumbersome task of converting our objects to and from Json.

Dependent types and Idris

Utvikling
Artikkel (9 min)
Fra Isak Singh
09.12.2020

Functors - Redux

Utvikling
Artikkel (8 min)
Fra Harald Ringvold
08.12.2020

Last year I wrote an article explaining functors in simple terms and show why they are useful. It has well received, but some felt it was lacking in details which is true and by design. There is more to be said and some crucial details that I glossed over so I will try to address some of them now. Let’s get nerdy!

Gson and Kotlin: The nightmare before christmas!

Utvikling
Artikkel (3 min)
Fra Tia Firing
08.12.2020

Does it really matter which serialization library you choose for your application? They're all pretty much the same, right? Right... It's story time!

Type Classes

Utvikling
Artikkel (5 min)
Fra Matias Vinjevoll
07.12.2020

Overcoming the FP hurdle

Utvikling
Artikkel (9 min)
Fra Kenan Mahic
07.12.2020

In my experience Functional Programming (FP) can be something that is hard to get your head around. This is particularly true if you're very set in your ways from working in another paradigm. In this short read I hope to explain my journey up the FP mountain, as well as detailing some of my obstacles along the way. While the main goal of the writing is to re-inspire people with disappointing prior experiences, I also hope it will create a spark of curiosity for first timers.

Fable Remoting

Utvikling
Artikkel (8 min)
Fra Bjørn-Ivar Strøm
06.12.2020

String templates

Utvikling
Artikkel (4 min)
Fra Jørn Ola Birkeland
06.12.2020

Functional ... C#?

Utvikling
Artikkel (5 min)
Fra Runar Ovesen Hjerpbakk
05.12.2020

Using the Bytecode Viewer and Decompiler tools in IntelliJ to lift the veil of Kotlin's magic

Utvikling
Artikkel (5 min)
Fra Sondre Larsen Ovrid
05.12.2020

IDE's commonly include a lot of useful tools that can make our lives as developers easier. Some are pure productivity tools to speed up our development, while others may actually help our understanding of the code we are implementing. The toolset included with the IntelliJ IDEA IDE is no exception. In this article we will take a look at the Bytecode Viewer and Java Bytecode Decompiler integrated tools in IntelliJ, and how they may help us getting a better understanding of how our Kotlin code is represented on the JVM, and how it could potentially look in Java.

Destructuring

Utvikling
Artikkel (3 min)
Fra Matias Vinjevoll
04.12.2020

The case for Elixir

Utvikling
Artikkel (9 min)
Fra Harald Ringvold
04.12.2020

Today I want to give you an introduction to the programming language Elixir, some of its features and why you might want to check it out!

Why and When: let, apply, run, also

Utvikling
Artikkel (8 min)
Fra Vegard Veiset
03.12.2020

The Kotlin standard library has a lot of amazing stuff and today we will take a closer look at what let, run, also and apply is and when to use them.