jamii
04/17/2024, 1:57 AMMarcelle Rusu (they/them)
04/17/2024, 2:11 AMwtaysom
04/17/2024, 10:33 AMSquirrel
04/17/2024, 4:19 PMjamii
04/17/2024, 11:40 PMâdo-twiceâ is grammatically incorrectDon't you mean in_correct? đ
jamii
04/17/2024, 11:42 PMjamii
04/17/2024, 11:44 PMjamii
04/17/2024, 11:50 PM/
isn't great though. I wish I had a third kind of space.jamii
04/18/2024, 12:33 AM.
for field definition to free up :
for ufcs.
foo/bar(key1: val1, key2: val2)
vs foo:bar(.key1 val1, .key2 val2)
jamii
04/18/2024, 3:11 AMstd.child process.exec(
:allocator,
argv: ['deno', 'run', '--allow-read', 'test.js'],
max output bytes: std.math.max int(usize),
)
Chris Knott
04/18/2024, 5:02 AMmy_variable
and myVariable
refer to the same thing! Feels somehow wrong to me but maybe it's better for beginnersSquirrel
04/18/2024, 6:15 AMThat would make it pretty hard to spot where tokens begin and end.In my experience, spaces between tokens make it clear:
std .child process .exec
I'm also using a a variable-space font, so âstd.child_process.execâ and âstd.child-process.execâ also have too little space between the tokens in comparison to the big underscore or hyphen within the token.Stefan
04/18/2024, 12:34 PMâWhere a number of issues are being taken into account in a design decision, inevitably the ones which can be most clearly expressed carry the greatest weight, and are best reflected in the form. Other factors, important too but less well expressed, are not so well reflected. Caught in a net of language of our own invention, we overestimate the languageâs impartiality. Each concept, at the time of its invention no more than a concise way of grasping many issues, quickly becomes a precept. We take the step from description to criterion too easily, so that what is at first a useful tool becomes a bigoted preoccupation. [âŚ]
In this fashion the selfconscious individual's grasp of problems is constantly misled. His concepts and categories, besides being arbitrary and unsuitable, are self-perpetuating. Under the influence of concepts, he not only does things from a biased point of view, but sees them biasedly as well. The concepts control his perception of fit and misfit- until in the end he sees nothing but deviations from his conceptual dogmas, and loses not only the urge but even the mental opportunity to frame his problems more appropriately.â
â Christopher Alexander. Notes on the Synthesis of Form. Chapter 5: The Selfconscious Process.
Beni Cherniavsky-Paskin
05/26/2024, 8:41 PMSnake-case ... is a little slower to type.I've been subscribed to the https://whatheco.de/2011/02/10/camelcase-vs-underscores-scientific-showdown/ thread for over a decade đ There is some research linked there, lots of threats to validity mentioned, and it remains unconclusive (and largely personal/religious).
Beni Cherniavsky-Paskin
05/26/2024, 8:59 PMjamii
05/29/2024, 3:31 AMspeed&ease of reading shouldn't be the sole goal to measure â they might even be anti-correlated with code comprehension!In that case, I know how make my code really comprehendable...