i love "hello world." ??
i love programs (especially hello world). ??
i love "hello world." ??
i love programs (especially hello world). ??
Besides apostrophes, commas, and question marks, I have always considered special punctuation as a kind of cheat. If you're using special punctuation, there is almost always a more eloquent way of articulating your sentence/thought.
One exercise I have employed, when organizing my writing, has been to write without punctuation and in lines, every thought on a new line. Like a poem. Punctuation is essentially there to separate these thoughts, so you can start by adding the periods, then arranging your thoughts into a paragraph.
Use of special punctuation, in my opinion, is mostly a means of controlling rhythm. And the ability to ease into the rhythm of writing is largely dependent on a reader's, or writer's, familiarity with the language.
So, I would focus on periods and commas first, until you have a good familiarity with the language. That is my advice to you.
Thank you. You've just fixed my writing style. I owe you a large drink.
(No, seriously. I use semi-colons, colons and em-dashes -- pretentious and pedantic though they be; fun though it be to be better educated than my audience -- entirely too often: see? With the above quotation in my arsenal, I shall cease forthwith. Consider me indebted to you for any clarity I may thus gain.)
Remark 1: "sentence/thought" contains "special punctuation" and is indeed improved by substituting "sentence or thought".
Remark 2: my parenthesis-removal rule turns out not to work very well for programming :-).
Which is fitting, since I consider the use of special punctuation a cheat. I don't hold myself above cheating all the time, and I did cheat. It helps to save time, since a single paragraph can be refined endlessly.
You have to have flexible standards.
When I try to eliminate parentheses and similar parentheticals, I write separate sentences if possible.
I was trying to jump off from your solution to reducing parentheses, to say how I handle the same problem.
In an informal setting like this, I see no problem at all with casual or bumpy grammar.
My apologies, I should have included the text of your points in the quote.
This is why everyone should learn Python.
void func(x) { if (a == b) { do(c); do(d); } else{ do(e); } } vs:
def func(x): if a == b: do(c) do(d) else: do(e)
void func(int x) { if (a==b) do(c),do(d); else do(e); }
Haskell has it right. And Scheme and Forth of course.
Use of parens in writing is akin to calling a subroutine in code; you're making something of a detour, but coming right back.
As in writing, I found that if a method is getting busy trying to express many different things then I need to break it up.
But I also use "they" as a first person singular gender-neutral pronoun: I don't know the author of that article, but they certainly did a good job. I guess I'm a grammatical progressive.