News for hackers. Stuff that matters.

yaglo

Re:Berkeley Mono Typeface on Saturday November 18, 2023 @03:13PM (#38323873)
Because they swapped some characters like \ to /, if I remember correctly.
Re:Gleam: a type safe language on the Erlang VM on Friday November 10, 2023 @07:23AM (#38218005)
1. Every class/method/function/whatever declaration is an API, doesn't matter if it's internal or which language it's written. 2. Why do you think it's better? It looks like it tries to cater to everyone, and leads to inconsistent API usage and requires teams to agree on linting rules and use tools to enforce consistent coding standards. 3. It's a tool for _you_ to design good APIs that are clear. Languages without named arguments don't give you this tool.

> So does renaming a label.

In languages without this feature, any renaming breaks the API, unlike the ones with distinct internal and external names. This is not the same.

Re: on Thursday November 09, 2023 @02:45PM (#38210086)
Within Xcode, you don’t really need it because you’re already running with a debugger when you launch your program.
Re: on Thursday November 09, 2023 @06:12AM (#38203566)
Yes, you can evaluate Swift code in LLDB. See https://stackoverflow.com/a/71882942
Re: on Thursday November 09, 2023 @04:27AM (#38202831)
It’s a nicer experience during development out of the box, without having to do anything manually.

Swift Backtrace is not only about the symbols, it’s also interactive and lets you attach the debugger after the process crashes, which is neat.