DEV Community

Discussion on: Deconstructing the Hemingway App

Collapse
 
philnash profile image
Phil Nash

There is nothing fun about trawling through minified code, even after formatting! You did a great job pulling out the interesting bits. It's fascinating to note that so much of the code is UI and the bits that do the calculations are just a few lines.

Collapse
 
samwsoftware profile image
Sam Williams

Yes, getting started was massively confusing.
I was amazed how simple the logic was as well. I think the logic for applying highlighting word by word is going to be the most difficult thing to replicate. Also managing the logic so that it only rescans the paragraph that's changed.

Collapse
 
philnash profile image
Phil Nash

I bet, I can only imagine that getting something like this to perform well is the real task at hand here. I've enjoyed using Hemmingway in the past and it's great to see the engineering that goes into it.

Thanks for sharing again!