3 ms·
Now this might be idiotic take but isn't C easier and simpler to learn than Rust? Even Typescript's type system is pretty complicated compared to C. Or I might
by wg0 3y ago
Now this might be idiotic take but isn't C easier and simpler to learn than Rust? Even Typescript's type system is pretty complicated compared to C.
Or I might have revealed my ignorance about how much complicated C is.
- steveklabnik 3y agoBrainfuck is easier and simpler to learn than C. That doesn't mean that writing an application in Brainfuck is easier than writing one in C. "which is easier to learn" is basically an inherently subjective concept at this point, we as a field do not have an objective way to answer this question, except for extreme cases like the one I am drawing above. For any "real" language, it is much, much, much less clear-cut.
- wg0 3y agoC isn't brainfuck. Modern tooling (linters, valgrind and friends) should remedy shortcomings if any. There aren't classes, generics, exceptions etc but that also means there isn't much to learn either.
- deleted 3y ago[deleted]
- deleted 3y ago[deleted]
- steveklabnik 3y ago> C isn't brainfuck. I never said it was. I specifically contrasted the two, saying that C is easier to build an application in than Brainfuck would be. Because it is. That means I think they're different, not the same.
- fsociety 3y agoModern tooling and lack of language features does not make it easier to design a program. I have seen self-proclaimed C developers struggle with managing the ownership and lifecycle of memory in a sane way.
- dajtxx 3y agoI started writing commercial software in c in the late 80s, did my own memory management system to work around the limited memory handles in win3, got sdcc going for a custom z80 system where I had to do the startup code, and i have no idea how const works.