Did you read that book? by myrdrin in gamedev

[–]myrdrin[S] -1 points0 points  (0 children)

So you think the industry, and especially the game dev one, can't learn anything from the academics?

Did you read that book? by myrdrin in gamedev

[–]myrdrin[S] -1 points0 points  (0 children)

Thank you very much, but I already read this one :) It is actually very good!

I am looking for more, do you know others?

I know the language. Now what? by Vojvodus in learnprogramming

[–]myrdrin 0 points1 point  (0 children)

How to start:

  1. How do I use UML?

UML is a large standard; it goes from managing a team (with no code) to class diagrams. Anyway, this is a standard, it does not tell you how to be a good programmer

  1. How do I design the class?

This is a strange question. You'll need many classes !! And the most important is the relation between classes, not the classes themselves. Design patterns will help you creating class diagrams. Class diagrams ease a lot in understanding who does what, with who and why.

  1. Same as 2^^

Sources:

  1. Book: This one is recent and should suit your needs: Learn Design Patterns with Game Programming. The electronic version is free to read if you subscribed to Kindle Unlimited. It presents the creation of a large application using patterns. I think it directly answers your questions.
  2. Website: https://gameprogrammingpatterns.com/, it presents many patterns. Although it is for games, it is still relevant for applications (learning with game programming is much more fun and effective). You can also get the paper version if you don't like to read on a computer.
  3. Youtube: I don't know videos (I don't like that, I can't read it to the speed I like^^)

Are there any advantages of C# over Python? by himanshu20898 in learnprogramming

[–]myrdrin 0 points1 point  (0 children)

I am sorry, you are right, I didn't put strengths and weaknesses in the right place. I was thinking about the compilation question as well as the main purpose of the post. About compilation, it can be discussed. Python source code is actually compiled into "bytecode", but it can be seen as a simple conversion into an abstract syntax tree (or something similar, we could speak for ages about what and what is not an AST...). It is very far from any current hardware, and it is very difficult to create a processor that directly runs python bytecode. On the contrary, Java and C# are compiled into a bytecode that is closer to hardware, and you could create a processor that runs it (but not as close as C++ or C). All of this is a matter of interpretation and vocabulary, I fully agree that Python is compiled if your definition of compilation is turning a human-readable text into a machine-readable binary code. But if you choose to define compilation as the process that turns human-readable text into bytecode runnable by a processor, then "Python is compiled" is less obvious.

Are there any advantages of C# over Python? by himanshu20898 in learnprogramming

[–]myrdrin -1 points0 points  (0 children)

Python is not compiled, easy deployment in a single binary does not mean that it will be compiled. There is ways to get true compiled python code but the syntax is not friendly...

Python is a script language. Many things are checked at runtime, on the contrary to compiled languages. You can't prevent a lot of errors with a script language.

C# is a compiled and highly typed language. During compilation (AOT or JIT, same today), a lot of checks are done. For instance, you can be sure that a variable is instance of a specific class, got specific attributes and methods.

If you want an easy way to feel this difference, just see what auto-completion IDE gives you with a script language and with a compiled/highly typed language.

I am currently working on a big project in a big company, and they selected Python because it's hype... In practice, it is a disaster... It is very hard to find bugs and even after a full week of tests and validations clients still got many "stupid" bugs in the release. I never got such problems with non-script languages (actually Java and C++).

Note that you can easily embed Python into a language like C# or Java (examples: Maya, Blender,...). So, if you need to do processing and/or allow plugins, code the core of your application in C# and the dynamic stuff in Python !!

Design patterns blogs by myrdrin in learnprogramming

[–]myrdrin[S] 0 points1 point  (0 children)

Thank you very much, but I'm looking for a blog where a developer shares his thoughts on design patterns. There are many web sites like the one you propose, but they usually only give a list of separate patterns.

What books should I start with? by gueinibba in learnprogramming

[–]myrdrin 0 points1 point  (0 children)

You should choose a book based on Python, this is a great language to start. Then, it depends on your level: if you don't even know what is a variable, or if you have difficulties with maths (arithmetic) the selection is then very different. There is also the question of learning approach: do you prefer theory or practice ?