You are viewing a single thread.
View all comments
0 points

rudt has implicit typing by default for variables tho…?

permalink
report
reply
0 points

Yeah but it doesn’t cross function boundaries so it’s more limited.

permalink
report
parent
reply
0 points

In other words, in OCaml, you don’t have to write type annotations into the function parameter list. It will infer even those.

It’s useful for small ad-hoc functions, but personally, I’m glad that Rust is more explicit here.

permalink
report
parent
reply

Programmer Humor

!programmerhumor@lemmy.ml

Create post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.

Community stats

  • 6.8K

    Monthly active users

  • 797

    Posts

  • 7.3K

    Comments

Community moderators