lemmy.az.social
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 2 years ago

What Imperative Programming Feels Like

media.mas.to

message-square
10
link
fedilink
54

What Imperative Programming Feels Like

media.mas.to

☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 2 years ago
message-square
10
link
fedilink
alert-triangle
You must log in or # to comment.
  • samc@feddit.uk
    link
    fedilink
    English
    arrow-up
    14
    arrow-down
    1
    ·
    2 years ago

    Functional bros rise up!

    • vext01@lemmy.sdf.org
      link
      fedilink
      arrow-up
      10
      ·
      2 years ago

      Rise up and copy!

      • ☆ Yσɠƚԋσʂ ☆@lemmy.mlOP
        link
        fedilink
        arrow-up
        4
        arrow-down
        3
        ·
        2 years ago

        We’re not savages, we use structural sharing in our data structures. :)

    • 𝘋𝘪𝘳𝘬@lemmy.ml
      link
      fedilink
      arrow-up
      7
      ·
      2 years ago

      yes();

      • MyFeetOwnMySoul@lemmy.ca
        link
        fedilink
        arrow-up
        5
        ·
        2 years ago

        Now, I don’t functional (at all), but if you call a function with no parameters, doesn’t it imply side effects?

        • eluvatar@programming.dev
          link
          fedilink
          arrow-up
          3
          ·
          2 years ago

          I mean it could just always return the same thing…

          • MyFeetOwnMySoul@lemmy.ca
            link
            fedilink
            arrow-up
            3
            ·
            2 years ago

            I would think that role is filled by constants.

            • akari@lemmy.blahaj.zone
              link
              fedilink
              arrow-up
              3
              ·
              2 years ago

              where we’re going, constants are just functions

              • MyFeetOwnMySoul@lemmy.ca
                link
                fedilink
                arrow-up
                1
                ·
                2 years ago

                Java 2: you can program anything you want but it has to be a function.

                • 𝘋𝘪𝘳𝘬@lemmy.ml
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  2 years ago

                  Classes are just functions!

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

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: !programmerhumor@lemmy.ml

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.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 67 users / day
  • 1.18K users / week
  • 2.91K users / month
  • 8.96K users / 6 months
  • 2 local subscribers
  • 37.5K subscribers
  • 1.78K Posts
  • 37.7K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.12
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org