Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wtetzner
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
44 ms
·
841.
▲
by
wtetzner
5y ago
They're also a way to help developers write new games for old platforms.
842.
▲
by
wtetzner
5y ago
> "Award winning photographer. You may have seen my work recently on the hit Netflix show, 'Love Is Blind'". Don't you first need to win an award?
843.
▲
by
wtetzner
5y ago
In terms of LSP, I don’t think there’s anything particularly novel about it. It’s really only better than other similar protocols in the sense that it is gaining in popularity. I.e., the biggest thing that was missing is consensus on a shar
844.
▲
by
wtetzner
5y ago
> Seems like the actual problem (given that scenario) is that adware is being pushed to users Google itself is adware.
845.
▲
by
wtetzner
5y ago
Stepping through can be a pain sometimes, because to find certain bugs it's easier to look through a log throughout a longer run of the program, and see how the state changes. Of course, a debugger that could generate a log like that i
846.
▲
by
wtetzner
6y ago
That’s a strange definition of complexity. I can see people avoiding the ternary operator because the syntax is hard to read, but it’s no more complex than `if`.
847.
▲
by
wtetzner
6y ago
> Ultimately you’re expressing an anti-simplicity sentiment I disagree. First, making a language simple doesn’t make programs simpler, and often does the opposite. I’m also not sure I buy the idea that Go is actually simple. It lacks a l
848.
▲
by
wtetzner
6y ago
I agree about sexps, it feels like the right default for storing human readable data. The only place where I think it's a little weak is when used more like markup, since data would need to be in quoted strings. That definitely seems l
849.
▲
by
wtetzner
6y ago
I think YAML works fine if you're mapping it into typed data structures, because if you know the target type, you can coerce where possible and fail with an error message otherwise. It can potentially cause a mess if you're using
850.
▲
by
wtetzner
6y ago
I think Construct is similar: https://www.scirra.com/
851.
▲
by
wtetzner
6y ago
I've used plenty of dynamic languages before, but I don't see how that would help in this case. The point is that I wanted statically typed records, which a dynamic language won't give me. Java has added syntax for defining r
852.
▲
by
wtetzner
6y ago
My point is that adding that level of verbosity for something that should be simple makes it really hard to find the important parts of the code. Boilerplate obfuscates.
853.
▲
by
wtetzner
6y ago
As usual, I think it depends on the situation. Certain parts of Java's verbosity are just a net loss. However, some of those pain points have been addressed, and they're working on addressing others. For example: public clas
854.
▲
by
wtetzner
6y ago
> shortening the feedback loop drastically More importantly, forcing you to catch them. Problems at runtime don't get caught until that condition actually occurs during an actual run of the software.
855.
▲
by
wtetzner
6y ago
Scheme gives the ability to capture where you want to. You just have to be explicit about it. Seems like the right default to me.
856.
▲
by
wtetzner
6y ago
Doesn’t C# have properties?
857.
▲
by
wtetzner
6y ago
Say you have: public void doSomething(Optional<String> foo) { ... } You want `foo` to be `Optional.empty()` or `Optional.of("some string")`. The way things currently work, `foo` could also be `null`.
858.
▲
by
wtetzner
6y ago
> Blame the carpenter, not the tools. That's a weird way to put it. I would blame the carpenter for picking the wrong tools.
859.
▲
by
wtetzner
6y ago
I'm sure you can also find plenty of articles about how the Earth is flat. I'm not really sure what point you're trying to make.
860.
▲
by
wtetzner
6y ago
> and ORMs are a powerful and delightful way to do this I think we'll end up disagreeing there. However , I think this type of model could maybe work better for "static" serialization/deserialization of file formats.
861.
▲
by
wtetzner
6y ago
> What about serialization makes it so intractable? Could some kind of language support make it better? I've thought about serialization a lot over the years, and I think a big part of the problem is that we try to map our programmi
862.
▲
by
wtetzner
6y ago
> But IMO not worth the effort, given it's already fast enough. Not only that, but if you're testing with the database, you get to test your queries. That seems worth it being a bit slower.
863.
▲
by
wtetzner
6y ago
What alternatives are you thinking of that aren't evolving or improving?
864.
▲
by
wtetzner
6y ago
>>Faith in society's central institutions, especially in government and the media, is the glue that holds society together. >What a condescending, paternalistic assumption. And wasn't the design of the US government large
865.
▲
by
wtetzner
6y ago
It very well may not be sustainable. But I guess my point is that Spotify's business model might turn out to not be sustainable if artists decide it's not worth it to have their music on it. If they don't decide that, then of
866.
▲
by
wtetzner
6y ago
> Just because the technology and practitioners are old it doesn't mean they don't know what they're doing. I certainly didn't mean to imply that. It's more that many people now don't do a good job with th
867.
▲
by
wtetzner
6y ago
But why is it important to change that habit, if it has no beneficial impact?
868.
▲
by
wtetzner
6y ago
> COBOL programs have history. They were changed in '77 and then the change was reverted in '79 and then again in '84. Nobody really remembers why. I wonder how different it would be if they had a good source control syste
869.
▲
by
wtetzner
6y ago
Of course, and users would prefer completely free music over cheap music too. That doesn't mean it's sustainable, though.
870.
▲
by
wtetzner
6y ago
Here’s a talk by Dr. Terry Wahls, who reversed her MS through diet: https://www.youtube.com/watch?v=KLjgBLwH3Wc
More ›