News for hackers. Stuff that matters.
Re:The Namingless Programming Language by paldepind2 on Monday February 19, 2024 @01:36AM (#39426776)
I know that this is mostly for fun, and it looks cool. But on a serious note, as someone who's dabbled in both J, stack languages (Forth and Factor), as well as tacit programming in Haskell, I'll say that naming is an awesome way of making programs more readable.

Trying hard to avoid names (by, say, eta reduction in Haskell) is a fun excercise that rarely leads to more understandable programs.

Re:The Namingless Programming Language by otikik on Monday February 19, 2024 @04:08AM (#39427561)
I think it is not just "a way" of making programs readable, but that it is the main readability factor. Good names make a program readable, bad names ones do the opposite.

Almost all time spent improving names is worth it. The only exception might be one-off scripts.

Re:The Namingless Programming Language by alimw on Monday February 19, 2024 @05:25AM (#39428028)
> The only exception might be one-off scripts.

Agreed, but if you're writing in J, Forth or Factor then it's hardly likely to make it into production anyway.

Re:The Namingless Programming Language by themoonisachees on Monday February 19, 2024 @07:06AM (#39428884)
Counterpoint: all of my one-off scripts (well, not all) have not actually been one-off.
Re:The Namingless Programming Language by thedanbob on Monday February 19, 2024 @11:47AM (#39431858)
I did not fully appreciate this until I had to edit a script written by a non-English speaker. It was absolutely incomprehensible until I ran all the variable names through Google translate. After that, piece of cake.
Re:The Namingless Programming Language by gregfjohnson on Monday February 19, 2024 @01:00PM (#39432714)
Completely agree. Reading another engineer's code recently, which had egregiously bad names, the following thought occurred to me: Writing software is like writing poetry. Finding the words that perfectly capture and express the essence of your thinking and the underlying model or theory behind your code is so important. In software as in poetry, one is always on the lookout for that "mot juste".
Re:The Namingless Programming Language by pyrale on Monday February 19, 2024 @03:15AM (#39427262)
Agreed, and when it comes to Haskell, hlint pushing eta reduction like it's candy doesn't help.