[ / / / / / / / / / / / / / ] [ dir / 4am / animu / ausneets / britfeel / ck / gdp2083 / leftpol / shame ][Options][ watchlist ]

/tech/ - Technology

You can now write text to your AI-generated image at https://aiproto.com It is currently free to use for Proto members.
Name
Email
Subject
Comment *
File
Select/drop/paste files here
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Expand all images

File (hide): b02129a233b1097⋯.jpg (40.98 KB, 400x593, 400:593, jewritos.jpg) (h) (u)

[–]

 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?

 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.


 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.


 No.861037

>>861014 (OP)

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.




[Return][Go to top][Catalog][Screencap][Nerve Center][Cancer][Update] ( Scroll to new posts) ( Auto) 5
3 replies | 0 images | Page ?
[Post a Reply]
[ / / / / / / / / / / / / / ] [ dir / 4am / animu / ausneets / britfeel / ck / gdp2083 / leftpol / shame ][ watchlist ]