Live data from Hacker News

“I just chose words carefully”

unsung.aresluna.org

181–190 of 372 posts

Re: “I just chose words carefully”

#181

In programming certain word choices are valuable in this way. It's sad that pairs like true/false, good/bad, first/rest, and left/right are unequal length. But there are nice pairs like old/new, head/tail, fast/slow, same/diff, and right/wrong, which can help with create natural vertical alignment throughout a function.

> old/new, head/tail, fast/slow, same/diff, and right/wrong

also some abbreviations work fine:

    min
    max

    row
    col

    beg (vs start)
    end

    key
    val

    src
    dst

    pos
    len
and we have

    public_key
    secret_key (vs private)

    from
    till

    push
    pull

    load
    save

    init
    done

    inner
    outer
-----

and if you speak Norwegian you have two options:

    ja    yes
    no    nei
but that may trigger a different kind of OCD :-)

Re: “I just chose words carefully”

#183

In programming certain word choices are valuable in this way. It's sad that pairs like true/false, good/bad, first/rest, and left/right are unequal length. But there are nice pairs like old/new, head/tail, fast/slow, same/diff, and right/wrong, which can help with create natural vertical alignment throughout a function.

I wonder if that was part of the reason that some programming languages use constructs like "if / fi" "do / od" etc.

(Note: After writing the above, I checked with ChatGPT, it claims that the main motivation was to make it unambiguous which which "opening word" a "closing word" belonged to.)

Re: “I just chose words carefully”

#184

In programming certain word choices are valuable in this way. It's sad that pairs like true/false, good/bad, first/rest, and left/right are unequal length. But there are nice pairs like old/new, head/tail, fast/slow, same/diff, and right/wrong, which can help with create natural vertical alignment throughout a function.

There's only two things I hate in this world: people who do column alignment for vars and function params, and the Dutch.

Re: “I just chose words carefully”

#185

Earlier quoted context omitted.

Forming every paragraph of dialog into perfect rectangles is way more extreme than just avoiding "widows". The usual term for this is "full justification" and typographically when it's done it's typically through word spacing and letter spacing. Full justification in monospace through word choice (which is what the Ares Luna article is about) is bonkers, but I can't see that happening for TV dialog. I've sometimes he…

Widows are when the final line of a paragraph starts the next page. Orphans are when the first line of a paragraph ends a page.

You will have to explain what a page is to the younger readers.

Re: “I just chose words carefully”

#186
post #2

There's a similar anecdote Gillian Anderson recently revealed during an interview on the X-Files , saying Chris Carter had an OCD-like habit to write dialog to conform to certain text layout preferences (no widows[1]) in the script, which made for the show's distinctive style of dialog cadence. 1 = https://en.wikipedia.org/wiki/Widows_and_orphans

Here is the interview where she mentions it, with the correct timestamp, backed-up just enough to give it context. https://youtu.be/d3bCel607lQ?t=1162

A bit weird to observe how the facade cracks when they're talking about it.

Maybe I'm wrong but the whole thing felt very weird to me. Can't put my finger on it.. I want to say immature, but it's probably just unempathetic. I think my brain reached out for "immature" because I saw a lot of it among the "popular" kids at school.

Re: “I just chose words carefully”

#187
post #2

There's a similar anecdote Gillian Anderson recently revealed during an interview on the X-Files , saying Chris Carter had an OCD-like habit to write dialog to conform to certain text layout preferences (no widows[1]) in the script, which made for the show's distinctive style of dialog cadence. 1 = https://en.wikipedia.org/wiki/Widows_and_orphans

I'm also reminded of how David Milch supposedly wrote a lot of Deadwood in iambic pentameter. I only learned about this after seeing the show, but I did pick up the "Shakespearean" feel of some of the dialogue. Constraints often force creativity.

Interesting claim.

  ELLSWORTH (CONT'D)
  I tell you what -- I may have fucked
  ~~ life up flatter"n hammered shit,
  but I stand before you today
  beholden to no human cocksucker
  and working a paying fucking gold
  claim -- and not the U.S. Government
  saying I'm trespassing or the savage
  fucking Red Man himself or any of
  these other limber-dick cocksuckers
  passing themselves off as
  prospectors had better try to stop
  me.
I can’t hear it, although it certainly has certain rhythm to it (like any good dialogue does). Iambic rhythm however is so typical to English that you can kinda force most dialogue into it? I also believe writers make these rules to brake them the first change they get. Or perhaps I couldn’t find it skimming the pilot script: https://assets.scriptslug.com/live/pdf/scripts/deadwood-101-...

Re: “I just chose words carefully”

#188

Earlier quoted context omitted.

Yep, any concern about text widows and orphans in modern app layouts becomes irrelevant as soon as you have to localize. Just build your layout so it can squash/stretch appropriately.

Or if you're really insane, localize the entire UI.

Is that insane? Every game[0][1] I ever helped ship has had fully localized UI. In game development that seems to be the standard way of doing things. And it requires a lot of testing and sometimes comes with workflows to automatically test that all strings fit their intended box.

[0] Before I worked on game development I actually worked in virtual surgery simulation, and there we also had a localized UI with a very large number of supported languages and tooling to detect issues.

[1] Need For Speed (2015), NFS: Payback, NFS: Heat, Lost in Random, Wavetale

Re: “I just chose words carefully”

#189
post #76
post #47

Earlier quoted context omitted.

Should be missels then?

Let's settle the argument by all agreeing on mussels instead, and enjoy a nice seafood dish with garlic and a white wine sauce. Delicious.

A well renown dish in Belgium's capital.

To best be enjoyed with a muscular buddy.

https://focusonbelgium.be/en/Do%20you%20know%20these%20Belgi...

Re: “I just chose words carefully”

#190

I like the idea that arbitrary constraints can actually improve writing. Without a constraint, it's easy to fall back on familiar phrasing, while having to work around something unusual forces you to reconsider each word. I wonder if this applies to programming and other creative work too.

Live is short, required time to market is even shorter. Arbitrary constraints might work if you have nothing better to do, but if you have a goal, or specific ideas you want to train, you'll get more natural constraints.

History is full of half-baked products that were better executed by a competitor later. While I agree that manually balancing the text of manual is probably not the best use of time, it's this obsessive mindset that creates great products. If Super Metroid would have optimized for time-to-market we wouldn't even remember the game.
Post reply on HN