|
Hammerite posted:what? the difficulty of using C++ isn't that it's strongly typed, it's that it forces you to do a lot of your own memory management (the better to give you flexibility and the ability to write extremely performant code), and doesn't come with a lot of conveniences out of the box. I would say that the difficulty of C++ has been greatly overstated, probably because of bad teachers who are still teaching some kind of messed up C hybrid. You can easily write C++ without having to care about memory management, especially with the updated standards since C++11, but even before that everyone should have been using RAII and automatic resource management (not just for memory). This was in fact a big reason for inventing C++ in the first place, to solve the large potential for resource leaks in C, and the current recommendation is that in most programs you should never even have to call new() directly. You should care deeply about things like resource ownership and scope though, and it would probably be a lot easier if classes focused on this rather than pointers.
|
# ? Mar 26, 2021 16:31 |
|
|
# ? Apr 26, 2024 23:52 |
|
Modern C++ would be a very elegant and practical language if we could just drop backwards compatibility in a few places.
|
# ? Mar 26, 2021 17:03 |
|
This is the goons LEARN code thread, you're all talking gibberish rn
|
# ? Mar 27, 2021 00:10 |
|
Muk Dumpster posted:This is the goons LEARN code thread, you're all talking gibberish rn Uh... Malloc() and Calloc()
|
# ? Mar 27, 2021 00:11 |
|
Muk Dumpster posted:This is the goons LEARN code thread, you're all talking gibberish rn Not true. I have to use C++ to program my Arduino, and that's a very approachable entry-level for programming.
|
# ? Mar 27, 2021 00:13 |
|
MarxCarl posted:Which is better is just personal preference, so at its core it’s just a nerd fight. It’s been going on since at least the 70’s. Just use what you like and move on. Computer viking posted:These days, I think the emacs/vim animosity is sort of a standing joke; they're both marginal and hardcore enough that it no longer feels like a culture war.
|
# ? Mar 27, 2021 01:51 |
|
There's a perfectly good argument to be made that emacs is easier to poke around in when you get over the initial hump. But yeah, if you're functional in vim, just stick to that.
|
# ? Mar 27, 2021 03:37 |
|
doom emacs is essentially emacs but with vim controls so you get all the good bits of emacs and all the good bits of vim
|
# ? Mar 27, 2021 03:43 |
|
https://www.youtube.com/watch?v=Wz_xJPN7lAY
|
# ? Mar 27, 2021 04:37 |
|
havent watched the video but isnt that all of them i am assuming this is The Joke
|
# ? Mar 27, 2021 04:40 |
|
|
# ? Apr 26, 2024 23:52 |
|
Nah, there is absolutely a hierarchy. The boring ones like "jump if equal" are at the bottom, and the binary coded decimal ones fight with the super-niche SSE ones at the top.
|
# ? Mar 27, 2021 21:52 |