|
|
|
|
|
by klrr
4945 days ago
|
|
The thing is, using a function like sqrt is totally ok, but what I was more pointing to is that many tutorials teaches how to use module's in the very beginning and encuaraging(sorry for my bad english) using them to rather bypass problems instead of solving them. As for pygame, all tutorials I found said prior OOP knowledge was essential, which I had yet to understand. |
|
For PyGame, I wouldn't say it's that essential, but there's a tendency for most tutorials to classify everything when often there's no reason to. The amount of OOP knowledge needed is very basic and following the simple examples is a great way to learn OOP in the first place. But I remember feeling frustrated with all the indirection and namespacing (part of the "module" frustration you had perhaps?) when I first looked at Python, having come previously from PHP. "pygame.display.set_mode() is dumb, why can't I just type make_screen()?"