I saw the video for C23 by ACCU, and I couldn’t help but feel that C2x has gotten a bit stricter than what I had learnt. Since this is based on my intuition, and that is not reflective of the reality, I was wondering if modern versions of the language post C99 is a little bit strongly-typed?

I don’t really have an answer for you, but can say when recompiling older codebases (some in C and some in C++) using a modern C++ compiler, typing errors are among the most common I have to address. In particular, compilers seem to insist more on explicit casts for type narrowing, which is a good thing. But I don’t know about modern C itself? It wouldn’t surprise me if the language has become stricter.

General Programming Discussion
!programming@lemmy.ml

    A general programming discussion community.

    Rules:

    1. Be civil.
    2. Please start discussions that spark conversation

    Other communities

    Systems

    Functional Programming

    Also related

    • 0 users online
    • 4 users / day
    • 6 users / week
    • 27 users / month
    • 134 users / 6 months
    • 1 subscriber
    • 276 Posts
    • 462 Comments
    • Modlog