text
stringlengths
0
1.49k
**Michael Stapelberg:** Thank you.
**Carlisia Thompson:** Yeah, that's pretty cool. Now, what could Russ possibly mean when he said they will be looking into the error handling?
**Michael Stapelberg:** Well, that's just speculation, right? But it is entirely thinkable that...
**Carlisia Thompson:** Yeah, exactly, let's speculate!
**Michael Stapelberg:** Yeah, let's speculate! So it would be thinkable to add a new keyword, or a new syntax feature for it... Maybe, if it really pays off. For example, in Rust you have the exclamation mark for the error-checking macro, right? And I think that's actually a somewhat useful and elegant way of dealing w...
So there is definitely a balance that one needs to strike here, and I'm fairly confident that Russ will come up with a good way that finds consensus, if that is the route that he chooses to go.
**Erik St. Martin:** Yeah, it's really interesting, because I'd love to not be as verbose, but I actually kind of like it too, because I can immediately see where the error states are and how this piece of code intends to handle them. If that's kind of abstracted away, you kind of lose that and you're back to exception...
**Carlisia Thompson:** You love it meaning it doesn't obscure that there is something being returned, right? And then you know, "Okay, you're just skipping over handling it."
**Erik St. Martin:** Yeah, it makes it super clear that this call can return in an unpredictable way, where the actual legitimate response variable/value - that could be in some unknown state because of an error condition. That's the thing that I hate the most - if you do a file open and you don't actually notice that ...
**Michael Stapelberg:** Yeah, and I definitely love what it does for the end user. I really feel respected when I get a proper error message from a program, and not just an exception that is, even worse, pages long, as frequently happens with Python programs where the programmers weren't careful enough or didn't do eno...
**Erik St. Martin:** Yeah, I've definitely seen that stuff before too, where rather than a "File doesn't exist" for open, you get a nil pointer exception somewhere down the line, because you're trying to deal with the file type.
**Michael Stapelberg:** \[52:01\] Yeah. And then usually, what I do is I just give up and I _strace_ the program. At that point I'm like "Why are we doing this?! There must be a better way."
**Erik St. Martin:** I think we are probably running a little late on time. Do we wanna jump into some interesting projects and news, and \#FreeSoftwareFriday?
**Brian Ketelsen:** Yes, let's! I think the number one interesting project for the whole year is the Space Gophers screensaver for Mac. [github.com/apiarian/space-gophers](https://github.com/apiarian/space-gophers). You have to build it yourself, because whoever built it doesn't have an X-code developer Apple account t...
**Carlisia Thompson:** I'm gonna wait for somebody who does have X-code to build it so I can install it properly... But it's so cute!
**Erik St. Martin:** I'm gonna have to make a Linux version... And quickly too, we mentioned last week there were security updates to Go, so if you didn't listen last week, please listen this week and update Go.
**Brian Ketelsen:** Right. You should be running 1.9.1, or 1.8.4 now, please.
**Erik St. Martin:** We'll wait. \[laughter\]
**Brian Ketelsen:** Yeah, we'll sit right here and wait.
**Carlisia Thompson:** Tell us when you're ready.
**Brian Ketelsen:** Let us know when you're done.
**Erik St. Martin:** So what else did we run into this week?
**Brian Ketelsen:** My [Golang UK talk](https://www.youtube.com/watch?v=mxlJqrVSalY&list=PLDWZ5uzn69eyM81omhIZLzvRhTOXvpeX9&index=8), I announced a tool called [Gopher Rocks](https://github.com/pkg/rock) that automatically tags your GitHub releases for you, so that everybody can start tagging their stuff. Mine was a pr...
**Erik St. Martin:** Actually, I almost don't mind when that happens, because to me the fun part is the proof of concept. And then it's like once the problems are figured out, I wanna move on to the next problem. I rarely want to get stuff in the state that I would consider it shippable...
**Brian Ketelsen:** That's a good point.
**Carlisia Thompson:** Yeah... Sounds like software development. \[laughter\] So I ran into this post early in the week (a few days ago), and to complement Michael's blog post, which is -- we never mention the name, but it's named [Why Go is my favorite programming language](https://michael.stapelberg.de/posts/2017-08-...
This post is called [The 7 stages of becoming a Go programmer](https://opensource.com/article/17/9/seven-stages-becoming-go-programmer), and it's sort of hilarious... I was laughing.
**Brian Ketelsen:** It really is good.
**Carlisia Thompson:** It's written by this guy called Daisuke Maki. It's really clever. I'll just go through the stages, can I?
**Erik St. Martin:** Oh yeah, they're funny, and I follow right with it.
**Carlisia Thompson:** Yes, I think he hit it on the nail; he's experienced, obviously, but I think we share at least some of these stages.
\[55:53\] "You believe you can make Go do object oriented programming", that's stage one. Stage two, "You believe goroutines will solve all your problems." I had that too, I was thinking "Wow, you have to not just use goroutines, but also use channels, and then maybe \[unintelligible 00:56:14.12\] make it simpler." Sta...
**Erik St. Martin:** You are one with the gopher.
**Brian Ketelsen:** The author created a gist, and the description for stage seven just makes me happy. It says "You're now at peace. You write everything, including what you normally would have used Ruby, Perl or Python for in Go. You don't mind the `if err != nil` checks anymore, you only use goroutines and channels ...
It's so true. So true.
**Carlisia Thompson:** Yeah, I love it. And one thing that I say to people, yeah, Go has these weird things, and error handling is repetitive, but if you stick to it, you will change your mind. There is something about it, and I think it's the simplicity and how it makes your brain not jump through hoops to understand ...
**Brian Ketelsen:** It could be [Stockholm syndrome](https://en.wikipedia.org/wiki/Stockholm_syndrome) too, we're not gonna decide that. \[laughter\]
**Erik St. Martin:** We just came for the [cool mascot](https://blog.golang.org/gopher).
**Brian Ketelsen:** Sure. We came for the Gopher Screensavers, we stayed for the chi.
**Michael Stapelberg:** I read that so frequently on Twitter... People are saying "Well, I don't know about Go, but it has the best mascot", and I wonder if that's just a meme that actual gophers still carry forward, or if that's actually people who are just not into Go yet, but they think the mascot is really cute. So...
**Carlisia Thompson:** We love it! I think everybody loves it... I think. From what I see, even veterans still love the gopher.
**Erik St. Martin:** To me it's really interesting how much we own it. We are more than happy to wear all kinds of swag... Grown adults with cartoon gophers on our laptops, on our shirts, on our backpack...
**Brian Ketelsen:** On our sweatshirts, we have it tattooed...
**Michael Stapelberg:** One additional thing that you guys and gals might not appreciate is that outside of the U.S. a gopher is not really a thing. Whenever I wear gophers on my T-shirts, people ask me "What sort of animal is that?" Then I give them the German name and they're like "I've never heard of this... This ca...
**Erik St. Martin:** That had never occurred to me.
**Carlisia Thompson:** Yeah. I think I know a gopher more from American television - I didn't grow up in the U.S. - than from real life. I've never seen a gopher in my life, I don't think.
**Brian Ketelsen:** Like Caddyshack?
**Carlisia Thompson:** I don't know... But I was going to say that I heard of words of cosplay at the next GopherCon, people wearing Gopher costumes...
**Brian Ketelsen:** \[01:00:05.10\] We're all wearing Gopher costumes. Everybody's doing it, so get your costume ready now.
**Carlisia Thompson:** Oh, my god... Okay.