Apr 13, 2018

Current Status

Andrea "Rum Rogers" Serreli

Apr 13, 2018
Ugh. No semicolons.
And I don't know why, but until now I thought you used Allman indentation style.


Apr 13, 2018
Lacking anything constructive to say, I'll just say this: "One can not simply getroottable()."
Or possibly this: "Man, I can't wait to get me some inventory."


Apr 13, 2018
return object

followed by an "else"? ;)

Ron Gilbert

Apr 13, 2018
While not required, I find putting else statements in places like that makes the intent of the code more understandable, and if the return is replaced, the logic is still intact.


Apr 13, 2018
No warning message if a null is passed as the argument?  Must be a standard case you need to support for some reason.  So many other specific warning messages, you must be in serious debug mode.


Apr 13, 2018
When you don't camel case your getroottable it means something very different in Australia!


Apr 14, 2018
Totally unrelated to the code itself; you should take a look at polacode or carbon for sharing code as images.

Now, with regards to the code, what's this for? I'll admit excitement at prospect of you working on a game with a prominent inventory.


Apr 14, 2018
Do you do all your games in python? Do you have anything written on subject? What's your experience in terms of performance etc?


Apr 14, 2018
You should try TypeScript. It provides gradual static typing to JS and really helps when the project gets large.

Ron Gilbert

Apr 14, 2018
1. I use python for tools, never for run-time game code. Too many performance issues.
2. This isn't Java, it's Squirrel (what I used for TWP).

Ron Gilbert

Apr 14, 2018
Get null passed in is not an error, so it just flows null back up and it's checked/ignored higher up.

Ron Gilbert

Apr 14, 2018
you should take a look at polacode or carbon for sharing code as images.

I don't use VS Code and for Carbon, I'd lose all my custom syntax coloring. I don't plan on sharing very much code (this was just a lark), so just taking a screenshot is fine.

Harban Vassbakk

Apr 14, 2018
I love how every time you share code, there are so many comments on how it could be better, or disbelief over which editor configuration you have. That's programmers, I guess.

Ron Gilbert

Apr 14, 2018
"code is like farts... you can only stand your own."


Apr 14, 2018
Best response ever!


Apr 15, 2018
Well done, sir! That is undoubtedly evidence of great progress!
Changing subject, Ron, have you seen my dime?


Apr 16, 2018
Yeah great response...can I add it to my "It always worked for me", "I only test in production" etc list? ;-)

Dutch Fan

Apr 22, 2018
I come here every week. Since like forever. Wanted to let you know that. Thanks for everything.



Apr 23, 2018
What was your favorite 6502 assembler?

Stelios K.

Apr 29, 2018
Suspicious silence here... :)

Die Skaarj

May 01, 2018
That's a lot of validation for just one character.


May 08, 2018
Is this from a new game ? :) interesting language btw.


Aug 04, 2019
Haha I love all these people telling you how to code.

Um... Where are your award winning games, guys?
Here are the rules for commenting.