this post was submitted on 26 Aug 2023
305 points (88.0% liked)
Linux
48035 readers
954 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
in programming, and in mathematics, it's always been weird to me that frequently paired variables are basically the most easily confused for one another pairs, especially when written quickly or sloppily.
exactly, this is so annoying. I don't know by first-hand experience, but I also think
p
andq
are confusing for dyslexic people.i knew i was forgetting some other common pairings, thank you. p/q and u/v always bugged me too.
u and v were so difficult for me to differentiate in handwriting. My handwriting is not that pretty and the difference between a round bottom and a sharp bottom is not that big when stressed in an exam.
Like in math: given are the vector fields u, nu and v and the normal vector n ...
I'm not dyslexic, but I always had to write P and Q capitalized on my truth tables to not absent-mindedly get them switched
Interesting footnote about p and q. You see them turn up on formal logic proofs (for philosophy)
When travelling in places where Latin script is not official (e.g. Middle East, Asia), I notice many mix-ups of
p
q
andb
. I always wondered how this would impact their ability to learn to program.I think your problem is with the alphabet, friend
the worst is when you have to deal with v and ν (greek “nu”). add in the wedge symbol ∨ and things can get painful.
i've never heard a better argument to disallow unicode in variable names.
another great argument against is the greek question mark, which lets you write the following beautiful loop:
for (int ;=0;;<∧;;++)
Why would you ever have to do that?
to make a contrived example on the internet
M as in mancy