Welche Programmiersprache für Anfänger?
Ich habe gestern schon eine Frage gestellt, ich bekam sehr viele tolle Antworten jedoch auch einige die mich ein bisschen verunsicherten. Ich versuche mir momentan seid einiger Zeit Python beizubringen, ich tue mich jedoch sehr schwer damit etwas eigenes zu kreiren und bin ein wenig “lost” sobald ich selber etwas entwerfen sollte oder versuche.
Jemand hat dann gesagt, ich soll auch nicht Python lernen das sei völlig doof für einen Anfänger da es keinen richtigen Compiler gibt man nur im dunkeln tappt etc. Ich interessiere mich sehr für game hacking/reverse engineering und weiss auch das für dieses Themengebiet C++ viel geeigneter wäre als Python. Jedoch habe ich auch schon des öfteren gehört C++ sei schwirig für Anfänger, und da ich mich sowieso schon schwer tu mit Python (was ja ne einfache syntax sein soll) bin ich nun etwas verwirrt. Was ist denn nun besser zum beginnen? Python, Java, C# oder grad doch lieber C++ weil ich mich sowieso intressiere für Games?
Python is the wrong approach if you ask me. You talk about C++, which is a language that is very difficult and not even a little similar to Python. If you want to learn C++, I would recommend C# first and I can explain why: C# itself is just to learn, but also very similar to C++. In C#, of course, you only start with the basics, but if you are good enough, you can go deeper. Some do not know, but many concepts from C++ can also be found in C#. Be it Heap, Stack, Pointer, Memory Management in general… C# has it. C# is not C++, but if you have understood all this in C#, you can easily switch to C++ (provided you don’t make it all and jump from the basics to C++). I do not recommend a direct start with C++. There is a lot to consider, so C# still offers you a certain protection. You start with Python, then congratulations, you start soon as well as from the front
Well, I wouldn’t say that. I still fundamentally lack the knowledge of any language.
I initially chose Python because it is simple and simple from many corners it is a very good language for beginners. If it wasn’t Python, I would probably have chosen C++ for the reasons that I’m very interested in Games, Rev Engineering etc.
As I said, however, I lack the knowledge to be able to weigh why Yes or why No, I am very happy to teach myself a better one. So you would say: If my goal is to understand C++ then start with C#, Pyhton may be beginner-friendly, but if I wanted to change from Pyhton to C++, would I start at 0?
Very great answer from you, thank you very much gives a thumb up (:
Jein. So at 0 directly not, if queries, loops, etc. there are of course. But in principle, the differences are so great that I personally find that one can call it such, so yes.
C# is also very beginner-friendly. It may be more complex than Python, but these complex systems are a must. An example of this is the type security for C# that is missing from Python, with which many beginners are also overwhelmed by Python. I read it and I hear it again and again. Why is there a mistake, etc., although it is actually clear, only is handled dynamically by Python and is therefore unknown for beginners. No one says you have to get right into Pointer, Spans, Marshal… whatever. The basics already offer you a quite simple practice and you can go deeper later too.
Learn what brings you the most.
Python is great for smaller automation or scripts. It fits IT Security.
C++ you don’t have to be able to, except you’re really interested in low level bugs, then you should absolutely understand how to manage memory and which (also safety-critical) errors can arise.
If you want to develop something that works well with Python then take Python. If you are interested in C++, try it out. Take what you have the most fun and get right.
Thinking about the projects is important that you don’t take over and don’t make too much new from then on. Focus on projects where you already understand how the logic should look about, so that you really come to program yourself and don’t have to think about how to solve a problem at all.
Python
That’s perfect bullshit. With Python you can run the fastest hacking/reverse engineering.
If you have a little money or in the library, there might be this book: https://www.amazon.com/Hacking-mit-Python/dp/3898646335
Here are also ethnic hacking tutorials with Python (in English): https://thepythoncode.com/topic/ethical-hacking
Or you do this course: https://www.udemy.com/course/ethical-hacking-mit-python/ (approx. 90 €)
Now I’m totally confused 😀 shouldn’t C++ be #1 when it comes to Rev engineering? Since it is ne low lvl spache and you can access eif storage etc and many games are also written in C++?
Depends on what you want to do. Hacking and Reverse Engeineering is not only accessing certain storage areas but much more, especially via the network.
Many games are also written in C#.
Okay 😅
I think you just want to talk. Start with Python and implement first hacking attempts. Sources, I nailed you. You can still switch to C/C++ later.
Okay, well, whatever. What intresses me now is Python or C#, C++. Yes I am very interested in Rev engineering, but I am currently fundamentally concerned with how to understand and understand programming.
Python is already a good start. With Python you can start something in all areas and all systems.
How do you teach yourself?
Maybe it’s about it. I’m doing this hard and I’m always buying a video course on udemy.com. You will be approached step by step.
To your question as I teach myself, this is more appropriate to my questioner of yesterday:D
However, I was a bit confused by a comment and don’t know jetz I should learn the simpler language Python (if it is really simpler, according to comments from yesterday this shouldn’t be like this) or should I learn the more blacker language C++ that I know is used more frequently in games and would also fit my interests (Game hacking/rev engineering)?
Yes, Python is easy. You should learn this at the end to understand the basics of programming. C++ will make you feel much easier at a later time, as certain things are already known.
There you are in first class society. Very many, whether in training or studying, learn a very elaborate programming language and then do not know much about it.
Because they only learned the language – but not programming. If you want to do a little project, don’t sit on the keyboard!
Sit on a bench or go for a walk, some also help a beer! Disassemble the problem in small steps in German. Examples:
“If VAT is greater than zero.”
“And we’ll do that for so long….”
“we put all the values in a table and show them”
If you can describe your problem in this form, you only need to override this description in code. And then the language really doesn’t matter.
Good luck!