<discocaml>
<aurelian5014> love shadowing and lack of braces
Frostillicus has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
<discocaml>
<aurelian5014> rust can a be a pretty simple language if you want it to be
Frostillicus has quit [Read error: Connection reset by peer]
Frostillicus has joined #ocaml
itszor has quit [Remote host closed the connection]
zor has joined #ocaml
itszor has joined #ocaml
Serpent7776 has quit [Ping timeout: 240 seconds]
zor has quit [Ping timeout: 260 seconds]
Frostillicus has quit [Ping timeout: 276 seconds]
casastorta has quit [Ping timeout: 276 seconds]
Tuplanolla has joined #ocaml
Haudegen has joined #ocaml
casastorta has joined #ocaml
Frostillicus has joined #ocaml
luc4 has joined #ocaml
euphores has joined #ocaml
Frostillicus has quit [Ping timeout: 252 seconds]
luc4 has quit [Quit: Konversation terminated!]
Frostillicus has joined #ocaml
Frostillicus has quit [Ping timeout: 276 seconds]
Frostillicus has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
Serpent7776 has joined #ocaml
Haudegen has joined #ocaml
Haudegen has quit [Client Quit]
casastorta has quit [Ping timeout: 248 seconds]
casastorta has joined #ocaml
Frostillicus has quit [Read error: Connection reset by peer]
itszor has quit [Read error: Connection reset by peer]
zor has joined #ocaml
Frostillicus has joined #ocaml
luc4 has joined #ocaml
<discocaml>
<rmu.> do they still lean heavily on exceptions, or is there some better way to do error handling there?
Frostillicus has quit [Ping timeout: 260 seconds]
Frostillicus has joined #ocaml
casastorta has quit [Ping timeout: 248 seconds]
Serpent7776 has quit [Ping timeout: 244 seconds]
Frostillicus has quit [Read error: Connection reset by peer]
Frostillicus has joined #ocaml
<discocaml>
<yawaramin> exceptions are a great way to do error handling
casastorta has joined #ocaml
euphores has quit [Ping timeout: 252 seconds]
<habnabit_>
exceptions are great when you don't have any other way to unwind the stack
<habnabit_>
more modern MLs like rust have e.g. the ? operator to abort the frame
<habnabit_>
well, when you have the ability to return early
<discocaml>
<yawaramin> let-operators in OCaml can do the same thing. but exceptions can also give you stack traces and clean up C libraries
<habnabit_>
yeah, tracebacks from stack unwinding are super useful
<discocaml>
<cod1r> i had no idea you could match on an exception
<discocaml>
<cod1r> i would've just wrapped the match with a try
<discocaml>
<cod1r> i would've just wrapped the match with a try thingy
<habnabit_>
where is this being bridged to from libera
<discocaml>
<shadowkestrel> i think i have wrapped matches with try before lmao
<discocaml>
<yawaramin> the OCaml Discord
<habnabit_>
oh, discord, lol. pass
<discocaml>
<shadowkestrel> (specifically the \#general channel. there are other channels in the server)
<discocaml>
<yawaramin> pass what? lol
<discocaml>
<shadowkestrel> i backslashed that # why did it escape the channel id ugh
<habnabit_>
i will pass on joining
<discocaml>
<yawaramin> ok 😉 ¯\_(ツ)_/¯
<discocaml>
<aurelian5014> I would not trade Rust for Kotlin
<discocaml>
<aurelian5014> personally
<discocaml>
<shalokshalom> you can do both
<discocaml>
<shalokshalom> if you want more functional stuff, see the Arrow library
<discocaml>
<shalokshalom> Scala is also an option (curly braces are optional there, and the job market is smaller. Still, its closer to OCaml, than Kotlin is.
<discocaml>
<shalokshalom>
<discocaml>
<shalokshalom> Kotlin has the biggest job market amongst those, and all three run on the JVM (and due to that, GraalVM)
<discocaml>
<shalokshalom> Seems like the JVM is a good place to go, if you are looking for GCd ML like languages with curly braces. 😅
<discocaml>
<aurelian5014> switft
<discocaml>
<aurelian5014> both are mostly used for mobile app dev
luc4 has quit [Quit: Konversation terminated!]
<habnabit_>
are folks still picking languages by such superficial criteria as 'has braces'?
<habnabit_>
rust is great tho in showing how much you can accomplish without a GC
<habnabit_>
especially after golang was like "haha yeah who cares"
humasect has joined #ocaml
humasect has quit [Remote host closed the connection]