Convention over configuration
is a dogma touted in the ruby and rails ecosystem. What does this mean??
Often when working with rails you find that a lot of the libraries focus on building in line with the Rails conventions. This is great! Makes it easier to get up to speed with new libraries in Ruby/Rails.
But now we have LLMs. And while LLMs are great they tend to provide code that doesn't always follow convention. Not always, but it happens.
I read this post for the contribution policy on AI for the Ash Framework in Elixir and it got me thinking. With RAG(Retrieval augemnted generation) trying to control(somewhat) the results AI gives us, does that not mean that systems with built convention would tend to be more correct than those without? Especially because all the code these LLMs would be trained on would have (for the most part) followed convention?
I think that the Rails community was onto something with convention over configuration, not even because of AI. But because it helps developers understand code faster. That AI would learn from this would be a great boon.
What do you think?
Top comments (0)