This is about things people commonly argue about, especially more nerdy stuff (not about actual religion.) I've listed my opinions on these subjects on my about me page for a long time now; this page provides more detail. Some of these are things I have strong opinions about, others are just what I happen to use.
(I was going to link to a Wikipedia or Wiktionary article on this, but apparently there isn't one? This is the term that was used on the xkcd forums.)
(Context: This is about the proposal to define a new constant τ = 2π ≈ 6.28, and use that instead of π, removing factors of 2 and adding factors of ½ where necessary.)
The benefits of tau have been discussed elsewhere, but for me, I mostly use π or τ when talking about radians (mostly for passing numbers to the sine or cosine functions), and for that τ makes more sense to me.
A couple points against tau:
(Context: 00 is sometimes considered to be undefined, and other times considered to be 1.)
if statements that mathematicians have denied us for so long!(As someone who learned how to program before taking algebra, I'm used to if statements being both taught early and commonly used, and find it a bit weird that in math they're taught super late and considered to be weird special cases mostly used for counterexamples.)
(Context: Vim and Emacs are two text editors used from the terminal.)
It's what I use. Back when I was first learning about command-line stuff, I saw stuff about Vim and Emacs, and decided to learn how to use one of them. I don't remember how chose; I think it might have been just arbitrary. There are still some things I don't like about it, and I don't always use it in the most Vim-like way. I think I sometimes use hjkl (in spite of Dvorak), and sometimes arrow keys.
(Context: These are differences in formatting code that, in most programming languages, don't matter to the computer.)
For one thing, the character is there, and basically every text editor supports it, why not use it?
It separates formatting from semantics. A tab has a meaning (one indentation level), and that can be displayed differently by different editors. Ideally, we'd also have something like elastic tabstops for alignment, but since that's not widely supported, manually aligning with spaces will have to do. And since tabs can be different widths in different editors, alignment should not use tabs (which means editors should make it easy to treat a tab and eight spaces as different things).
(Also ideally we'd have syntax-aware line wrapping that isn't saved into the file, where editors can wrap to whatever width the window happens to be, like we can do with paragraphs of English text, but unfortunately that's also not widely supported.)
Also, tabs being a single character means that you can use backspace/delete to unindent one level, while being consistent about backspace/delete always deleting one character (and therefore not having weird issues where it sometimes doesn't do what I expect).
Specifically what I do is
class C {
void f() {
try {
if(someCondition ||
conditionHasMultipleLines) {
doSomething();
} else {
do {
doSomethingElse();
} while(condition);
}
} catch(Exception z) {
z.printStackTrace();
}
}
}
That is, I don't make any exception for starts of functions or multi-line conditions, and for statements that have another clause after the close brace, the clause goes on the same line as the closing brace.
It's what I started out doing (my very first programming language was a version of BASIC that put if…then on one line, and then is kind of like an opening brace, which might have possibly influenced things? I seem to remember some book I read a long time ago about C++ or Java suggesting one's previous programming language was a factor in that way).
It also uses up less vertical space (and I've mostly programmed on laptops, so that maybe makes more of a difference than for people who have larger monitors), and it means that the block header is visually grouped with the body rather than having a mostly-blank line in between. (Similar reason to why my website doesn't have a full line of space after headers: I like headers and bodies looking like they go together.)
if statements not to look like function calls, that's what syntax highlighting is for.) I haven't always been consistent about this in the past, but the thing that makes the most sense to me now is to omit the space if the parentheses are a necessary part of the syntactic construct (e.g., if, for, and while in languages like C, Java, JavaScript), and to include the space if the syntax expects an expression directly after the keyword and the parentheses are optional or for precedence (e.g., if and while in Python, or void and typeof in JavaScript)._r for recursive parts of functions).(Context: It's an alternate keyboard layout, designed to be easier to type with than QWERTY.)
It's what I use. I've used it since at least 2005, and that's probably when I started. There was a computer camp that I used to go to in the summer where we could learn things like programming or computer graphics or whatever for a week, and there were a few years where there was like an hour a day where we could choose some extra thing to do besides the main thing we were doing that week, and I'm pretty sure learning Dvorak was one of the options for that and I think that's where I first learned it.
I use the version where the numbers are the same as QWERTY (12345…), not the programmer variant.
I'm not sure if my typing speed increased or decreased (I had already learned to touch type QWERTY pretty well by the time I started learning), and it's been so long since I've used QWERTY much that it's probably too late to measure it. I did notice that it seemed a bit more comforable to type.
Every so often I see people talk about such-and-such a study supporting Dvorak has been debunked, and I don't really care. I usually wasn't even aware of the study in the first place, and I didn't choose it because of any studies (just the fact that someone put some amount of thought into making it was sufficient).
Every keyboard I've used has been labeled with QWERTY, so the letters that I type don't match what's printed, and I'm just used to that. (When I started, I wasn't aware that keyboards printed with Dvorak existed (maybe they didn't), and all of my recent computers have been laptops.)
Currently on phone I use QWERTY, and seem to have some muscle memory for that. (I don't think Dvorak was an option when I started using smartphones.) I do have Dvorak enabled as an option I can switch to, and I've tried it at some point.
(Context: Hydrocity Zone is the second area in the game Sonic the Hedgehog 3, and also appears in Sonic Mania. The name of the level is shown on-screen, but neither game has the name of the zone spoken out loud.)
Hydro- is usually a prefix. -ocity isn't quite a suffix, but -ity is, and there are enough words that happen to have -oc- before that suffix for -ocity to feel suffix-ish. Also, Hydrocity Zone doesn't really look like a city, it's written without a space, and there are a few other zones with made-up words as their names (e.g. Sandopolis). Therefore, interpreting Hydrocity as a single word makes sense. The -ity suffix usually causes the vowel before it to be stressed, which in this case would be the o.
(Possible compromise: the Hydrocity water park is located in the city of Hydro City.)
Also, my interpretation of Bubble Lead (from Mega Man 2, another thing with debated pronunciation) is that it's both (they are bubbles made of lead that lead you in one of the Wily Castle stages).
Both sides are wrong, because everyone seemed to think that it's impossible to see the blue tint of the white part or the brownish/goldish tint of the black part, whereas to me it's obvious just by looking at it (it looks ambiguous to me). I don't need to cover up parts of the image or anything to see it (it's not like the checkerboard shadow illusion).
My first thought was actually white-and-gold, with the dress being in a (bluer) shadow that the background wasn't in, because I misinterpreted what the background was when I first saw it; I thought it was taken outside in the shade, like on a covered porch or something, and I thought that what I now know to be a mirror was stuff further outside in the sun. But later it became harder to see it as anything other than the brown and periwinkle of the actual pixels, and now the black looks more black (though the blue still doesn't look like the dark blue of the actual dress).
(I was first introduced to it through the xkcd comic that shows it with the background cropped out; not sure if that had any effect. Also I suspect my eyes don't adapt to white balance as much as most people's, which might be relevant.)
I'm less okay with virii because us → ii is not a standard pluralization pattern. Yes, there are plurals that happen to end in ii, like radii, but that's because there's an i just before the suffix. It's radi + us to radi + i, the plural suffix is still just i. It's not virius, so it's not virii, it's viri, which I would be perfectly fine with (in spite of it not being true to the original Latin).
(From the Wikipedia article on Latin declension, it looks like there are slight differences in the declension of -ius words, so perhaps -ii could be considered the suffix in Latin, but it's still not -us → -ii.)
(Context: Oxford comma is where lists like "apples, oranges, and pears" have a comma before the and.)
I think this one is just mostly what I'm used to. It also feels more consistent to me in that there are commas between each list element, rather than the last one being an exception.
I would like to point out that both options have opportunities for ambiguity:
It's what I started out doing, it gives more visual separation between sentences, and the arguments against it don't make sense:
Using two spaces also allows me to only use one space to indicate that a normally sentence-ending punctuation mark isn't actually the end of a sentence (why would I want to do that? well, why not?).
HTML collapses whitespace. I used to just accept that (and include two spaces in the source code, even though it doesn't show up), but I've figured out a workaround, and applied it to any page I've touched recently.