Golang

senior engineer is pushing me to learn go. is he trolling or what? how retarded is this language?

is señor engineer providing any time, training, or resources for you to do this?

>no generics
Into the trash

he's not my boss or even in my org. just a mentor, giving me friendly advice.

If they're paying you decent and/or your only current option for employment and it will be required for work. Then who gives a shit. $$$

no joke you can get a workable knowledge of it in maybe 1 or 2 days.

it's very elegant in its simplicity.

any recommended resources?

golang.org

they've been comparing it with Node so it's really no joke

i'm paid salary. i'm often working 60+ hours a week. i have a family.

this would be on my own time. for my own edification...and potential advancement within current company, sure....but the fact remains i would not be "getting paid" to learn it.

in that case, if you feel like it i guess? learning languages just for the sake of learning them is a pretty shallow, low return activity. pursue something that interests you and refreshes your mind in your spare time

the tour and docs on golang.org

Effective Go is probably a good place to start.

the only concepts that might be foreign to anyone that has previous programming experience are using channels for concurrency, interfaces, the directory structure they enforce and maybe pointers if you've never used a language that deals with them.

There is nothing wrong with learning Go, it's not going to be that hard anyway.
But if you're not interested then don't do that and do something you are interested in instead.

you're helpful. i like you. you can come to my casino and fuck my slut wife.

it's not that i'm not interested. just curious about the language, is all. i'm completely unfamiliar with it and how it fits into sysadmin/engineer space.

Go is a very solid language that is polarizing by people used to other "easy" languages (Python, PHP, Perl, JS). I grew up on C/C++ and learning Go felt very intuitive. People coming from Python/PHP/Perl/JS might find it strange because it is isn't as flexible as those languages.

It's a good language, easy to pick up, extremely well documented, and it has a solid community and mature libraries for almost everything. No real reason not to learn it.

as a "beginner" language, how does it rate?

>how it fits into sysadmin/engineer space

Anything you would use python or perl for, you can use go for, and the go scripts will be more maintainable and much easier to deploy. Go deployment across multiple systems/architectures is just as simple as compiling binaries on your dev box and putting them on your client systems and running them. No worrying about python libraries, cpan modules, etc. Just straight binaries.

It would literally take you 2-3 days to learn. The language is fucking tiny.

If you work in the devops/sysops/cloudops/networked services/distrubuted systems space, it would probably make sense to learn it. Almost every company in the space is now using Go - I was at Blizzcon a couple weeks ago, and even fucking Blizzard is starting to explore writing things in Go.

I'd say its a little more difficult than Python, but not much harder. The online resources and tutorials are much better. I'd recommend picking up "The Go Programming Language" if you really want to learn it. It's not aimed at beginners to programming but if you can already do some basic scripting you'll be able to figure it out pretty well.

that sounds pretty sexy.

nice. i'm pretty solid with bash. and can bludgeon my way through some perl, python, and ruby. i'm liking where this is headed.

thanks fellas.

> work 60+ hours in a week
> I have a family
> browse Sup Forums
Stop doing that O my god, enjoy your life

personally, having tutored brainlets for money go is really simple and I have yet to encounter someone who can’t learn it

Just do it. Doesn't hurt to know more languages.

What the fuck is wrong with you brainlets? If you can't learn a new language in a week tops, you shouldn't call yourself a programmer. Cuz you're not. You're a poseur.

yes; it's inferior java.

can't go wrong with Kernighan

>omg what do you mean you don't want to spend your free time learning skills to do your job????

Programming for money sucks, I don't know why anyone would ever want to do this, much less go to SCHOOL for the EXPRESS purpose of becoming a codemonkey.

Cute hamster sausage. I want to chop it up and eat it

go is nice and all, but I hit a roadblock when I tried doing something complicated with channels.

couldn't figure out how to do a long running process that I could communicate with. it turned into a cluster fuck of channels on top of channels channels in other channels etc. so i just went back to nodejs. js events make this kind of thing simple. yes im a brainlet

can I learn programming using this book?

you just
GOOS=darwin/linux/windows/bsd GOARCH=amd64/x86 go build (-o filename)
cross-compilation done

you could just have a 1 buffered channel of whatever type you have to pass to it and have the process (with a select) always pop from the channel when it's not empty or stop when the channel is closed

k&r is better if you don't have any experience with programming

yeah I haven't given up on go yet, I will figure out later. just that I want to finish this project quickly, so I decided it was a bad idea doing it as a learn as you go thing.

thx, user

what do you do for a living bucko?

I own a lingerie shop.