bp99 lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
ZILtoid1991@lemmy.world to 196@lemmy.blahaj.zone · 8 months ago

C rule

lemmy.world

message-square
21
link
fedilink
259

C rule

lemmy.world

ZILtoid1991@lemmy.world to 196@lemmy.blahaj.zone · 8 months ago
message-square
21
link
fedilink
alert-triangle
You must log in or register to comment.
  • 5714@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    38
    ·
    8 months ago

    Frieren because arcane knowledge is required or Frieren because it takes years to master?

    • Someplaceunknown@fedia.io
      link
      fedilink
      arrow-up
      11
      ·
      8 months ago

      Both

    • MonkderVierte@lemmy.ml
      link
      fedilink
      arrow-up
      8
      ·
      8 months ago

      Frieren because odd spellbook.

  • JusticeForPorygon@lemmy.world
    link
    fedilink
    arrow-up
    34
    ·
    8 months ago

    Just started uni and theyre having us learn C

    It’s only been a couple weeks and it’s not too bad, but every time I bring up to someone that I’m learning C they express sympathy, which makes me think I’m eventually gonna hit a brick wall of a learning curve.

    • ColonelThirtyTwo@pawb.social
      link
      fedilink
      arrow-up
      48
      ·
      edit-2
      8 months ago

      It’s mostly because C is notorious for not holding your hand and not telling you when you mess up. Write one past the array’s length? Might do nothing, might crash, might mess up some other data, might crash later in somewhere completely different.

      • JusticeForPorygon@lemmy.world
        link
        fedilink
        arrow-up
        14
        ·
        8 months ago

        I spent 30 minutes looking over my code because I forgot a semicolon after defining an integer :(

      • Wirlocke@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        14
        ·
        8 months ago

        Or in some cases might crash 8.5 million computers worldwide.

        Yes the Crowdstrike crash was caused by going 1 past an array length, caused by a magic number index and a regex mistake, and wasn’t caught because the tests didn’t work.

        The whole thing was a compound series of amateur mistakes, but with kernel access at boot time.

    • ThePyroPython@lemmy.world
      link
      fedilink
      arrow-up
      26
      ·
      edit-2
      8 months ago

      Oh yeah pointers to pointers to pointers to pointers to pointers to pointers to pointers to pointers to pointers to pointers to pointers to pointers to pointers to pointers to pointers to pointers to a null.

      Fig. 1 - Meanwhile your C programming lecturer.

      • JusticeForPorygon@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        8 months ago

        Literally lol.

    • sandalbucket@lemmy.world
      link
      fedilink
      arrow-up
      25
      ·
      8 months ago

      It’s really not bad, you just have to rememb

      Segmentation Fault - Core Dumped

    • zib@lemmy.world
      link
      fedilink
      English
      arrow-up
      14
      ·
      edit-2
      8 months ago

      C isn’t all that bad once you understand the incredible power you can wield with it. It’s more limited than C++ due to lack of proper OOP, but still very usable and nice to know as a foundation to C++ and other languages. I’ve been rocking both for the last 20 years and they’re still my favorites to use.

    • sabin@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      8 months ago

      Honestly C imo is not that bad. It’s actually a very small specification. There’s not much to it. The actual amount of code you’d need to create a working C compiler is relatively tiny.

      It stuck around all this time because concepts like null-terminated strings, arrays decaying to pointers, etc. are all very intuitive if your working in a language that’s built to be as minimalistic and simple as possible.

      If you understand these things I’d say you’re already past the learning curve. Now just make sure you remember exactly how type definitions are parsed so that contrived type declarations don’t cause you to lose marks on an exam.

      The difficulty with C imo comes with people needing programming concepts abstracted away from them because they never actually learned how their computer represents or processes data.

  • TallonMetroid@lemmy.world
    link
    fedilink
    English
    arrow-up
    10
    ·
    8 months ago

    It figures that the one time Detect Mimic really was a false positive, she got a C textbook out of it.

  • yogurtwrong@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    8 months ago

    there’s a git repository for that

    https://github.com/cat-milk/Anime-Girls-Holding-Programming-Books

  • Quacksalber@sh.itjust.works
    link
    fedilink
    arrow-up
    5
    ·
    8 months ago

    https://youtube.com/watch?v=yIy4_15yXg8&t=4

  • Rose Thorne(She/Her)@lemm.ee
    link
    fedilink
    arrow-up
    6
    arrow-down
    1
    ·
    8 months ago

    Don’t mind me, I’m just setting up the popcorn cart for when the programmer arguments start. I’ll share.

    • greedytacothief@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      8 months ago

      I really want to make a joke about C, but I’m not a very good programmer. Maybe:

      “A magical tome that makes you feel insecure.”

  • Slein4273@feddit.org
    link
    fedilink
    arrow-up
    4
    ·
    8 months ago

    https://youtube.com/watch?v=tas0O586t80

  • hypertown@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    8 months ago

    !frieren@ani.social

  • TriflingToad@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    8 months ago

    Wait. It gets better, there’s LOADS of these. There’s a whole ass GitHub repository of them. Ultra turbo nerd stuff https://github.com/cat-milk/Anime-Girls-Holding-Programming-Books

    Also, it’s over 5 years old and is still getting updates today (as content is commited)

  • desertdruid@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    8 months ago

    That book was a godsend for me in university

196@lemmy.blahaj.zone

196@lemmy.blahaj.zone

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: !196@lemmy.blahaj.zone

Be sure to follow the rule before you head out.


Rule: You must post before you leave.



Other rules

Behavior rules:

  • No bigotry (transphobia, racism, etc…)
  • No genocide denial
  • No support for authoritarian behaviour (incl. Tankies)
  • No namecalling
  • Accounts from lemmygrad.ml, threads.net, or hexbear.net are held to higher standards
  • Other things seen as cleary bad

Posting rules:

  • No AI generated content (DALL-E etc…)
  • No advertisements
  • No gore / violence
  • Mutual aid posts are not allowed

NSFW: NSFW content is permitted but it must be tagged and have content warnings. Anything that doesn’t adhere to this will be removed. Content warnings should be added like: [penis], [explicit description of sex]. Non-sexualized breasts of any gender are not considered inappropriate and therefore do not need to be blurred/tagged.

If you have any questions, feel free to contact us on our matrix channel or email.

Other 196’s:

  • !196@lemmy.world
  • !onehundredninetysix@lemmy.blahaj.zone
Visibility: Public
globe

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

  • 675 users / day
  • 2.9K users / week
  • 5.85K users / month
  • 12.4K users / 6 months
  • 1 local subscriber
  • 17.6K subscribers
  • 5.61K Posts
  • 24.8K Comments
  • Modlog
  • mods:
  • Moss@lemmy.blahaj.zone
  • greembow@lemmy.blahaj.zone
  • moss@lemmy.world
  • Queue@beehaw.org
  • funky-rodent [he/him]@lemmy.blahaj.zone
  • Peachy [they/she] @lemmy.blahaj.zone
  • greembow@lemmy.world
  • remotelove@lemmy.ca
  • A_Very_Big_Fan@lemm.ee
  • qaz@lemmy.blahaj.zone
  • A_Very_Big_Fan@lemmy.world
  • qaz@lemmy.sdf.org
  • qaz@lemmy.world
  • qaz@sh.itjust.works
  • BE: 0.19.11
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org