In programming world we are working with logic. Everything relies on it, it's a fundamental part of computers.
If we do 3+4
we always expect to get 7
. Call to createDatabase
shall not destroy database. As experience grows developer grasps more and more concepts and approaches because of the past experience and logic. It's very important part of programming ecosystem which helps to grow skill set without getting another Masters degree or attending classes/courses
People ended up with very common concepts and gave them names - algorithms, design patterns, data types, naming conventions.