awful.systems
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
orhtej2@eviltoast.org to Programmer Humor@programming.devEnglish · 3 months ago

Peak code reuse

eviltoast.org

message-square
33
link
fedilink
456

Peak code reuse

eviltoast.org

orhtej2@eviltoast.org to Programmer Humor@programming.devEnglish · 3 months ago
message-square
33
link
fedilink
  • HappyFrog@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    46
    ·
    3 months ago

    Will this ever return? Won’t it just overflow the stack?

    • Sjmarf@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      77
      ·
      3 months ago

      Yep, this will cause a stack overflow.

      • rovingnothing29@lemmy.world
        link
        fedilink
        arrow-up
        33
        ·
        3 months ago

        A mod will appear in my office and claim my problem is a duplicate when it’s not?

      • Mad_Punda@feddit.org
        link
        fedilink
        arrow-up
        25
        ·
        edit-2
        3 months ago

        Might very well be an endless loop because tail recursion can be optimized to reuse the stack frame. Depends on a lot of things of course.

      • ozymandias117@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 months ago

        deleted by creator

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.17K users / day
  • 3.55K users / week
  • 8.27K users / month
  • 16.3K users / 6 months
  • 4 local subscribers
  • 27.9K subscribers
  • 1.44K Posts
  • 37.4K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.12
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org