top | item 25134706

(no title)

krzepah | 5 years ago

Programmers write code. Good programmers think about data movement

discuss

order

sbergot|5 years ago

Good programmers know how to "grow" software. Starting with the right level of simplicity, and adding complexity when needed.

krzepah|5 years ago

Honestly in the real world you would generally already know if the need expressed is meant to be a web service (for instance) and if it requires a database - and in those cases, most framework already propose an sqlite / fully-fleged database in the same code.

If we already know that a database might be required later then using something like sqlite straight is smart move that would allow you to write code that is instantly going to work when you actually need something fully fledged instead of re-writing it.

Knowing if you need a database or not is simply one of the first things you know, and writing code before setting that up is a waste of time or a learning process.