4 ms·
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
by jokoon 3y ago
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.
- moralestapia 3y ago>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?
- jokoon 3y agojust comparing two interpreted languages, i'm trying to say that I prefer one language over the other i'm doing some whataboutism, sure
- raytopia 3y agoI'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.
- cutler 3y agoI'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.
- squeaky-clean 3y agoI 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.
- PicassoCTs 3y agoAt 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 https://onecompiler.com/lua/3zjsw5up3
- synergy20 3y agowhere 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.
- spacechild1 3y agoI'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").
- deleted 3y ago[deleted]
- cutler 3y ago> 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.