article thumbnail

Scala as a Junior Developer

Rock the JVM

Lucas’ story is shared by lots of beginner Scala developers, which is why I wanted to post it here on the blog. I’ve watched thousands of developers learn Scala from scratch, and, like Lucas, they love it! If you want to learn Scala well and fast, take a look at my Scala Essentials course at Rock the JVM. sum > 8 ).

Scala 142
article thumbnail

Scala In Demand Technologies Built On Scala

Knowledge Hut

The term Scala originated from “Scalable language” and it means that Scala grows with you. In recent times, Scala has attracted developers because it has enabled them to deliver things faster with fewer codes. Developers are now much more interested in having Scala training to excel in the big data field.

Scala 52
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

article thumbnail

Useful classes for data engineers - Scala & Java

Waitingforcode

In this blog post I'll share with you a list of Java and Scala classes I use almost every time in data engineering projects. We all have our habits and as programmers, libraries and frameworks are definitely a part of the group. The part for Python will follow next week!

Scala 130
article thumbnail

Practical Type-Level Programming in Scala 3

Rock the JVM

Introduction Scala 3 boasts many features that are meant to simplify and enhance type-level programming: match types, inlines, diverse compile-time operations, and the list goes on. You can see the setup for the post in this file and follow along using the Scala CLI tool. After cloning the repo, use the command scala-cli console.

Scala 94
article thumbnail

A Functional Load Balancer with Scala, Http4s and Cats Effect

Rock the JVM

Project Structure We will use Scala 3.3.0, values :+ Url ( "url1" )) assertEquals ( obtained , expected ) } } Let’s run tests in SBT: sbt:loadbalancer> test [ info] compiling 1 Scala source to ~/loadbalancer/target/scala-3.3.0/test-classes. info] compiling 2 Scala sources to ~/loadbalancer/target/scala-3.3.0/test-classes.

Scala 104
article thumbnail

WebSockets in Scala, Part 2: Integrating Redis and PostgreSQL

Rock the JVM

Let’s create a validateutility.scala in the following path, src/main/scala/rockthejvm/websockets/domain , and add the following code: package rockthejvm.websockets.domain import cats.data.Validated object validateutility { def validateItem [ F ]( value : String , userORRoom : F , name : String ) : Validated [ String , F ] = { Validated.

Scala 135
article thumbnail

The Skunk Scala Library for Database Interaction: A Comprehensive Guide

Rock the JVM

Scala, being a versatile language, offers various tools and libraries to streamline these interactions. One such powerful tool among others ( Doobie , Slick , Quill etc) is the Skunk Scala library , which provides a functional and typesafe interface for PostgreSQL databases access in Scala applications. x) project using sbt.

Scala 57