News for hackers. Stuff that matters.
Re:Green vs. Brown Programming Languages by thebrainkid on Thursday April 22, 2021 @11:08AM (#26903603)
Could you recommend any open source projects which demonstrate good code UX as you describe? I would like to read through some such source code.
Re:Green vs. Brown Programming Languages by hmsimha on Thursday April 22, 2021 @11:19AM (#26903720)
Not OP, but I would recommend backboneJS[1] or underscore[2]:

  [1]https://backbonejs.org/docs/backbone.html
  [2]https://underscorejs.org/docs/underscore-esm.html
Re:Green vs. Brown Programming Languages by Too on Saturday April 24, 2021 @01:32AM (#26922507)
The .NET framework is fantastic at this, you don't even need the underlying code, usually just the function signatures and Visual Studio autocompletion allows you to guess your way into finding the right classes and functions. Everything has long descriptive names (without the AbstractProxyFactory bloat from Java), follows conventions, arranged in a logical hierarchy and ample documentation available in intellisense.
Re:Green vs. Brown Programming Languages by ed25519FUUU on Thursday April 22, 2021 @11:18AM (#26903708)
I’m willing to bet that descriptive names is a red herring, and the real difference in code quality were engineers who cared enough to review for such things.
Re:Green vs. Brown Programming Languages by obviouslynotme on Thursday April 22, 2021 @05:13PM (#26908274)
Having worked on a pre-Fortran77 code base, names are a big fucking deal. Half the code was written before variable names could be longer than six characters.

The pendulum is swinging back from the overreaction to that, Java's famous AbstractSingletonProxyFactoryBean. As awful as that name is, I will take it any day over L(IH+GV).