Can you define your use of DP here? I'm not sure if you mean dynamic programming, or design pattern or something else, and am curious about your insight.
I see you what you mean. Yeah, I suppose if you are writing a library you might want to be more deliberate in the error set. Maybe explicitly writing out the error set is what you want in that situation. Rewriting the…
I did use the example of long run of module names, and I do take your point about `use` (though I have to sometimes read the very top of a file too!)...but the same applies to a lesser extent to the "last mile" module…
> Doesn't that risk introducing accidental breaking changes by adding a new error to the set in the implementation, since the set of errors is inferred from the implementation? Do you have an illustrative example? (I'm…
So usually you don't have to specify the error type. The Zig compiler works out what errors are returned from the function by looking at any errors returned directly or errors returned from other functions called within…
To be honest that's the major one for me. Someone else has mentioned lifetime annotations, but those uncommon enough that I don't find it much of an issue. If I was to think about it: comparing rust to zig, zig benefits…
There are a number of sources of noise in rust, but the one I find most annoying (because it's also so common) is the double colon. My current theory is that it's because the colon is the same height as lowercase…
> If a test never fails, is it a good test? If I have to change a test everytime I change the implementation, is it a good test? Writing good tests is really difficult. If you don't like writing / maintaining tests or…
To expand on the parent and grandparent: Laremere is correct in that there is no "magic" built-in understanding of iterators in the language, i.e. under the hood calling a `.next()` method, without explicitly having to…
I could write this against a few other replies but I will write it here. Moreover, I don't think I'm going to say anything that hasn't already been covered by other people, but I am going to attempt to distil down the…
The Wayland protocol is fine and provides the modern features expected (“every frame is perfect”). But X is two things: a protocol and a de facto standard server that window managers could easily interface with. I…
> Things that are easy in React at runtime turn out to be surprisingly difficult in Svelte Do you have some specific examples?
It could be related to historic Scotland -> Poland immigration: https://en.wikipedia.org/wiki/Scottish_diaspora#Poland
Of all the absolutely fantastic stuff that Zig gets right, I think my favourite is the error handling. While it would be cool to get an error payload, I would hope that if that was added to the language, that it doesn't…
Assuming independent events (a bad assumption no doubt) then you're looking for 1 - the probability that for 20 years straight you don't have the event happening. - E event happens in given year - N event doesn't happen…
To clarify, the position is in Newcastle, Edinburgh or Remote within the UK.
SoPost | Edinburgh, London, Newcastle, UK | REMOTE SoPost is on a mission to build the world's best product sampling platform, and we are hiring into our platform team. We are currently seeking engineers (design,…
I starred a Github repo and a few days later received an email from my now boss asking if I would be interested in applying for the job.
I'm writing a Wayland compositor in Common Lisp: https://github.com/malcolmstill/ulubis
Can you define your use of DP here? I'm not sure if you mean dynamic programming, or design pattern or something else, and am curious about your insight.
I see you what you mean. Yeah, I suppose if you are writing a library you might want to be more deliberate in the error set. Maybe explicitly writing out the error set is what you want in that situation. Rewriting the…
I did use the example of long run of module names, and I do take your point about `use` (though I have to sometimes read the very top of a file too!)...but the same applies to a lesser extent to the "last mile" module…
> Doesn't that risk introducing accidental breaking changes by adding a new error to the set in the implementation, since the set of errors is inferred from the implementation? Do you have an illustrative example? (I'm…
So usually you don't have to specify the error type. The Zig compiler works out what errors are returned from the function by looking at any errors returned directly or errors returned from other functions called within…
To be honest that's the major one for me. Someone else has mentioned lifetime annotations, but those uncommon enough that I don't find it much of an issue. If I was to think about it: comparing rust to zig, zig benefits…
There are a number of sources of noise in rust, but the one I find most annoying (because it's also so common) is the double colon. My current theory is that it's because the colon is the same height as lowercase…
> If a test never fails, is it a good test? If I have to change a test everytime I change the implementation, is it a good test? Writing good tests is really difficult. If you don't like writing / maintaining tests or…
To expand on the parent and grandparent: Laremere is correct in that there is no "magic" built-in understanding of iterators in the language, i.e. under the hood calling a `.next()` method, without explicitly having to…
I could write this against a few other replies but I will write it here. Moreover, I don't think I'm going to say anything that hasn't already been covered by other people, but I am going to attempt to distil down the…
The Wayland protocol is fine and provides the modern features expected (“every frame is perfect”). But X is two things: a protocol and a de facto standard server that window managers could easily interface with. I…
> Things that are easy in React at runtime turn out to be surprisingly difficult in Svelte Do you have some specific examples?
It could be related to historic Scotland -> Poland immigration: https://en.wikipedia.org/wiki/Scottish_diaspora#Poland
Of all the absolutely fantastic stuff that Zig gets right, I think my favourite is the error handling. While it would be cool to get an error payload, I would hope that if that was added to the language, that it doesn't…
Assuming independent events (a bad assumption no doubt) then you're looking for 1 - the probability that for 20 years straight you don't have the event happening. - E event happens in given year - N event doesn't happen…
To clarify, the position is in Newcastle, Edinburgh or Remote within the UK.
SoPost | Edinburgh, London, Newcastle, UK | REMOTE SoPost is on a mission to build the world's best product sampling platform, and we are hiring into our platform team. We are currently seeking engineers (design,…
I starred a Github repo and a few days later received an email from my now boss asking if I would be interested in applying for the job.
I'm writing a Wayland compositor in Common Lisp: https://github.com/malcolmstill/ulubis