Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.
Hope you enjoy the instance!
Follow the wormhole through a path of communities !webdev@programming.dev
They say they they wrote it in 10k lines, while twitter was 1M, but are they including all the packages they’re using (assuming that they are)? Like I can say I built a website with 100 lines, but in reality if you compile all the packages I’m using it’s a shit ton more than that.
Just a lazy thought out loud. Idk I’m probably being dumb
Not a package but a service or framework dependency:
Yeah, BRB, moving 90% of my codebase into an “external” library
My app was written in one line: yarn run dev.
Not dumb at all and it’s kinda annoying when people brag about LoC.
The second bullet point explains it. The whole point is not about building a Twitter clone, it’s about how the framework they are selling enables building highly-scalable apps with much less code required.
So, in this case, the LoC really is the point