Allowed file types:jpg, jpeg, gif, png, webm, mp4, pdfMax filesize is 16 MB.Max image dimensions are 15000 x 15000. You may upload 3 per post.
File (hide): b02129a233b1097⋯.jpg (40.98 KB, 400x593, 400:593, jewritos.jpg) (h) (u)
▶Organizing source code Anonymous 02/01/18 (Thu) 12:02:13 No.861014>>861020 >>861037 [Watch Thread][Show All Posts]
How do you organize your source in larger projects? Is there an industry standard specifically for how to handle code not written by yourself?
Do you just put it into a folder called "external" or what?
▶Anonymous 02/01/18 (Thu) 12:20:42 No.861020>>861036
>>861014 (OP)
If you have a language with a package manager you user that. If you are using a language like C or C++ you have the user install dependencies on their system and the required header files will be placed in the system directories. For everything else you just create a folder called external and place your libraries there.
▶Anonymous 02/01/18 (Thu) 13:11:03 No.861036
>>861020
That's one of the nice things about javascript and node/npm. npm lets me just drop a git repo into my dependencies and I can install shit that way, instead of having to go through publishing my code in the registry.
▶Anonymous 02/01/18 (Thu) 13:19:26 No.861037
Yea, external pretty much. Plus header/source separated in folders. Possibly another one for template specifications and inline functions if there's a lot of them.