Message from C, C++ discussions

December 2019

— No, this shouldnt be taught to people who make contact with a new language at all

— 

She also tells beginners to use vectors instead of arrays, at this point, this just teaches people how to write terrible code..

— These have nothing in common with eachother other than "it contains multiple things"

— I'm talking about not OS development or something

— Python

— I don't think you have an experience of teaching, ff_0x1d3

— Okay, so tell me one reason you would actually tell a beginner about a vector before telling them what an array is?

Message permanent page

— Because it's easier to use

— Simple apps? Kernels? The gnome project?

And C is really stupid to learn. You can use it to introduce people to the basics of programming as loops, memory management and other stuff while keeping the complexity low

Message permanent page

— But why would you teach people to "use" the wrong thing for most stuff theyre using

— The stl features a big collection of containers, and without having a good reason, beginners should know what an array is

Message permanent page

— So its basically too simplified
Like yes vector is usually the best choice but you should still know your Containers

Message permanent page