News for hackers. Stuff that matters.
Re:The Elm Architecture by jacquesm on Tuesday February 17, 2015 @09:33AM (#9062358)
I've programmed COBOL for a living back when it was still fashionable and I don't think it looks like COBOL at all, what specifically triggers your 'looks like' bit?
Re:The Elm Architecture by PaulHoule on Tuesday February 17, 2015 @09:44AM (#9062423)
The separate sections for data definitions, forms, etc.
Re:The Elm Architecture by jacquesm on Tuesday February 17, 2015 @09:48AM (#9062450)
Ah, the 'divisions'. Right, I see what you mean. Quite a few languages have such 'divisions', though they're not usually explicit. For instance, C code usually has a bunch of include statements at the top, followed by internal structure declarations followed by function definitions.

We don't name the sections there but they might as well have names (you can include a file in the middle of another but that's pretty bad form). Other languages are more formal (for instance Modula-2, Erlang, Ada). That's not a COBOL specific thing.

Re:The Elm Architecture by mod3rn0 on Tuesday February 17, 2015 @11:48AM (#9063247)
Those are just simple examples. If the code grows you can always split up the sections into different modules.