A loom that learned to weave itself.

http://pattmayne.com

  • 5 Posts
  • 232 Comments
Joined 2 years ago
cake
Cake day: June 11th, 2023

help-circle

  • I’m actually leaning toward this. I might have a class that holds a large unordered_map with a string key, where the value is actually a function which calls a constructor loaded with the defining data (a function so that I can create the map in an object or function without creating ALL the objects every time).

    Still, creating a huge unordered_map every time I just need one (or ten) items seems bulky. But there will be five maps, each with their own native items, so maybe I can break it up that way.

    I’m also concerned about using magic strings to access values. I wonder if I should make another unordered_map just to hold string values (something like [“BASTARD_SWORD”] = “bastard_sword”) so that I never write the string, I just write… the string to access the string… maybe silly and bulky.















  • You write very well, and communicate coherently. I don’t get a “low intelligence” vibe from the structure of your post. Although the negative focus suggests an unhealthy fixation.

    It sounds like you might have good emotional intelligence. I think you can find something you’re good at, develop that natural talent into a strong skill, and just give yourself to that.

    Also remember that negative thinking creates bad outcomes. I know it’s not your fault, and your negative thinking comes from negative experiences, but you’re clearly demonstrating a kind of intelligence in how you communicate.

    Short answer: yes, there’s hope for you. You’re so young. You have time to find what you’re good at and give yourself to that.