ExLisper Site
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Cipherd@lemmy.ml to Programmer Humor@programming.dev · 2 days ago

functions

lemmy.ml

message-square
64
link
fedilink
465

functions

lemmy.ml

Cipherd@lemmy.ml to Programmer Humor@programming.dev · 2 days ago
message-square
64
link
fedilink

cross-posted from: https://lemmy.ml/post/39334581

  • Ziglin (it/they)@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 days ago

    Or perhaps call function if you’ve got a call stack going.

    Nevermind that is C or something right? Otherwise it would be jmp function?

    • x00z@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 days ago

      Yeah that’s C.

      I added the goto to put emphasis on the function being a label instead of a real function.

      https://www.geeksforgeeks.org/c/goto-statement-in-c/

      • Ziglin (it/they)@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 days ago

        I’ve done that in C before. I was just confused because the labels need to be in scope of a function as far as I am aware. In assembly you don’t really have that.

        • x00z@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 day ago

          We’ll just put everything in int main(). No worries

Programmer Humor@programming.dev

programmer_humor@programming.dev

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: !programmer_humor@programming.dev

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

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

  • 1.05K users / day
  • 3.14K users / week
  • 4.61K users / month
  • 10.5K users / 6 months
  • 1 local subscriber
  • 27.5K subscribers
  • 844 Posts
  • 6.71K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.12
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org