I've seen the recommendation that programmers try making a text editor a few times and I have no doubt it's a good project. However, I came across an article on Hacker News not so long ago that...
I've seen the recommendation that programmers try making a text editor a few times and I have no doubt it's a good project. However, I came across an article on Hacker News not so long ago that revealed just how complex working with text is: Text Rendering Hates You.
While searching for the above article, I came across a followup someone else wrote that's also very relevant: Text Editing Hates You Too.
It's probably no surprise that bidirectional text makes things complicated, but even relatively common cursor movement that we don't think about when we use it can be fairly tricky under the hood.
I've seen the recommendation that programmers try making a text editor a few times and I have no doubt it's a good project. However, I came across an article on Hacker News not so long ago that revealed just how complex working with text is: Text Rendering Hates You.
While searching for the above article, I came across a followup someone else wrote that's also very relevant: Text Editing Hates You Too.
It's probably no surprise that bidirectional text makes things complicated, but even relatively common cursor movement that we don't think about when we use it can be fairly tricky under the hood.
A cool site that has some really good suggestions for some side projects if you are having a hard time coming up with one.