Ranter
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
Comments
-
My entire workflow is based on creating Domain Specific Frameworks, so that adding in and removing features is a breeze for my coworkers, but that only works if you know your "audience".
Also even if you do create a Framework for a specific set of applications you shouldn't reinvent the wheel, reuse tried and tested patterns so that 99% of devs can see at a glance what is happening.
Prioritize ease of use and explicidity in your framework so that people don't have to deal with "magic properties" and unknown/unplanned behaviour. Also for gods sake write descriptive comments, or even better, write clear and obvious code.
If you follow these guidelines then you can build a DSF without making it incompatible with other peoples code.
It's not the tools that are bad, it's the people that use them. -
hobblin2083y@EdoPhoenix writing a dsl or framework for your own code is perfectly fine, it's when you distribute it to others that you are adding to the world of hurt.
The problem with all code is that it's by and for people and people are limited. By utilizing and writing libraries instead of frameworks we can actually use humans tendency to compartmentalize stuff. -
@hobblin well you're clearly thinking of very opinionated frameworks, in a sense a library is just an unopinionated framework for doing a specific task.
Although you are right that heavily opinionated frameworks like laravel or react are a bane on our existence. -
hobblin2083y@EdoPhoenix well yes, and a motorcycle is just a very unopinonated car.
Libraries are building blocks, frameworks are frameworks. Trying to equate them to justify promoting frameworks seems a bit unreasonable tbh.
Related Rants
-
solooo714First class of Web development. Lecturer started class with "HTML is a programming language.."
-
balldk13I thought "Java" and "Javascript" are the same language at the first time I learnt programming 😂😂😂
-
Phonzi20-Some run marathons, I run Python -Some have energy drinks, I have Java -Some fight in MMA, I fight with CSS...
The more I work with programming languages the more i feel like it's a big mistake to build functionality into the language. Especially functionality to extend the language, we developers have no fucking clue of how to write DSL languages that interact well with other developers code. We can not deal with the power!
Keep languages simple and extensibility very restricted, domain functionality belongs in libraries.
Also #deathtoframeworks
rant
dsl
macros
programming language