Loading...

GopherCon 2018: Jon Bodner - Go Says WAT

11,584 views

Loading...

Loading...

Transcript

The interactive transcript could not be loaded.

Loading...

Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Sep 11, 2018

Gary Bernhardt's famous WAT talk pokes fun at the weird things in Ruby and JavaScript due to weak typing and operator overloading. In it, he spends 4 minutes going through all sorts of weird behavior in Ruby and JavaScript, caused by the strange rules around automatic type promotion, operator overloading, and equality in those languages.


Go developers watch videos like Wat and feel smug. After all, Go is a typesafe language with no automatic type promotion. Go avoids magic; we accept some verbosity as a fair price to pay for not having to memorize obscure rules. Right?


Well, not entirely. Go has some weird corners, too. If you understand what's going on behind the scenes, the behavior makes sense. But if you haven't memorized the Go Language Specification, you will run into cases where the "obvious" behavior is not the "actual" behavior. Jon’s tutorial session looks at these oddball situations as a way to help everyone understand how Go is working behind the scenes.

Loading...

Advertisement
to add this to Watch Later

Add to

Loading playlists...