4 ms·
On a side note: Why do you quote """this way"""?
by moccajoghurt 13y ago
On a side note: Why do you quote """this way"""?
- Pxtl 13y agoPython habits, I assume.
- pekk 13y agoWhile it's not necessary, it distinguishes quotes from within the text you pasted from the quotes you are using to encapsulate the whole text.
- wavefunction 13y agoDouble and single quotation marks not good enough? Maybe y'all should have paid more attention in humanities courses.
- BlackDeath3 13y agoIt's another way of accomplishing the same thing! What does it matter? I don't head down to the Deep South (United States) and make fun of people for their Southern accents, asking them why my own habitual way of speaking isn't "good enough" for them. It's the way they talk, and it works. Talk about pretentious.
- wavefunction 13y ago>>Talk about pretentious. Yes, let's talk about pretentiousness. Like the pretentiousness involved in ignoring existing grammar structures that are accepted by everyone in favor of whatever you think works and then expect everyone else to conform your unique usage. Take a good long look at yourself.
- BlackDeath3 13y agoSo ruthlessly conform to the status quo(te), or be pretentious? Call me pretentious. Though the intent of the quoting style may have been unclear before it was explained, I now understand the utility. Would double-quotes have worked just fine? Probably. But so did todayiamme's method. Does it offer anything over double-quotes? Maybe not. But why shit on the guy because he did something differently than most other people would have? The guy didn't ask you or anybody else to approve of or make use of his own style. If it's so offensive to you, don't read it. In this case, it just doesn't matter. It really doesn't.
- todayiamme 13y agoI got the idea from python and I use repeating double quotes ( " ) or chevrons ( > ) to demarcate the quoted text without spoiling the quotes within the text. It just feels cleaner in a way.
- nether 13y agoThe pretentiousness of HN amazes me. It's incorrect syntax, mind you; Python isn't English.
- deleted 13y ago[deleted]
- chronic25 13y agoYou have further proven his point.'
- BlackDeath3 13y agoI'm not sure if your "pretentious" comment was directed at todayiamme or not. If so: If the idea of triple-quotes holds utility, what does it matter if it's "improper syntax" or not? I find your need to squabble over quotation styles pretentious.
- sabbatic13 13y agoWell, I think the idea that one can deform natural language at will to conform to usage in code, and that this is somehow analytically superior is what strikes people as pretentious. Natural language is rather more complex than artificial language. The inability to understand what rules it has and deal with its ambiguities is simply a failure. I don't personally care, unless it's in a context where the expectation is that the language will be, well, "normal." I just thought I'd tease out what I think is being the criticism. In any event, this is a matter of punctuation, not syntax. As for nesting quotations, you want to alternate between single and double quotation marks. It's pretty rare that we go beyond two levels of nested direct quotations in English, so it's rarely ambiguous.