Pricefield | Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
☆ Yσɠƚԋσʂ ☆ to Programmer [email protected]English • 1 year ago

What Imperative Programming Feels Like

media.mas.to

message-square
10
fedilink
57

What Imperative Programming Feels Like

media.mas.to

☆ Yσɠƚԋσʂ ☆ to Programmer [email protected]English • 1 year ago
message-square
10
fedilink
  • @[email protected]
    link
    fedilink
    English
    13•1 year ago

    Functional bros rise up!

    • 𝘋𝘪𝘳𝘬
      link
      fedilink
      6•1 year ago

      yes();

      • @[email protected]
        link
        fedilink
        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?

        • @[email protected]
          link
          fedilink
          3•1 year ago

          I mean it could just always return the same thing…

          • @[email protected]
            link
            fedilink
            3•1 year ago

            I would think that role is filled by constants.

            • akari
              link
              fedilink
              3•1 year ago

              where we’re going, constants are just functions

              • @[email protected]
                link
                fedilink
                1•1 year ago

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

                • 𝘋𝘪𝘳𝘬
                  link
                  fedilink
                  1•1 year ago

                  Classes are just functions!

    • @[email protected]
      link
      fedilink
      9•1 year ago

      Rise up and copy!

      • ☆ Yσɠƚԋσʂ ☆OP
        link
        fedilink
        3•1 year ago

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

Programmer [email protected]

[email protected]
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]

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.
  • 24 users / day
  • 93 users / week
  • 164 users / month
  • 1.61K users / 6 months
  • 4 subscribers
  • 1.76K Posts
  • 37.8K Comments
  • Modlog
  • mods:
  • @[email protected]
  • @[email protected]
  • UI: 0.18.4
  • BE: 0.18.2
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org