Why do people bother with other programming languages when C exists?

Why do people bother with other programming languages when C exists?

The Kind of Tired That Sleep Won’t Fix Shirt $21.68

Tip Your Landlord Shirt $21.68

The Kind of Tired That Sleep Won’t Fix Shirt $21.68

  1. 1 month ago
    Anonymous

    t. nocoder

  2. 1 month ago
    Anonymous

    Why do people bother with other programming languages when the Web only needs Javascript?

    • 1 month ago
      Anonymous

      Convenience.

      Masochism.

  3. 1 month ago
    Anonymous

    >null-terminated strings
    oh no no no no

  4. 1 month ago
    Anonymous

    Scripting languages have their place.

    As far as compiled languages go, I agree completely.

    • 1 month ago
      Anonymous

      because its more convenient to use e.g. C++ if you want to use more abstract data structures

      scripting languages are even more convenient, but you don't gain a huge amount in implementation speed (C++ still dominates ICPC)

      >null-terminated strings
      oh no no no no

      literally not a problem, just don't use the builtin string functions to handle strings over e.g. 10 kilobytes

      • 1 month ago
        Anonymous

        >more convenient to use e.g. C++
        I find C++ to be unreadable in many places. Same goes for rust.
        "of course you just vector<box<T>> the array, it makes perfect sense"
        I just don't think in a "C++ way"

  5. 1 month ago
    Anonymous

    Probably the same reason women bother with other men when you exist.

  6. 1 month ago
    Anonymous

    Have you ever heard of the two language problem?

  7. 1 month ago
    Anonymous

    C is hard.
    I like that we have languages that abstract all that shit away.
    I'm not a genius. I make okay money writing CRUD code. Life is fine.

  8. 1 month ago
    Anonymous

    Why do we have the same inane threads day after day? C is good, but I wouldn't write 99% of software in C. There are many issues:
    >lack of namespaces
    >lack of generics
    >header files and preprocessing in C in general is just complete ass
    >no nominal typing
    >no way to (at least syntactically) bind a method to a data structure
    >concurrency is annoying to get right
    Of these I think it's the first two that really get me. Have you looked at C code? It's fricking awful because everything has to be named "__libfoo_thing_int2bla()" not to be confused with "__libfoo_thing_float2bla()".

    And yes, C is fast but the braindead code you pump out isn't.

    • 1 month ago
      Anonymous

      thats why you use c++

      • 1 month ago
        Anonymous

        I actually really, really dislike C++. That's a language that does not spark joy. I have not met a single C++ developer who liked working in C++. There are a bunch of critiques of C++, but I'm not well-versed in the language enough to make any statements here. I just know that for me, personally, the things I value in a language is pretty much the antithesis of C++. I really value
        >small languages
        >fast compile-times
        >good build systems

        Industry-standard and blah blah blah, using C++ makes me sad so I don't use it.

        • 1 month ago
          Anonymous

          What language do you use?

          • 1 month ago
            Anonymous

            It depends on what I'm doing, but if I had to give a single answer I would say Go is probably my favorite one.

        • 1 month ago
          Anonymous

          >I have not met a single C++ developer who liked working in C++.
          I like working in C++

    • 1 month ago
      Anonymous

      As much as lack of namespaces is painful, it makes it far easier to understand existing code as there is no ambiguity as what some identifier refers to. I think C is great for stable long term maintained projects, but absolutly horrible for fast development.

  9. 1 month ago
    Anonymous

    >Why do people bother with other programming languages when C exists?
    Because some of us need to get work done.

  10. 1 month ago
    Anonymous

    why do cniles hate abstraction? do you think you're smarter because you waste all day reinventing the wheel instead of writing functional code?

    • 1 month ago
      Anonymous

      I hate abstraction when I need code to fricking fly but don't want to write assembler. The rest of the time abstractions can be great.

  11. 1 month ago
    Anonymous

    C is not for everything. OOP is a very useful paradigm. If you're doing RAD you don't want to waste time worrying about memory management. Other languages have useful complex types "built in" where with C you have to choose a library, add the headers, etc.

    But C is also not a bad language as it is often portrayed to be by people who don't know any better. It's the best option for certain tasks and can be made brutally fast if you know what you're doing.

    Use the right tool for the job.

  12. 1 month ago
    Anonymous

    Ziggers rise up

  13. 1 month ago
    Anonymous

    we have this same thread every single day. Do you guys not have memory?

    • 1 month ago
      Anonymous

      They have a buffer overrun and crash, so need to be restarted.

    • 1 month ago
      Anonymous

      SEGFAULT ERROR

Leave a Reply to Anonymous Cancel reply

Your email address will not be published. Required fields are marked *