3 ms·
> At the code level, that's parameters in a library function Sure, so you keep adding more parameters to the library function and then pretty soon you can’t re
by cortesoft 5y ago
> At the code level, that's parameters in a library function
Sure, so you keep adding more parameters to the library function and then pretty soon you can’t remember all the parameters so you have to look them up every time you want to invoke it from your code… which is exactly the perfect use case for AI like this to help you remember the correct parameters to call.
- ipaddr 5y agoAI can make you write horrible code if you ask it to. Don't keep adding parameters endlessly and use the AI to somehow make sense of it. But what you want is: Dependary injection.
- JetSpiegel 5y agoIt's turtles all the way down. Write another library with the original library as a dependency.