|
|
Log in / Subscribe / Register

Design before code

Design before code

Posted Aug 6, 2026 3:22 UTC (Thu) by neilbrown (subscriber, #359)
Parent article: FUSE status and plans

He suggested that designs be submitted to the mailing list before development begins; those designs could be discussed in the calls. Brauner said that he wished VFS developers would do that.

Was it Sun Tzu who first said "No design survives contact with the code" ??

Certainly that is my experience, but maybe I'm not a good designer. Possibly it is worth discussing goals and maybe some possible approaches to implementation, but I've never found the waterfall model particularly useful.

What sort of detail would be useful in a design proposal?


to post comments

Design before code

Posted Aug 6, 2026 17:57 UTC (Thu) by iabervon (subscriber, #722) [Link]

I think it's useful to get people's reactions to your first design before you write the code. You're going to have to change more things when you write the code, but neither talking to people nor writing the code is sufficient on its own to find all of the problems. Waterfall is bad in that you're locking down the design too soon, and completely avoiding writing code before getting feedback means that you don't really know what the issues are, but the real point is that you want to overlap different stages, not that the rough order of stages wasn't right. My policy is that, at the first design meeting, you pretend you haven't written any code yet, and only admit it if someone notices that you seem to know too much about what's wrong with the simplest alternative design.

Design before code

Posted Sep 8, 2026 14:49 UTC (Tue) by saffroy (guest, #43999) [Link]

A related quote:

No battle was ever won according to plan, but no battle was ever won without one. Plans are useless, but planning is indispensable.

-- Dwight D. Eisenhower

Designing is effectively planning, and as mentioned elsewhere, plans do not have to be set in stone, a design process can be iterative.

Also a plan/design often works at a higher level of abstraction, keeping minds focused on the bigger picture. Code matters, architecture too, and architecture can often be discussed separately from code.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds