GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Construction Worker (mercurialbuilding@cawfee.club)'s status on Tuesday, 07-Nov-2023 07:32:14 JST Construction Worker Construction Worker
    • condret :verified: :ancom:
    • Pleroma-tan
    @condret @kirby idk it's been drilled into my head that gotos are evil and it makes following the control flow confusing and it's like eval you should never ever do it
    In conversation Tuesday, 07-Nov-2023 07:32:14 JST from cawfee.club permalink
    • Pleroma-tan likes this.
    • Embed this notice
      Pleroma-tan (kirby@lab.nyanide.com)'s status on Tuesday, 07-Nov-2023 07:37:01 JST Pleroma-tan Pleroma-tan
      in reply to
      • condret :verified: :ancom:
      @MercurialBuilding @condret i forgot to say for error handling.
      In conversation Tuesday, 07-Nov-2023 07:37:01 JST permalink

      Attachments


    • Embed this notice
      Pleroma-tan (kirby@lab.nyanide.com)'s status on Tuesday, 07-Nov-2023 07:40:05 JST Pleroma-tan Pleroma-tan
      in reply to
      • condret :verified: :ancom:
      @MercurialBuilding @condret holy fuck why does phone video always break like this

      I'll upload to YouTube
      In conversation Tuesday, 07-Nov-2023 07:40:05 JST permalink
    • Embed this notice
      Construction Worker (mercurialbuilding@cawfee.club)'s status on Tuesday, 07-Nov-2023 07:40:06 JST Construction Worker Construction Worker
      in reply to
      • condret :verified: :ancom:
      • Pleroma-tan
      @kirby @condret Can you recommend some firefox plugins or something
      In conversation Tuesday, 07-Nov-2023 07:40:06 JST permalink

      Attachments


      1. https://cawfee.club/media/28c9e3b3dfe1cabc84d0e6f219e8319770085de58a3b8049e9b21557062af052.png
    • Embed this notice
      Pleroma-tan (kirby@lab.nyanide.com)'s status on Tuesday, 07-Nov-2023 07:41:45 JST Pleroma-tan Pleroma-tan
      in reply to
      • condret :verified: :ancom:
      • Pleroma-tan
      @MercurialBuilding @condret https://youtu.be/VI-qmtPeiNo?si=uXziVLp3D45WPTHc
      In conversation Tuesday, 07-Nov-2023 07:41:45 JST permalink

      Attachments

      1. gotos are fine for error handling
        from kirby!!!! pleromer enjoyer
    • Embed this notice
      Pleroma-tan (kirby@lab.nyanide.com)'s status on Tuesday, 07-Nov-2023 07:41:57 JST Pleroma-tan Pleroma-tan
      in reply to
      • condret :verified: :ancom:
      • Pleroma-tan
      @MercurialBuilding @condret remove si if that's annoying
      In conversation Tuesday, 07-Nov-2023 07:41:57 JST permalink
    • Embed this notice
      Pleroma-tan (kirby@lab.nyanide.com)'s status on Tuesday, 07-Nov-2023 07:43:53 JST Pleroma-tan Pleroma-tan
      in reply to
      • condret :verified: :ancom:
      @MercurialBuilding @condret if you're in function hell it would be very annoying to return constantly.

      You could use an assert too, but if you're in a scenario where you can't use them for some reason gotos save you
      In conversation Tuesday, 07-Nov-2023 07:43:53 JST permalink
    • Embed this notice
      Construction Worker (mercurialbuilding@cawfee.club)'s status on Tuesday, 07-Nov-2023 07:43:54 JST Construction Worker Construction Worker
      in reply to
      • condret :verified: :ancom:
      • Pleroma-tan
      @kirby @condret why have a goto error instead of just return 1
      In conversation Tuesday, 07-Nov-2023 07:43:54 JST permalink
    • Embed this notice
      Construction Worker (mercurialbuilding@cawfee.club)'s status on Tuesday, 07-Nov-2023 07:45:13 JST Construction Worker Construction Worker
      in reply to
      • condret :verified: :ancom:
      • Pleroma-tan
      @kirby @condret Ah in our class we're not allowed to have nested functions, stack frames being bloat apparently

      I wanted to kill myself when I was told I needed to implement AVL tree deletion without using a stack or recursion
      In conversation Tuesday, 07-Nov-2023 07:45:13 JST permalink
      Pleroma-tan likes this.
      Pleroma-tan repeated this.
    • Embed this notice
      The MILF Messiah (lunarised@whinge.town)'s status on Tuesday, 07-Nov-2023 07:46:42 JST The MILF Messiah The MILF Messiah
      in reply to
      • condret :verified: :ancom:
      • Pleroma-tan
      @kirby @MercurialBuilding @condret I swear to god if i see anyone using a goto statement in 2023, im going to make sure they never work again. Just learn proper control flow homie :^)

      Heres the GOATs take on them

      https://homepages.cwi.nl/~storm/teaching/reader/Dijkstra68.pdf
      In conversation Tuesday, 07-Nov-2023 07:46:42 JST permalink

      Attachments


      Pleroma-tan likes this.
      Pleroma-tan repeated this.
    • Embed this notice
      iced depresso (icedquinn@blob.cat)'s status on Tuesday, 07-Nov-2023 07:47:19 JST iced depresso iced depresso
      in reply to
      • condret :verified: :ancom:
      • Pleroma-tan
      @MercurialBuilding @kirby @condret throw it in the trash and use a skip list

      they're probablistically optimal without the complex rebalance functions
      In conversation Tuesday, 07-Nov-2023 07:47:19 JST permalink
      Pleroma-tan likes this.
      Pleroma-tan repeated this.
    • Embed this notice
      Pleroma-tan (kirby@lab.nyanide.com)'s status on Tuesday, 07-Nov-2023 07:47:32 JST Pleroma-tan Pleroma-tan
      in reply to
      • The MILF Messiah
      • condret :verified: :ancom:
      @lunarised @MercurialBuilding @condret k&r says they're fine... I think they're fine for these sorts of things........

      Tbf asserts are nice
      In conversation Tuesday, 07-Nov-2023 07:47:32 JST permalink
    • Embed this notice
      Kirino Kousaka (kirino@seal.cafe)'s status on Tuesday, 07-Nov-2023 07:47:54 JST Kirino Kousaka Kirino Kousaka
      in reply to
      • The MILF Messiah
      • condret :verified: :ancom:
      • Pleroma-tan

      were you born male?

      In conversation Tuesday, 07-Nov-2023 07:47:54 JST permalink
      Pleroma-tan likes this.
      Pleroma-tan repeated this.
    • Embed this notice
      Construction Worker (mercurialbuilding@cawfee.club)'s status on Tuesday, 07-Nov-2023 07:49:21 JST Construction Worker Construction Worker
      in reply to
      • iced depresso
      • condret :verified: :ancom:
      • Pleroma-tan
      @icedquinn @kirby @condret It was for a school assignment. Had to create an AVL tree data structure from scratch with all the operations.
      In conversation Tuesday, 07-Nov-2023 07:49:21 JST permalink
      Pleroma-tan likes this.
      Pleroma-tan repeated this.
    • Embed this notice
      Construction Worker (mercurialbuilding@cawfee.club)'s status on Tuesday, 07-Nov-2023 07:49:29 JST Construction Worker Construction Worker
      in reply to
      • iced depresso
      • condret :verified: :ancom:
      • Pleroma-tan
      @icedquinn @condret @kirby This was part one of 5 on the bloody first assignment btw
      In conversation Tuesday, 07-Nov-2023 07:49:29 JST permalink
      Pleroma-tan likes this.
      Pleroma-tan repeated this.
    • Embed this notice
      Construction Worker (mercurialbuilding@cawfee.club)'s status on Tuesday, 07-Nov-2023 07:50:32 JST Construction Worker Construction Worker
      in reply to
      • iced depresso
      • condret :verified: :ancom:
      • Pleroma-tan
      @condret @icedquinn @kirby Anyways I'm eternally on the edge of dropping this class because it's prevented me from making any progress whatsoever on either of my two theses
      In conversation Tuesday, 07-Nov-2023 07:50:32 JST permalink
      Pleroma-tan likes this.
      Pleroma-tan repeated this.
    • Embed this notice
      The MILF Messiah (lunarised@whinge.town)'s status on Tuesday, 07-Nov-2023 07:56:03 JST The MILF Messiah The MILF Messiah
      in reply to
      • condret :verified: :ancom:
      • Pleroma-tan
      @kirby @MercurialBuilding @condret @kirby @MercurialBuilding @condret

      i imagine K&R added it to their book as they wanted it to be part of the C spec to help the Basic and Cobol developers to find some familiarity.

      The issue with goto's primarily that it can interact with stacks in odd ways, and almost any wanted use of a goto could be better defined with a function (with the added benefit of allowing value return)

      They can also fuck up alot of compiler optimisation (albeit through lack of use)

      Id seriously consider not using goto's unless your code is architected in such a way that you cannot not use them and you don't have the time to refactor your code to be friendlier to stacks
      In conversation Tuesday, 07-Nov-2023 07:56:03 JST permalink
      :blobancap: :blobcattrans: :blobancap: :blobcattrans: :blobancap: :blobcattrans: and Pleroma-tan like this.
    • Embed this notice
      The MILF Messiah (lunarised@whinge.town)'s status on Tuesday, 07-Nov-2023 07:56:05 JST The MILF Messiah The MILF Messiah
      in reply to
      • condret :verified: :ancom:
      • Kirino Kousaka
      • Pleroma-tan
      @Kirino @MercurialBuilding @kirby @condret ...yes
      In conversation Tuesday, 07-Nov-2023 07:56:05 JST permalink
      Pleroma-tan likes this.
    • Embed this notice
      T man :sex: :puffgiga: :puffpowerroll: (theorytoe@ak.kyaruc.moe)'s status on Tuesday, 07-Nov-2023 08:00:42 JST T man :sex: :puffgiga: :puffpowerroll: T man :sex: :puffgiga: :puffpowerroll:
      in reply to
      • iced depresso
      • condret :verified: :ancom:
      • Pleroma-tan
      @MercurialBuilding @icedquinn @kirby @condret
      >mercurialblack writing theses
      holy shit hes :brain4:
      In conversation Tuesday, 07-Nov-2023 08:00:42 JST permalink
      Pleroma-tan likes this.

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.