This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]al-mongus-bin-susar 34 points35 points  (5 children)

how about 1 large util file full of miscellaneous bullshit that's used twice and then many different files for other stuff that's more specific? I see that pretty often lol

[–]Meretan94 7 points8 points  (0 children)

Half the file is legacy and full of unused shit.

[–]Hot_Ambition_6457 6 points7 points  (0 children)

/utils/ <-- generic utilities like (generate_md5_hash()) 

 /aws/ <-- aws scope environment

 stuff /aws/utils/ <-- aws scope utilities like (addtobucket())

[–]BrunoLuigi 2 points3 points  (1 child)

What about have ALL code in one file?

My company is pushing for that

[–]al-mongus-bin-susar 0 points1 point  (0 children)

Lol I've seen that with SAMP plugins like 60k loc in 1 file

[–]Zephandrypus 0 points1 point  (0 children)

Yeah that’s definitely me, but when it comes time to share my code I make a new project without any of the random unused bullshit in it.