Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
DylanSp
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
301.
▲
by
DylanSp
5y ago
CS programs vary pretty widely in how much they focus on the theoretical/mathematical side of computer science vs. practical software engineering. I was in a similar boat to the CS majors in your comment at one point; I only started le
302.
▲
by
DylanSp
5y ago
Zero values are definitely an issue, and it'd be hard to get rid of them while sticking to Go's imperative/statement-based style. Still, it'd nice to use an Option type instead of pointers.
303.
▲
by
DylanSp
5y ago
Yeah, this. In 1995, about the only mainstream language with generics was C++ with templates. (Same in 2000 when C# was released, incidentally) When Go came out in 2009, though, Java and C# had pushed generics into the mainstream. Additiona
304.
▲
by
DylanSp
5y ago
Ender's Shadow didn't even make the shortlists for the Hugo or Nebula awards.
305.
▲
by
DylanSp
5y ago
Does the Chrome DevTools team use Google's big monorepo and all the tooling around it? If so, that puts the author in a different situation than the vast majority of devs.
306.
▲
by
DylanSp
5y ago
Curious that you put Consider Phlebas behind Matter (my least favorite, by far). My favorite is probably Look to Windward, closely followed by Player of Games and Use of Weapons.
307.
▲
by
DylanSp
5y ago
Yeah, that was just...out-of-nowhere gruesomeness.
308.
▲
by
DylanSp
5y ago
I mean, Player of Games has a pretty slow start too. I love that book, but the initial pacing is IMO its biggest flaw. I know Use of Weapons doesn't depend on any of the other books for its plot, but is it a decent intro to the setting
309.
▲
by
DylanSp
5y ago
And when you need to look up the Typescript playground, it's probably best not to abbreviate typescript as "TS".
310.
▲
by
DylanSp
5y ago
Heck, even with the classical understanding of barter leading to the creation of money, it's not like fiat money immediately replaced it.
311.
▲
by
DylanSp
5y ago
Yeah, I was going to make a similar comment. Also, why does the SpaceX comment in the tweet/article say "full stack"? I wonder if there's a bunch of embedded engineers at SpaceX that aren't being counted in this fig
312.
▲
by
DylanSp
5y ago
As long as you can detect your bug from a script, you can pass the script to git bisect run and it'll run automatically.
313.
▲
by
DylanSp
5y ago
Not a Django person, but I've used a few server-side templating languages, and I agree. I'd love to go mostly/entirely server-side, cut down on boilerplate AJAX calls, and ship smaller/less JS-heavy sites to the browser.
314.
▲
by
DylanSp
5y ago
I'm curious about the bit on module systems; I've heard that the MLs have a more powerful system than most languages, but not having used them, I don't know what advantages it provides/what problems it solves. All the ex
315.
▲
by
DylanSp
5y ago
Looks like SO's architecture is still pretty simple, yeah. https://stackexchange.com/performance
316.
▲
by
DylanSp
5y ago
https://deadlockempire.github.io/ is a good example, focused on multithreading.
317.
▲
by
DylanSp
5y ago
The "How Not to Do It" category is also pretty good: https://www.science.org/topic/blog-category/how-not-to-do-it . My favorite is probably https://www.science.org/content/blog-post&#
318.
▲
by
DylanSp
5y ago
I don't really see how Java is closer to C than it is to Python in terms of what level of abstraction it's working on, could you elaborate?
319.
▲
by
DylanSp
5y ago
Indeed. It's generally an interesting newsletter, covers some interesting topics.
320.
▲
by
DylanSp
5y ago
I didn't realize it was a joke until I saw the author's newsletter about it today. Should've caught it earlier, though, given how different it is from his usual high quality.
321.
▲
by
DylanSp
5y ago
Interesting, I'll have to take a stab at trying something like that. Thanks for the reply!
322.
▲
by
DylanSp
5y ago
Error handling is definitely something to think hard about. Personally, I like Maybe/Either types, especially combined with syntax to make them easier to work with, whether that's Haskell's do syntax or Rust's ? operator
323.
▲
by
DylanSp
5y ago
Definitely a few interesting ideas here. As someone who dabbles in Haskell, I'm certainly all in favor of separating pure code from side-effecting code. I'm not quite sure how the constraint that procedures can't return value
324.
▲
by
DylanSp
5y ago
There's two major differences between that and a proper Maybe type. First, Maybe is composable; you can have Maybe (Maybe a), which distinguishes between Nothing, Just Nothing, and Just (Just a). There's not really a way to repres
325.
▲
by
DylanSp
5y ago
Out of curiosity, how do you go about generating "random valid well defined programs"? I thought about doing something like this for testing my own toy language, but wasn't sure how to go about generating random test cases.
326.
▲
by
DylanSp
5y ago
Early VBA did this, apparently - see https://ericlippert.com/2021/02/17/life-part-38/#comment-119... on Eric Lippert's blog.
327.
▲
by
DylanSp
5y ago
Unrelated to the article, but your description of the 15-410 course piqued my interest. Is there a way to access previous versions of the course materials? I took a look at https://www.cs.cmu.edu/~410/ , but it seems li
328.
▲
by
DylanSp
5y ago
It's Haskell-based, but here you go: http://dev.stephendiehl.com/fun/002_parsers.html
329.
▲
by
DylanSp
5y ago
nearley.js is an Earley parser that sees at least some use. https://nearley.js.org/
330.
▲
by
DylanSp
5y ago
It's Haskell, not Typescript, but http://dev.stephendiehl.com/fun/002_parsers.html goes over how parser combinators work and how to use them. I've also got a simple example on my github, https://gi
More ›