Delicious flat che^H^H^Hfiles (30)

1 Name: #!/usr/bin/anonymous : 2006-12-02 10:33 ID:SeI56d3E

I was wondering, does anyone here have anything interesting to say about flat files for data storage ? Recommended reading, tips, tricks and advanced concepts...

You see, I'm not a big fan of relational databases. I do understand them very well, actually I pay my bills by working on a quite big database application, it's just that I like the simplicity and beauty of flat files. And real men don't need DBMS anyway. OK, let's not talk about RDBMS.

Say, which markup language / data serialization format do you like ? Have you used xattrs in any project ?

9 Name: #!/usr/bin/anonymous : 2006-12-04 12:58 ID:Heaven

>>8

All of that is hard, but: None of that is really necessary.

Hypothesis: Proper modularization and abstraction actually causes feature bloat, by making new features too easy to add.

10 Name: #!/usr/bin/anonymous : 2006-12-04 14:45 ID:KyqYGJQS

Counterpoint: modularization only appears to lead to code bloat because adding features "because they might be needed in the future, although I know of no plan to do so" is so seductive in comparison to doing actual work.

11 Name: #!/usr/bin/anonymous : 2006-12-04 16:21 ID:oUxukLrR

Feature bloat: Who cares? If a feature sucks and nobody uses it, just take the damn thing out again. Life's too short to agonize over these things.

12 Name: #!/usr/bin/anonymous : 2006-12-04 22:06 ID:Heaven

>>10

I'm not sure how that means it only appears to lead to feature bloat. You seem to be agreeing with what I said.

>>11

That's not how feature bloat works.

13 Name: #!/usr/bin/anonymous : 2006-12-05 02:42 ID:oUxukLrR

>>12
Do you mean to say that's not how you work, i.e., you can't bear to remove a useless feature, thinking it might be needed in the future?

If so, use version control. That way the old code is always in svn or darcs or whatever if you change your mind.

14 Name: #!/usr/bin/anonymous : 2006-12-05 14:12 ID:Heaven

>>13

No, feature bloat is not about useless features. It's about adding features that somebody wants, to the point where the program becomes less usable because there are so many special-purpose features. If it was just removing things nobody uses, it wouldn't be a problem.

15 Name: #!/usr/bin/anonymous : 2006-12-05 17:52 ID:/lRkt3Yv

>>12
My point is that modularization leading to bloat is more a matter of lacking discipline on the part of the programmer(s) or rather the designer(s), and not of modularization itself.

16 Name: #!/usr/bin/anonymous : 2006-12-05 19:55 ID:oUxukLrR

>>15
There you go. Agreed.

17 Name: #!/usr/bin/anonymous : 2006-12-06 02:15 ID:Heaven

>>15

With perfect discipline and insight, there'd never be a problem. That part is not really interesting. The point is, modularization and abstraction creates the temptation for feature bloat.

This thread has been closed. You cannot post in this thread any longer.