Why you can't type as much as you want on some social media sites

Why you can't type as much as you want on some social media sites

A lot of people struggle with platforms that restrict the amount of content they can write, microblogging platforms. While we all understand that word economy is important there are also times when we'd like to be verbose. I personally struggle with this a lot as I access LinkedIn and Twitter on the web of which there's no character counter to keep you on track. I end up trimming or rewriting the same post from scratch.

Before journeying into software engineering I would mostly fantasize about how hard it is to be able to moderate how much content people can type in one post. Turns out it's easier than I imagine. The number of characters you can type is simply written in two places; in the code that's used to display the frontend (what we can see when we log into these platforms) and in the database side of things (which is where all our information is stored). This means even if you trick the browser or app, you most certainly won't be able to trick the database. One line of code is all it takes to limit how much you can write.