Hacker News new | past | comments | ask | show | jobs | submit login

I still have the feeling that those oddities are still a bit less bad than the ones of js.

I am a still disappointed by python because I am so addicted to all the fun things of python, yet python is inadequate for game development.

I use godot, which has a python-flavor language, but it's missing A LOT of what I love about python: list comprehension, tuple, set, and many others. And now that I think about it, it's going to be difficult for them to evolve the language, although I often prefer to break codebases.




> I still have the feeling that those oddities are still a bit less bad than the ones of js.

Talk about setting the bar low.


I'm overall not super happy with python's game ecosystem too (especially the lack of gui based editors/engines) but if you're willing to look past the lack of an editor Panda3D is a pretty good/robust game engine for Python. Disney used it for their ToonTown and Pirates MMO along with a lot of themepark rides (visualiztion/actually using it in the ride) so it's pretty mature. It's a lot more flexible then Godot and you get access to the entire Python ecosystem.


I'm honsetly at a loss to understand why anyone would expect a single-threaded, dynamically-typed language like Python to be anywhere near peformant enough for a game engine.


I only know PyGame and Panda3D, but both of those have their core written in C or C++, and use multiple threads. Python is just intended as the scripting language.


>I still have the feeling that those oddities are still a bit less bad than the ones of js.

I'm truly interested in hearing why does that matter?


just comparing two interpreted languages, i'm trying to say that I prefer one language over the other

i'm doing some whataboutism, sure


At least its not lua. My personal wtf was with lua ignoring variable scope.. its just a hashtable it all goes into it - https://onecompiler.com/lua/3zjsw5up3


I'm not sure what your code example is supposed to demonstrate... All I can say is that Lua uses lexical scoping for local variables (which need to be declared as "local").


where does it ignore the scope? use 'local' it stays in the function scope, without 'local' it's global, other scripting languages(e.g. bash) does the same.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: