Viewing profile — syklemil
syklemil
HN member- Joined
- Tue, Mar 11, 2025, 5:05 PM UTC
- HN karma
- 32
- Public activity
- 25 items
- HN profile
- View on Hacker News ↗
About syklemil
No profile information was provided.
Recent public activity
-
comment
Comment #46191592
> they need to understand that there's another dimension to criticisms of Lisp that aren't just "I don't like parentheses" and that there is substantive feedback to be gleaned. I'm…
-
comment
Comment #46191238
I think another macro, `json!()` works better as an example for that: inside the `json!()` you write something very similar to actual JSON. So when you see a `!` you know that ther…
-
comment
Comment #46176512
Though at the same time the bit where `use strict` was optional wound up being off-putting to a lot of us, at least in part because we'd always wind up with _something_ that wasn't…
-
comment
Comment #45101982
re: `fd` I also find it a lot better to do something like `fd -e py -X ruff format` than `find -name '*.py' -exec ruff format {} +`. Part of it is that `find` seems to come from be…
- comment
-
comment
Comment #44519429
>> Especially in the era of AI assistants, the downside of writing out explicit types and repetition matters very little > Yeah, let's design languages based on the capabilities of…
-
comment
Comment #44519406
Which also makes more sense if you take into consideration that he has a form of colour blindness: https://commandcenter.blogspot.com/2020/09/color-blindness-i... Ultimately he's f…
-
comment
Comment #44327640
I also use just as a command runner, but I gotta agree with the others here that it should be described accurately as a command runner, while make is a build system. There are some…
-
comment
Comment #44327600
This seems similar to how macos has bash, but it has ancient bash. Allegedly the reason is that Apple is fine with GPL2 but not GPL3. Though at that point I kinda wonder why they b…
-
comment
Comment #44048843
> My own employer has ascribed some sort of spiritual status to prompts. You may want to get them away from the prompts asap. They might be headed down the route to heavy spiritual…
-
comment
Comment #43989277
There's no discussing taste, especially with syntax. Personally I find the Rust syntax unoffensive, while the Go syntax comes off kind of … weird, with type signatures especially l…
-
comment
Comment #43989181
Python is growing type annotations at a brisk pace though, and Typescript is cannibalizing Javascript at an incredible speed. Between that and even Java getting ADTs, I suspect the…
-
comment
Comment #43420765
You've already had some replies for the C FFI side of things, you might also be interested in maturin & PyO3 for python bindings. I haven't looked if they've exposed some python in…
-
comment
Comment #43420560
> It absolutely does not matter what language this tool is written in. That goes for any tool. Eh, there are a lot of tools where it actually does kind of matter. I suspect for a l…
-
comment
Comment #43361049
> Generally speaking, non-religious people understand church to be a building. Whereas religious people understand that the people are the church, the building is just a building. …
-
comment
Comment #43338431
You would likely approach it in any style with some helper functions once whatever's in the parentheses or ifs starts feeling big. E.g. in the dot style you could fn bookFilter(boo…
-
comment
Comment #43338076
> But in functional code, the entire chain is a single statement. There are no natural breakpoints where the reader could expect to find justifications for the code. How are we dec…
-
comment
Comment #43336989
Right you are. I wish I had an excuse for my mistake, but I don't.
-
comment
Comment #43336566
> Nope, pure functions are referentially transparent. The key idea is that you can replace the function invocation with a value and it shouldn’t change the program. [Edit: This is …
-
comment
Comment #43336438
I consider syntax highlighting to be a part of the _visual_ structure. Visibility is more than just whitespace and placement!
-
comment
Comment #43336408
I'm more partial to the first one because it keeps a linear flow downwards, and a uniform structure. The second one kind of drifts off, and reshuffling parts of it is going to be ……
-
comment
Comment #43336356
You've had some answers already, but I also think this is a good argument for syntax highlighting. With tools like tree-sitter it's pretty easy these days to get high quality synta…
-
comment
Comment #43334977
IME what we want is generally for the code to be close to the left margin and flow predictably downwards. The example with intermediate values has a lot more value to me for comple…
-
comment
Comment #43334848
> I've never understood the hate for variable shadowing. Maybe it's because I mostly use Rust, That's likely a good chunk of it. My impression is it's more acceptable in languages …
-
comment
Comment #43334714
fwiw, once Python's introduced there's the third option on the table, comprehensions, which will also be suggested by linters to avoid lambdas: authors_of_long_books: set[Author] =…