KHEN CAHYO

Just Fckng Use Existing Libraries

Nov 20, 2026 • BY Khen Cahyo

Just Fckng Use Existing Libraries

This experience is based on my personal experience when the project used Laravel, and after discussing it with one of the people on my team he also said “It’s rubbish”.

Just Fckng Use Existing Libraries

Many developers insist on using old code patterns they know and making them manual, citing “It’ll be faster”, “It’ll be more structured”, and other damn reasons, which in the end? Yes the code pattern they created actually confused the other developers on the team, and they said “What kind of code pattern is this dammit?”.

This experience is based on my personal experience when the project used Laravel, and after discussing it with one of the people on my team he also said “It’s rubbish”. They use a modular pattern for the project folder structure, but I think it’s the most trashy modular pattern I’ve ever seen (in fact the folder structure doesn’t reflect the use of the modular pattern at all), they override everything that Laravel provides and can easily be used by their trash code. Why don’t they use off-the-shelf modular pattern packages like nWidart modular? Or why don’t they utilize Livewire instead of using AJAX and JS DOM for the damn element manipulation, so that we have to know what the id of such and such an element is, and we have to make sure that every element id throughout our project must not be the same, why don’t you take advantage of Laravel’s routing but instead take advantage of hiding elements with DOM manipulation in a route? What kind of damn thing is this?

The point here is not to criticize the code you write, write your own code, put your thoughts into code, but please also think about how well your code can be read by the team, how well your folder structure can be understood by the team, and other considerations.

I think, instead of creating something manually, if there is a package that can help use that package, instead of forcing them to code it manually and then your code ends up looking like garbage. If you think that a package will hinder your application’s performance or some other garbage reason on your part, didn’t the package developers think that too dammit? Thank you for reading this useless text.

CONTACT

Let's connect