Hacker News new | ask | show | jobs
by k4j8 1257 days ago
My homebrew solution uses comments surrounding or in-line with the code that is machine-specific. The program then uncomments/comments the code appropriately as it is backed up and restored.

What do you think of this approach? Would that remove the complexity hiding?

1 comments

i'd have to see it to have much of an opinion. have a GitHub link by chance?
See the example usage via the link below.

https://github.com/k4j8/filetailor#example-usage

The program works great for my use case, but I don't have a CS background and this was my first big project, so I'm sure it's full of bugs and poor coding practices.