News for hackers. Stuff that matters.
Re:Why Does “=” Mean Assignment? by macintux on Tuesday April 10, 2018 @04:13PM (#16804858)
I'm sure I've mentioned it here before, but in my favorite Erlang talk I design the language with the equal sign as my core construct.

Since the equal sign is an assertion of truth, and since assertions cause a crash on failure, you can pretty much derive the rest of the language/BEAM characteristics from that.

Re:Why Does “=” Mean Assignment? by rdtsc on Tuesday April 10, 2018 @05:44PM (#16805785)
Thanks for sharing. Enjoyed watching (from the link below). Well done!

I like the '=' as an assertion idea. That is, it's like running code with assertions turned on. Never thought about it that way but it makes good sense.

Also stealing your idea of "rebootable code" :-)

Re:Why Does “=” Mean Assignment? by macintux on Wednesday April 11, 2018 @09:17AM (#16810772)
I'm sure I stole the idea of rebootable code from someone else, but I'll be happy to take credit for it.

I almost submitted the talk to That Conference this year. I should start shopping it around more.

Re:Why Does “=” Mean Assignment? by hwayne on Tuesday April 10, 2018 @04:34PM (#16805057)
I don't think I've heard of this before; I'd love to watch it if you have a link!
Re:Why Does “=” Mean Assignment? by Artemix on Tuesday April 10, 2018 @04:35PM (#16805073)
I'd also want to see the link, if available!
Re:Why Does “=” Mean Assignment? by macintux on Tuesday April 10, 2018 @04:44PM (#16805163)
This is from a few years ago, my first time giving it, and I've never had the courage to actually watch it, so ymmv.

https://youtu.be/E18shi1qIHU

Re:Why Does “=” Mean Assignment? by Sholmesy on Wednesday April 11, 2018 @04:30AM (#16809120)
Dude, this was great. Been looking to get into Erlang, but the "unfamiliarity" always shunned me away. Really nice talk.
Re:Why Does “=” Mean Assignment? by macintux on Wednesday April 11, 2018 @09:15AM (#16810761)
Thanks, glad you liked it. I love teaching Erlang.