3 ms·
One thing I noticed back in school was my law prof always kept his notes in html. When not teaching he was a local county judge. Is this common? The cases he
by chapium 9y ago
One thing I noticed back in school was my law prof always kept his notes in html. When not teaching he was a local county judge. Is this common? The cases he would cover were normal city disputes and not specific to technology. I think he preferred html since it was very easy keep text in a neatly formatted hierarchy.
- codingdave 9y agoYes, I've worked on many systems where the underlying document storage was HTML. It handles the complexity needed by 90+% of the clientele I've worked with, and has all the benefits of plain-text storage -- merging, cross-platform, flexible storage, etc. And you can include attributes to handle tracking changes within a document, put it into a rendering engine that will handle your desired margins, pagination, headers, etc. Coding such a system isn't always ideal. There are a plethora of edge cases to deal with, encoding/decoding the spacial characters, and you often create lots of extra markup for advanced features. It won't win any awards for elegance. But from a purely functional perspective of does it do the job... yes, HTML works.