How do I know I am writing pajeet code. - /g/ (#105849398) [Archived: 571 hours ago]

Anonymous
7/9/2025, 6:33:18 PM No.105849398
ResetGUI
ResetGUI
md5: dbc71152c107062ba9d912eb58de9865🔍
Is this code good enough?

I can't trully automatized with functions, but I still feel like a pajeet writing this.
Replies: >>105849455 >>105849500 >>105849542 >>105849597
Anonymous
7/9/2025, 6:40:45 PM No.105849455
1724714764144023
1724714764144023
md5: 37630754c5c96422acb44954c7e0070e🔍
>>105849398 (OP)
LMAO. No.
Replies: >>105849491
Anonymous
7/9/2025, 6:44:01 PM No.105849491
>>105849455
okay faggot.

How do I automatize when the variables are unique for each line?
Replies: >>105849574
Anonymous
7/9/2025, 6:45:04 PM No.105849500
>>105849398 (OP)
>How do I know I am writing pajeet code.
Do you use an AI assistant?
Replies: >>105849512
Anonymous
7/9/2025, 6:45:57 PM No.105849512
>>105849500
No.
Anonymous
7/9/2025, 6:50:18 PM No.105849542
>>105849398 (OP)
That's the best way to do it. It's simple, easy to understand, and easily modified. Yeah it looks a bit dumb but once you have it in a function you won't have to worry about how it looks.
Replies: >>105850172
Anonymous
7/9/2025, 6:53:46 PM No.105849574
>>105849491
You are thinking the wrong solution my friend, the correct way to do it is by implement a proper node hierarchy, you can probably store all that a dictionary-
Anonymous
7/9/2025, 6:56:32 PM No.105849597
>>105849398 (OP)
A better way of doing this is to create a struct or data object that can store the relationship between the reference to the variable's text and whatever type the Root.game_options.X points to. Then create a dictionary to store this, then have the ResetUpdate functions loop through the dictionary and set the text to the associated game_option. This would make it more maintainable long term.

I don't know if you can do any of that though because this looks like Python so maybe you are doing it the best way
Replies: >>105850172
Anonymous
7/9/2025, 8:04:24 PM No.105850172
>>105849542
>>105849597
They're right. Logic like this you would abstract the language itself.
Ie. create abstractions for the properties themselves.