logoalt Hacker News

kevincoxlast Monday at 5:20 PM2 repliesview on HN

Being able to program in languages that don't fit into ASCII is a good idea. Using one-character variable names is a bad idea.


Replies

RossBencinalast Monday at 9:44 PM

Mathematics is a language that doesn't fit into ASCII and commonly uses one-character variable names. If you are implementing a documented mathematical algorithm (i.e. one with a description in a paper or book) then sticking to the notation of the paper (i.e. using one character variable names) makes sense to me.

show 2 replies
adrianNlast Monday at 5:35 PM

Using variable names that are different but render (almost) the same can be a bad idea.