Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API

From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Tried Cursor. It's "Agent" thing have given me the whole new appreciation for my existing codebase. For how every line of code and every micro-decision I make is deliberate. Though it did it in the worst way possible — by "optimizing" my code that I didn't request to be optimized.
I feel like I delegated a surgeon's work to a lawnmower roomba. Yes, both of them do cut stuff, but are they interchangeable?
Cursor's autocomplete is stellar though. Because of how consistent my code is, it almost never fails. It baffles me that the codebase that is consistent enough for the AI autocomplete to never fail somehow causes the same AI, but acting as an agent instead, to completely shit the bed.
My code is consistent because I copy and paste a lot. But, because of how expressive it is (thanks to my zero-framework approach), I only ever need to copy and paste ten lines or so max to do what I need. When I say that I "copy and paste code", what comes to mind? I bet it's acres of boilerplate. Not here.
I'm now applying Orwellian newspeak rules to my naming. For a distinct entity, I create the shortest possible name and try to carry it everywhere I go. Yes, short names will run out, but naming entities differently to avoid conflicts is the job for future me. Premature optimization is the root of all evil, and thinking about variable names in advance is premature optimization too.
For example, if the user entity in the database has lastName field, its variable in imperative code will be the same, and the form input name will be lastName too. Why use "userLastName" and "lastNameInput" or "lastNameField", or even "userLastNameField"? YAGNI.
I'm inching closer and closer to a universal gray goo architecture that can absorb anything. Wait till I replace what I copy and paste with brand new keywords and create a new language. I've already started doing that with the way I write util functions.
random