Blåhaj Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 year ago

What Imperative Programming Feels Like

media.mas.to

message-square
10
link
fedilink
57

What Imperative Programming Feels Like

media.mas.to

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

    Functional bros rise up!

    • vext01@lemmy.sdf.org
      link
      fedilink
      arrow-up
      9
      ·
      1 year ago

      Rise up and copy!

      • ☆ Yσɠƚԋσʂ ☆@lemmy.mlOP
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

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

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

      yes();

      • MyFeetOwnMySoul@lemmy.ca
        link
        fedilink
        arrow-up
        5
        ·
        1 year 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
          ·
          1 year ago

          I mean it could just always return the same thing…

          • MyFeetOwnMySoul@lemmy.ca
            link
            fedilink
            arrow-up
            3
            ·
            1 year ago

            I would think that role is filled by constants.

            • akari
              link
              fedilink
              arrow-up
              3
              ·
              1 year ago

              where we’re going, constants are just functions

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

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

                • 𝘋𝘪𝘳𝘬@lemmy.ml
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  1 year 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.

  • 305 users / day
  • 432 users / week
  • 1.73K users / month
  • 9.52K users / 6 months
  • 595 local subscribers
  • 35.5K subscribers
  • 1.69K Posts
  • 34.4K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org