News for hackers. Stuff that matters.
Re:Urbit: an operating function by yarvin9 on Friday September 25, 2015 @02:02PM (#10279644)
It'd be interesting to hear a more detailed description of what you'd classify as "different for the sake of being different."

There's certainly plenty of code in this world that's the same for the sake of being the same. It's not terribly interesting to use CGA graphics for the sake of being different. On the other hand, I do wonder whether my children will grow up learning 1970s programming for the sake of being the same.

Re:Urbit: an operating function by deegles on Friday September 25, 2015 @02:08PM (#10279681)
One example is that they flipped the meaning of 0 and 1 in their new language.

>We should note that in Nock and Hoon, 0 (pronounced “yes”) is true, and 1 (“no”) is false. Why? It’s fresh, it’s different, it’s new. And it’s annoying. And it keeps you on your toes. And it’s also just intuitively right.

Re:Urbit: an operating function by yarvin9 on Friday September 25, 2015 @02:14PM (#10279725)
I'll give you that one! It's an old mistake and not very costly in practice, but the intuitive rightness isn't worth the pain in the butt. But the pain in the butt also isn't painful enough to match the difficulty of fixing it.

I actually got this bad idea from Unix: !strcmp(), etc. It's certainly easier to overload error codes into a 0=true scheme, although Urbit doesn't actually do that.

Re:Urbit: an operating function by david-given on Friday September 25, 2015 @03:56PM (#10280317)
"It's an old mistake and not very costly in practice, but the intuitive rightness isn't worth the pain in the butt."

Why is it intuitively right?

Re:Urbit: an operating function by melloclello on Friday September 25, 2015 @05:48PM (#10280920)
"a string can be slack in many ways, but taut in only one"

0 is true, everything else is false. At least that's my intuition.

Re:Urbit: an operating function by emmelaich on Saturday September 26, 2015 @08:45AM (#10282960)
Huh! Pretty similar to my comparison to Tolstoy's quote on happy and unhappy families.

https://news.ycombinator.com/item?id=10282933

Re:Urbit: an operating function by pcmonk on Friday September 25, 2015 @02:13PM (#10279716)
This is exactly the way it's used in shell scripting, and honestly, it's more useful that way for us because it makes booleans default to true instead of false. If we're going to redo everything, we may as well do it right this time.
Re:Urbit: an operating function by minitech on Friday September 25, 2015 @03:11PM (#10280080)
> This is exactly the way it's used in shell scripting

You say that like it’s a good thing.

Re:Urbit: an operating function by MichaelAza on Friday September 25, 2015 @04:08PM (#10280405)
Well, as I see it, the design of Hoon is definetly different for the sake of being different, syntax wise and considering the pronounciation guide. Using new terminology where existing terminology will suffice (off the to of my head, twig and span) is different for the sake of being different.