Things to Do At the End of the Day on Friday When You're Tired

Well, you have to be a language nerd, of course, but here was what I assigned myself: Complicate the heck out of "Hello, World!", or simplify the heck out of Go channels:

package main

import (
   "fmt"
)

func channelHandler(ch chan string ) {
   s := <- ch
   fmt.Print(s)
   ch <- "World!"
}

func main() {
   var ch chan string
   ch = make(chan string)
   go channelHandler(ch)
   ch <- "Hello, "
   s := <- ch
   fmt.Println(s)
}


Vicki Babcock

Product Development Consultant/Formulator

4 年

Hey John, it's Vicki. Hope you both are doing ok. I'm back to trying to get a website set up. I purchased a domain in 2018 but didn't get anything accomplished so I was wondering if you could help me and I'll pay you. My phone is the same: 530 409 1100. Email: [email protected]. Thank you and hope to talk to you soon.

回复
Vicki Babcock

Product Development Consultant/Formulator

6 年

Hi John, Call me when you have a moment.. Much appreciated. Vicki?

回复

要查看或添加评论,请登录

John Lockwood的更多文章

  • Please Send Python Resources

    Please Send Python Resources

    My website has a mailing list with a modest band of cool kids who've signed up to receive something from me once in a…

  • What Do Tech Interviewers Look For?

    What Do Tech Interviewers Look For?

    Recently, one of my LinkedIn connections asked a question that asked for folks who’ve given technical interviews to…

    5 条评论
  • How to Get a Software Job Without Applying For One

    How to Get a Software Job Without Applying For One

    I read a post from a newcomer to software development the other day about his frustration with having applied to some…

    5 条评论
  • 100 Days of Code?

    100 Days of Code?

    Unless they’re just pure mercenaries who went through some certification classes and are now that person on your team…

  • Let's Not Talk Politics -- LinkedIn Isn't Facebook

    Let's Not Talk Politics -- LinkedIn Isn't Facebook

    We all heard it, usually on any post that draws some attention, or on something that's at all controversial, like…

  • Charlotte No Kids In Cages - June 12

    Charlotte No Kids In Cages - June 12

    Our government is separating families as who cross our southern border and putting kids in cages. Often they've gone…

  • Haiku Driven Development with Packer and Terraform

    Haiku Driven Development with Packer and Terraform

    Packer and Terraform are awesome tools for building machine images and deploying cloud infrastructure (respectively)…

  • Sacramento Tech Coop Meetup

    Sacramento Tech Coop Meetup

    I am pleased to announce that CodeSolid is sponsoring the Sacramento Tech Coop Meetup. Our first meeting will be…

    3 条评论
  • A Sacramento Tech Coop: Not Just Nerds, Not Just Communists

    A Sacramento Tech Coop: Not Just Nerds, Not Just Communists

    Mention the word "coop" and most people think of healthy foods, vegetarians, and clerks in Birkenstocks. Put the word…

    1 条评论
  • The Sweet Spot for Employee Owned Source Code

    The Sweet Spot for Employee Owned Source Code

    Employee owned source code is a new approach to creating software and a new software licensing model that few people…

    3 条评论

社区洞察

其他会员也浏览了