• bigboismith@lemmy.world
    link
    fedilink
    arrow-up
    21
    arrow-down
    1
    ·
    9 days ago

    There is a point to be made that C is the foundation to all other languages, and thus being able to write C let’s you better understand how other C based languages (which is basically all of them) work.

    I personally believe that in a academic sense, C should be your first language. However in a non-professional hobby context start with whatever you feel like.

    • baddison@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 days ago

      I mean the main and ultimate penultimate usecase for C it’s impetus for existing is writing UNIX and why the man pages got the details for stuff like sys.h and w/e else with the system calls in it so wen the kernel is online one can put in the address of where uname is in the asm code instead of the whole pleb #include <uname.h>

      People make it seem like a bunch of kids working at Bell Labs at a time when a sheet of blotter paper the size of a movie poster but made of LSD costed $40 omggggg

      Like the reason why in 2025 the operating system called MacOS is still mostly objective-c code from 1985 and the reason why for the duration of your career you’ve had to type NSObject repeatedly, on a Macintosh is the truth about computer science is that for the most part people are stupid, lazy, lack any kind of imagination, original thinking, or anything that resembles passion for digital computers (ie let’s use C for everything full well knowing anything without an AT&T copyright in the header is out of band)

      • 30 -
    • DrewOPM
      link
      fedilink
      arrow-up
      6
      ·
      9 days ago

      I was never able to properly render a div in react before tasting my first segfault in c

    • FizzyOrange@programming.dev
      link
      fedilink
      arrow-up
      4
      ·
      8 days ago

      There is a point to be made that C is the foundation to all other languages

      No it isn’t. Go for example. Or Lisp in some cases.