0

files

Why are files important in programing languages? If you want to store something is better to use a file rather than a database?

26th Jun 2020, 8:18 PM
tibi
tibi - avatar
2 Answers
+ 2
There are some things, which are preferred to be stored in files, like e.g. configuration. You need files for in- and output of various applications, just think of contracts e.g. You store your thesis within a file. Databases in fact are files, if you look at it as a more or less structured information stored in filesystem. It's all about files, if you want more than a simple calculation.
26th Jun 2020, 8:34 PM
Sandra Meyer
Sandra Meyer - avatar
+ 2
Files are just one of way of saving data, database are another. Files are easy because the file-system is already there. Database are better in de long run. I do not favor one above the other
26th Jun 2020, 8:38 PM
sneeze
sneeze - avatar