Timeline for Best practices for sharing tiny snippets of code across projects
Current License: CC BY-SA 3.0
41 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 26, 2024 at 3:18 | comment | added | NeilG | I'm not affiliated but apparently something called "bit" (play on "git") seems to have been built after a comprehensive assessment of all the drawbacks associated with the various alternatives for sharing small code fragments across projects, including sub-repositories. | |
| Jan 15, 2021 at 18:14 | comment | added | Granger | Don't split it out! Keep the "kitchen sink". People won't search those X tiny projects to see if it has what they need. If it doesn't pop up in Intellisense or Google, they just attempt to "reinvent the wheel", almost every time. I'm actually about to switch to using a "Shared Code Project". No "dll hell", superior debugging experience, simpler build pipeline, easier maintenance. | |
| Nov 27, 2018 at 5:05 | comment | added | Dmitry Ponyatov | This question tends to some expert system can represent code in atttibuted graphs/trees, can do fuzzy search in snippets collection, and maybe do some symbolic transformations | |
| Nov 27, 2018 at 5:02 | comment | added | Dmitry Ponyatov | I'm now experimenting with metaprogramming to solve the same problem in tiny embedded development. The idea is about C code generation in Python with inheritance when you need to tune code snippet for single project. I manipulate set of classes represents multiple syntax conatructs in C, based on base "symbolic object" represents attribute grammar node, can contain nested elememts and attribute slots. | |
| Sep 8, 2015 at 16:48 | comment | added | Robert | This is of course whilst taking a balanced approach like @p.s.w.g, ~Dave Hiller and many others proposed. | |
| Sep 8, 2015 at 16:48 | comment | added | Robert | I would have made a short answer but i don't have the rep. For .Net I would suggest using netmodules and have lots of little projects with related code, that way you can balance the benefit of maintaining your code in one place whilst keeping a good separation of concerns and having any project referencing them compile the netmodule into the one assembly as if you had duplicated the code. I think in C / C++ that would be called static linking. | |
| Apr 22, 2015 at 20:03 | history | post merged (destination) | |||
| May 16, 2014 at 13:07 | history | protected | gnat | ||
| Sep 22, 2013 at 14:39 | history | edited | George Powell | CC BY-SA 3.0 |
Question has been reopened so I've removed reopen information
|
| Sep 18, 2013 at 12:05 | history | reopened |
Bart van Ingen Schenau Rachel CommunityBot glenatron Jalayn |
||
| Sep 18, 2013 at 3:03 | review | Reopen votes | |||
| Sep 18, 2013 at 12:05 | |||||
| Sep 11, 2013 at 13:27 | history | edited | George Powell | CC BY-SA 3.0 |
added 166 characters in body
|
| Sep 11, 2013 at 13:04 | review | Reopen votes | |||
| Sep 11, 2013 at 15:41 | |||||
| Sep 9, 2013 at 20:28 | history | closed |
gnat Yusubov CommunityBot Kilian Foth ChrisF |
Duplicate of How to promote code reuse and documentation? [closed] | |
| Sep 8, 2013 at 18:57 | comment | added | George Powell | @gnat I don't believe this is a duplicate. See edit - this is not about documentation or convincing a team. This is about a specific case of code reuse, namely reuse of small bits of code. | |
| Sep 8, 2013 at 14:53 | history | edited | George Powell | CC BY-SA 3.0 |
added 365 characters in body
|
| Sep 7, 2013 at 7:09 | review | Close votes | |||
| Sep 9, 2013 at 20:28 | |||||
| Jul 8, 2013 at 16:49 | answer | added | Cristiano Ghersi | timeline score: 0 | |
| Jun 25, 2013 at 7:45 | comment | added | Alex Angas | Related: When is a 'core' library a bad idea? | |
| Jun 23, 2013 at 17:34 | answer | added | Dave Hillier | timeline score: 22 | |
| Jun 23, 2013 at 14:30 | answer | added | Harvey | timeline score: 6 | |
| Jun 23, 2013 at 10:14 | answer | added | Quest Monger | timeline score: 4 | |
| May 26, 2013 at 17:32 | comment | added | JBRWilkinson | How much is loaded up if I 'NGen' to compile to native code? | |
| May 26, 2013 at 12:09 | answer | added | blacksh33p | timeline score: 5 | |
| May 2, 2013 at 9:11 | comment | added | user78252 | Language and IDE would be useful to know here. As any tool could only interface specifically with that environment. | |
| Apr 8, 2013 at 10:39 | comment | added | George Powell | True. Although you still have to distribute the whole .NET framework to anyone who wants to use your product, and big projects and complex solutions are more difficult to manage. | |
| Apr 6, 2013 at 20:07 | comment | added | Cole Tobin | I get that. However, .NET's JIT compiler only loads the required methods into RAM (when they are called) | |
| Apr 6, 2013 at 12:02 | comment | added | George Powell | @ColeJohnson .NET in itself IS a huge reference! Probably much bigger than the dlls I'd make myself. | |
| Apr 5, 2013 at 19:28 | comment | added | JDB | +1, although I think there is an element of humor in someone working with .NET being concerned about dragging in irrelevant code via a DLL reference. | |
| Apr 5, 2013 at 16:26 | audit | Suggested edits | |||
| Apr 8, 2013 at 5:05 | |||||
| Apr 1, 2013 at 21:30 | answer | added | Wyatt Barnett | timeline score: 12 | |
| Apr 1, 2013 at 21:11 | answer | added | Ben Lee | timeline score: 2 | |
| Mar 31, 2013 at 10:01 | answer | added | adrianm | timeline score: 2 | |
| Mar 30, 2013 at 16:54 | history | tweeted | twitter.com/#!/StackProgrammer/status/318043471548121088 | ||
| Mar 30, 2013 at 15:11 | vote | accept | George Powell | ||
| Mar 30, 2013 at 15:11 | vote | accept | George Powell | ||
| Mar 30, 2013 at 15:11 | |||||
| Mar 30, 2013 at 15:07 | answer | added | Kofi Sarfo | timeline score: 6 | |
| Mar 30, 2013 at 14:50 | answer | added | Thomas | timeline score: 4 | |
| Mar 30, 2013 at 14:40 | answer | added | p.s.w.g | timeline score: 78 | |
| Mar 30, 2013 at 14:35 | answer | added | Theo Lenndorff | timeline score: 6 | |
| Mar 30, 2013 at 13:40 | history | asked | George Powell | CC BY-SA 3.0 |