|
|
|
|
|
by thirdwhrldPzz
1543 days ago
|
|
Still, why plain text? If the goal is “wrap it in UI” why a new white space, special characters. Why not YAML or JSON and the vetted libraries to read and write the format? As a user I don’t really have any concern with what underlying data format and structure it stores things in. I want to manage my todos! This could be an SQLITE file for all I care. Software engineering should be about more productive UX, not flexing one’s ability to parse arbitrary syntactic art. |
|
Tasks lists are generally useless without their context. It makes sense to have tasks along their context (be it plain-text, markdown, JS, python...) Also it's more maintainable and portable. YAML/JSON/SQlite will be a headache when the user decide to migrate to another tool. This approach only require a text editor, any text editor in any platform. You can plug in whatever you prefer for syncing and sugar.
For a very few cases I use YAML to store data that isn't parsed by any program (only by me). And I can write a comment like 'TODO: Do something.' or "FIXME: X isn't working.' On the terminal using a code searcher and a text editor I can easily find and jump on those.