News for hackers. Stuff that matters.
Re:The Forth Methodology of Charles Moore by thesuperbigfrog on Friday July 12, 2024 @08:55AM (#40945099)
Most of Moore's Forth methodology comes down to extracting the optimal solution by:

    1.  Iterating your understanding until you have the deep core of the problem.
    2.  Experimenting with possible solutions until you find the best approach.
    3.  Not coding the final production code until the first two steps are met.  (Maybe this is a variant of Fred Brook's "Plan to Throw One Away"?  see https://course.ccs.neu.edu/cs5500f14/Notes/Prototyping1/planToThrowOneAway.html)
    4.  Writing code and documentation that is simple, direct, and easy-to-understand.
Re:The Forth Methodology of Charles Moore by nine_k on Friday July 12, 2024 @09:24AM (#40945351)
This works well when the problem.stays the same for long enough, and you're not in a particular hurry. Good for radio telescope control (the original application of Forth), good for spacecraft design (some of Moore's CPUs have flown in space). Harder in a typical business setting, alas.
Re:The Forth Methodology of Charles Moore by coliveira on Friday July 12, 2024 @12:07PM (#40946839)
What you're saying is completely right after you realize that the problem with business software is not the software side, it is the illogical requirements of businesses. The issue is that different parts of the businesses throw requirements that are contradictory and generate unmaintainable systems in the long run. Thus the need to constantly rewrite and patch. In an "enterprise" setting, you don't want a solution oriented language, you want a language that can be twisted to produce whatever the business wants in a short period of time.
Re:The Forth Methodology of Charles Moore by bitwize on Friday July 12, 2024 @12:52PM (#40947268)
The problem with business requirements is that there are no systems analysts anymore; that work has largely been given to programmers. A systems analyst could determine what information each part of the business needs and what information it can provide to whom. With that information in hand, designing an information system becomes a relatively straightforward process; programming it even more so.

The way we do things today is basically guesswork. Which suits programmers just fine, as it lets them write a lot of code. But that's not the best of all possible worlds, only the default world.

Re:The Forth Methodology of Charles Moore by coliveira on Friday July 12, 2024 @03:16PM (#40948534)
Everything that involves planning and long term thinking has been eliminated from modern businesses, under the guise of "fast iteration", "just-in-time", or whatever new name they find. It's not a software-only phenomenon.
Re:The Forth Methodology of Charles Moore by exe34 on Saturday July 13, 2024 @09:10AM (#40953913)
the problem is that the requirements take 6 months to elucidate from the incoherent ramblings of the users, and by the time you've figured it out, the business has moved on and has new and incompatible requirements. so your software is late, doesn't meet the requirements and doesn't even work.
Re:The Forth Methodology of Charles Moore by bitwize on Saturday July 13, 2024 @01:01PM (#40955241)
> the problem is that the requirements take 6 months to elucidate from the incoherent ramblings of the users

This is really only an issue if you appoint programmers to serve as systems analysts. Sadly, this is all too common among businesses today.

Remember, programmers are detailists who must speak the language of the computer, and do not see the big picture, only one small part of a much bigger puzzle. A good systems analyst is a generalist who understands the business and can empathize with the users. They have strong communication skills, and can take a big-picture perspective and articulate their perspective and solutions clearly to management. They most certainly would not dismiss user requests and complaints as "incoherent ramblings". Programming and systems analysis are separate professions that require vastly different personality types, with the consequence that programmers make very poor systems analysts.

Re:The Forth Methodology of Charles Moore by exe34 on Saturday July 13, 2024 @01:54PM (#40955607)
> and by the time you've figured it out, the business has moved on and has new and incompatible requirements. so your software is late, doesn't meet the requirements and doesn't even work.

There's a reason we don't have them anymore.

Re:The Forth Methodology of Charles Moore by bitwize on Saturday July 13, 2024 @08:24PM (#40957925)
You're putting the cart before the horse.

Again, gathering requirements is a time-consuming and confusing process, making the software late and often wrong, because most companies assign programmers to the systems analysis process, not people skilled in actual systems analysis. A good systems analyst has the empathy and high-level insight it takes to understand the existing business systems and the true needs of the users, and design a new system to better meet those needs -- traits sorely lacking in programmers. Note that a business system is not the same as software. It incorporates all of the procedures, whether performed by humans or machine, necessary for business operations.

As a consequence, we tend to declare that nothing can be done about gathering requirements and implement "Agile" methodologies, which are nothing more than institutionalized guesswork: in the words of Milt Bryce, "do a superficial feasibility study, do some quick and dirty systems design, spend a lot of time in programming, install prematurely so you can irritate the users sooner, and then keep working on it till you get something accomplished." And the software is still late and wrong!

Re:The Forth Methodology of Charles Moore by agumonkey on Friday July 12, 2024 @09:07AM (#40945193)
someone online mentioned(i'll link if i find it again) a quote similar to this, something like that:

    - go crazy in understanding the problem
    - break it in small words
    - repeat above steps until it's easy to write in forth
Re:The Forth Methodology of Charles Moore by sitkack on Friday July 12, 2024 @04:18PM (#40949030)
Charles Moore definitely believes in modifying the original problem so that it fits forth while he modifies forth to fit the problem.

I have used a similar approach when I needed to get a PoC out in 6 weeks, we made it, but not without drastically modifying "the spec". In one instance the PM wanted continuous queries over geospatial data, millions of points and arbitrary locations along with a time dimension. I changed the spec to use 3 buckets, near, medium and far. That feature took 2 hours, the continuous query itself would have taken weeks or longer.

Successful projects have a malleability to them.

Re:The Forth Methodology of Charles Moore by agumonkey on Friday July 12, 2024 @07:09PM (#40950297)
> Charles Moore definitely believes in modifying the original problem so that it fits forth while he modifies forth to fit the problem.

This philosophy is often described by 80s lispers. They're not top-down nor bottom-up.. they lie in the middle. Trying to make a comfy intermediate layer so they can experiment various upper layers to fit the problem and adjust if rapidly in case of changes. Similar to IR in compilers I guess.