Re: Witch is easier to learn? c++ or python?
@13, the statements made by Jonixter are completely incorrect. As already stated, encapsulation is a technique. There is a difference between a technique used for access control and something that a programmer *must* learn in one and only one particular way. Rust uses encapsulation, though at a more limited form: there is no 'protected', 'internal', etc., modifiers; there is only 'pub' and no 'pub'. Something that is not 'pub' in a module is 'private'.
Also, I would not recommend you start off with C++.Go ahead if you like, but it is a very difficult language to fully understand if you are a beginner, and you will be diving into a world where easy is thrown out the window. In all seriousness, C++ is not easy any more, though C still is (go figure that). By that I mean C is simpler than C++ will ever be, but is still not easy compared to Python, for example. As Kyleman123 said, unless you absolutely need to (i.e. OS kernels, device drivers, embedded development, ...), don't worry about how your program is mapped into memory or how your pointers are laid out. I won't write a lecture on conservative programs until you've got a bit more experience under your belt though.
Also, C# is not going away. MS is producing .NET 5, as a matter of fact, merging .NET core and the .NET framework into one entity that is cross-platform.
-- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector