• 24 Posts
  • 116 Comments
Joined 1 year ago
cake
Cake day: July 14th, 2023

help-circle




















  • Why are people still using string references? Like in the case of “Bumpable” - this could be a class name and reference could be via the class name instead of checking the node name by string. String references are super dangerous, as you will get a potential error only at runtime if you make a typo, IDE can’t help you. Don’t get me wrong - I like the idea behind component pattern and I use it myself sometimes, but the execution could be better in my opinion, unless I’m missing some obvious reasons for doing it this way.