Skip to main content
7 events
when toggle format what by license comment
Sep 3, 2022 at 1:18 history edited Kevin CC BY-SA 4.0
clarify wording
Sep 2, 2022 at 21:16 comment added Kevin @MichaelMacha Of course you don't delete the old prefab until you're finished assembling the new prefab. However, I'd suggest deleting the old prefab as soon as the new prefab is ready, not keeping it around with some kind of indicator that it's deprecated.
Sep 2, 2022 at 21:13 comment added Kevin @MichaelMacha Regarding code, once you've replaced the deprecated code with new code, why keep the deprecated code around? Why would you need to look at broken code a year later when you've forgotten what you were thinking when you built it? If you absolutely need to review it later, that's what version control (e.g. Git) is for. If you aren't using a version control system, that's a big problem you need to fix.
Sep 1, 2022 at 9:55 comment added Michael Macha Ah, the other reason I'm hesitant to immediately delete a prefab is that, regardless of what was wrong with it, portions of it clearly worked and are worth porting to the new prefab with adjustments. This is a terrible time to delete it, I think, as it would waste time and work resources and I'd be repeating myself. Thus, I leave them lingering in the file system until I know I've got something better implemented.
Sep 1, 2022 at 9:53 comment added Michael Macha I must disagree with you on your rationale for deprecation; there are many occasions in which I will be writing code which I myself will use in multiple projects or re-use (or reference) down the line. It's not exclusively for other teams, it's also for me, maybe a year later, when I've long forgotten what I was thinking when I built it. It's an annotation, after all; the compiler couldn't care less. It's a "this will do it, but really shouldn't" tag. I may start simply naming them with "deprecated"—while I also appreciate your file manager workaround, the direct answer seems to be "no".
Sep 1, 2022 at 3:56 history edited Kevin CC BY-SA 4.0
added 2034 characters in body
Sep 1, 2022 at 3:14 history answered Kevin CC BY-SA 4.0