←back to thread

578 points smusamashah | 1 comments | | HN request time: 0s | source
Show context
egeozcan ◴[] No.42463511[source]
This is very cool. BTW, when developing single HTML file apps, instead of localStorage, one can use the HTML as the source of truth, so the user can just save/save-as to persist. I had mentioned my quick and dirty attempt at an image gallery that is a self-contained html file and some really liked the concept, if not the "app" itself: https://news.ycombinator.com/item?id=41877482
replies(6): >>42463631 #>>42464347 #>>42467577 #>>42471918 #>>42476577 #>>42477123 #
xandrius ◴[] No.42463631[source]
Wait, so every time I make a change I need to remember to save or it's all lost? Or am I missing something?
replies(7): >>42463754 #>>42463869 #>>42464221 #>>42464493 #>>42464749 #>>42465571 #>>42469902 #
breakfastduck ◴[] No.42464221[source]
My god this comment made me feel old.

God forbid you have to remember to save your work!

replies(4): >>42464339 #>>42464506 #>>42466436 #>>42474915 #
billiam ◴[] No.42464339[source]
The mental model my kids have for work is that typing or even thinking is itself a finished product. For my generation that idea of a conscious action of saving your work on a computer made me think more about what I was doing and how I was doing it. But I am an old.
replies(2): >>42464773 #>>42481399 #
1. nuancebydefault ◴[] No.42481399[source]
If you go back in time, there were editors that by default would save the previous version of a file to .bak, each time you saved the current status. The fear of accidental saving or editing and hence overwriting old good stuff was higher than accidentally loosing new good stuff. There was less protection of system files, config files etc, so chances were you would brick apps or even the OS. Things got more forgiving since.