Programmer Icks - /g/ (#106112168) [Archived: 265 hours ago]

Anonymous
8/2/2025, 4:59:25 AM No.106112168
file
file
md5: 3405d9814d6a66600868bec0579badd8🔍
Stop doing this.
Replies: >>106112276 >>106113803 >>106113863
Anonymous
8/2/2025, 5:15:24 AM No.106112276
>>106112168 (OP)
what, using github? imagine giving away your IP for free
Anonymous
8/2/2025, 5:41:58 AM No.106112444
I'm a self-taught, solo programmer and I initialize all of my data structures at the top of the program above the main loop in one giant global glob of code. I assume some people would be disgusted by that, but not a single soul has seen any of the code I have written over the years.

The odd thing is that the program flow in my main loop is very clean and easy to follow, with the inner workings tucked away into functions/classes and logic easy to follow down to the root. For some reason I just scrolled down and never considered tucking away the hideous data setup into a function or object.
Replies: >>106113446 >>106113828 >>106115515
Anonymous
8/2/2025, 8:52:39 AM No.106113446
>>106112444
I do the same thing. based.
Anonymous
8/2/2025, 9:45:16 AM No.106113803
>>106112168 (OP)
@Bean
@Bean
@Bean
@Bean
@Bean
Anonymous
8/2/2025, 9:50:11 AM No.106113828
>>106112444
Are you me?
Anonymous
8/2/2025, 9:56:05 AM No.106113863
>>106112168 (OP)
Github is a social codewhore site where they compete for attention.
90% of the checkins there are just moving shit around, making READMEs grammatically incorrect, updating variable names, and other meaningless shit.
It might have some worth as a storage site.
Anonymous
8/2/2025, 2:22:27 PM No.106115515
>>106112444
I haven't been in the industry for quite a few years, but when I was, everyone did this.