News for hackers. Stuff that matters.
Re:Practical Go: Real-world advice for writing maintainable ... by Roboprog on Thursday February 21, 2019 @06:07PM (#19221509)
A bit of our “heritage” in programming destroyed by the C family of programming languages

Pascal, like Algol, had nested subroutines for decomposing longer operations without leaking the details.

Nested functions is one of the things I like about JavaScript as well.

Re:Practical Go: Real-world advice for writing maintainable ... by Someone on Thursday February 21, 2019 @07:35PM (#19222051)
C has static functions for decomposinglo ger operations without leaking the details.

For better or for worse, taking advantage of that forces you to keep source files fairly short and cohesive in functionality.

Re:Practical Go: Real-world advice for writing maintainable ... by int_19h on Thursday February 21, 2019 @11:02PM (#19223022)
You are still leaking the details of the function that is the sole caller of those other functions. It's not leaking across translation unit boundary, but it's not the only one that matters.
Re:Practical Go: Real-world advice for writing maintainable ... by pjmlp on Friday February 22, 2019 @01:24AM (#19223547)
ML derived languages, Julia, D and C# support them.