I believe you (other than tests being specifications, they are examples at best). But that doesn't change the fact that TDD looks more adopted in untyped languages, and that deserves an explanation. Mine is that a lot…
I'm a Haskell bro and I love testing. You misunderstand me, though. All I say is that maybe _some_ of those tests deliver value by just making sure that code even runs, which is otherwise covered by types.
> That also explains why TDD is more popular in say Ruby or Python vs. Java. I'd say that TDD being more popular in untyped languages speaks against TDD, as it hints that maybe some of its benefits are covered already…
But they chose a solution (if I understand correctly), where tenant ID is not in the signature of functions that use it, either.
> it violates various architectural principles, for example, from the point of view of our business logic, there's no such thing as "tenant ID" I'm not sure I understand how hiding this changes anything. Could you just…
Thanks. This does sound like a state machine, though, but the devil is probably in the details. Yes, here Haskell is probably a bad choice, and something where direct memory manipulation is bread and butter should do…
> So why hasn't it happened? 4. History. In those types of discussions, there are always "rational" arguments presented, but this one is missing. > One with lots of persistent mutable state. You mean like a database? I…
One exception for me about >>=, is instead of this: thing <- getThing case thing of writing this: getThing >>= \case Not so much because it is less code, but fewer variables to name.
> It's almost never "we just don't have to care" when comparing to most other popular languages. Struggling with Haskell type system is not an experience of somebody who has developed an intuition about Haskell type…
I do AoC in SQL, I wish it was true. With Postgres, you have lots of regex/string manipulation functions that make it easy. For me, the biggest problem was memory. Recursive CTEs are meant to generate tables, so if you…
Yes, I thought I just wanted to chill and listen to a song, but actually cutting-edge AI technology decided that I will have a better time listening to this car mechanic over-reacting to my favorite song, that he surely…
And the modern web search tools don't even try to be good at searching, but some engagement-bullshit-here-is-something-that-might-interest-you contraption. I love listening to bootlegs (recording of a concert that is…
That makes no sense to me. If this coder has to access array by index twenty times a day, then he is going to remember it, eventually, no? If is it rare that he has to do it, then why memorize it? You really think there…
This news is about conscription they do twice a year, regardless of the war.
> This isn't even hyperbole. Is there even some big scale mobilization going on in Russia right now? Or is this just the standard dig at Russia, because the topic is related to Russia?
To be fair if your config is just a structure with strings then you declare your types only once, too. Minus the codegen, but also minus the editor integration. I'm not hating on Pkl here, we deserve better in this…
Oh, I didn't comment on the Pkl, just on the status quo. My bad for not making that clear. "Enough" is the keyword here, time will tell I guess.
It's nice, but it comes at a cost. For example, every user of toml forever will have to put strings in quotes. Why? Because having other types creates ambiguity, that is resolved by this one simple trick. But if you…
My take on this is that there is not obvious reason not to, but it just so happens that typed configuration languages are not rich enough and not integrated enough to be that useful. Those languages that arrived with…
Yes, it's like the difference between adding a task in Jira vs in some todo.txt file. Slowness of the interface aside, you just have to do the whole ceremony for some simple don't forget/think of it later note.
> the alternative seems to be aggressively metricize and cut This is, for me, the funny part about it. If all those metrics, meetings, tickets and what have you, pushed mostly by the management btw, can't help them,…
Thanks, that might be just what I'm looking for!
We should ask them instead to modify the existing INI file. I bet most would do just fine.
I have seen this post on HN before and I wasn't received very well AFAIR. But I can't help agreeing with its main point: so much complexity to support a few basic data types that are not sufficient for anything complex…
I feel like natural joins simplify writing queries, but not exactly reading them (especially if you are not familiar with the database). IMO a good compromise is the USING clause, which acts like a natural join, but…
I believe you (other than tests being specifications, they are examples at best). But that doesn't change the fact that TDD looks more adopted in untyped languages, and that deserves an explanation. Mine is that a lot…
I'm a Haskell bro and I love testing. You misunderstand me, though. All I say is that maybe _some_ of those tests deliver value by just making sure that code even runs, which is otherwise covered by types.
> That also explains why TDD is more popular in say Ruby or Python vs. Java. I'd say that TDD being more popular in untyped languages speaks against TDD, as it hints that maybe some of its benefits are covered already…
But they chose a solution (if I understand correctly), where tenant ID is not in the signature of functions that use it, either.
> it violates various architectural principles, for example, from the point of view of our business logic, there's no such thing as "tenant ID" I'm not sure I understand how hiding this changes anything. Could you just…
Thanks. This does sound like a state machine, though, but the devil is probably in the details. Yes, here Haskell is probably a bad choice, and something where direct memory manipulation is bread and butter should do…
> So why hasn't it happened? 4. History. In those types of discussions, there are always "rational" arguments presented, but this one is missing. > One with lots of persistent mutable state. You mean like a database? I…
One exception for me about >>=, is instead of this: thing <- getThing case thing of writing this: getThing >>= \case Not so much because it is less code, but fewer variables to name.
> It's almost never "we just don't have to care" when comparing to most other popular languages. Struggling with Haskell type system is not an experience of somebody who has developed an intuition about Haskell type…
I do AoC in SQL, I wish it was true. With Postgres, you have lots of regex/string manipulation functions that make it easy. For me, the biggest problem was memory. Recursive CTEs are meant to generate tables, so if you…
Yes, I thought I just wanted to chill and listen to a song, but actually cutting-edge AI technology decided that I will have a better time listening to this car mechanic over-reacting to my favorite song, that he surely…
And the modern web search tools don't even try to be good at searching, but some engagement-bullshit-here-is-something-that-might-interest-you contraption. I love listening to bootlegs (recording of a concert that is…
That makes no sense to me. If this coder has to access array by index twenty times a day, then he is going to remember it, eventually, no? If is it rare that he has to do it, then why memorize it? You really think there…
This news is about conscription they do twice a year, regardless of the war.
> This isn't even hyperbole. Is there even some big scale mobilization going on in Russia right now? Or is this just the standard dig at Russia, because the topic is related to Russia?
To be fair if your config is just a structure with strings then you declare your types only once, too. Minus the codegen, but also minus the editor integration. I'm not hating on Pkl here, we deserve better in this…
Oh, I didn't comment on the Pkl, just on the status quo. My bad for not making that clear. "Enough" is the keyword here, time will tell I guess.
It's nice, but it comes at a cost. For example, every user of toml forever will have to put strings in quotes. Why? Because having other types creates ambiguity, that is resolved by this one simple trick. But if you…
My take on this is that there is not obvious reason not to, but it just so happens that typed configuration languages are not rich enough and not integrated enough to be that useful. Those languages that arrived with…
Yes, it's like the difference between adding a task in Jira vs in some todo.txt file. Slowness of the interface aside, you just have to do the whole ceremony for some simple don't forget/think of it later note.
> the alternative seems to be aggressively metricize and cut This is, for me, the funny part about it. If all those metrics, meetings, tickets and what have you, pushed mostly by the management btw, can't help them,…
Thanks, that might be just what I'm looking for!
We should ask them instead to modify the existing INI file. I bet most would do just fine.
I have seen this post on HN before and I wasn't received very well AFAIR. But I can't help agreeing with its main point: so much complexity to support a few basic data types that are not sufficient for anything complex…
I feel like natural joins simplify writing queries, but not exactly reading them (especially if you are not familiar with the database). IMO a good compromise is the USING clause, which acts like a natural join, but…