halubilo.social
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@[email protected] to Programmer [email protected] • 2 months ago

What's stopping you from writing your Rust like this?

lemmy.ml

message-square
54
fedilink
  • cross-posted to:
  • [email protected]
388

What's stopping you from writing your Rust like this?

lemmy.ml

@[email protected] to Programmer [email protected] • 2 months ago
message-square
54
fedilink
  • cross-posted to:
  • [email protected]
  • @[email protected]
    link
    fedilink
    English
    20•2 months ago

    Oh, so Rust is like JavaScript!

    • @[email protected]
      link
      fedilink
      7•2 months ago

      No, Rust lacks the semicolon elision rules of Javascript which make everyone always use semicolons in javascript because they’re so horribly broken.

      Rust is like ML, quite literally, not just by ancestry: The syntax is palpably ugly, but at least it’s sane, regular, and concise where it matters.

    • @[email protected]
      link
      fedilink
      2•2 months ago

      Undervalued comment right there. This is better than the OP

    • 🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕕𝕚𝕝𝕖
      link
      fedilink
      English
      1•2 months ago

      Pretty sure javascript is like c but I I can’t be mad at the js devs for the awful language they write.

Programmer [email protected]

[email protected]

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
  • 1.37K users / day
  • 4.68K users / week
  • 8.71K users / month
  • 17.3K users / 6 months
  • 23.2K subscribers
  • 1.4K Posts
  • 50.5K Comments
  • Modlog
  • mods:
  • Feyter
  • adr1an
  • @[email protected]
  • Pierre-Yves Lapersonne
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org