Ephera
link
fedilink
42Y

Yeah, I’m quite fond of the Scala syntax:

val a: Int = 1
val b = 1
val c = {
  1+1
}

def foo(x: Int): Int = x+1
def bar(x: Int): Int = {
  x+1
}

The author’s remarks remind me of Hare’s syntax

Rust Programming
!rust@lemmy.ml
    • 0 users online
    • 2 users / day
    • 2 users / week
    • 2 users / month
    • 74 users / 6 months
    • 1 subscriber
    • 258 Posts
    • 707 Comments
    • Modlog