По аналогии с Zen of Python, Dave Cheney представил The Zen of Go на GopherCon Israel 2020.
1. Each package fulfils a single purpose 2. Handle errors explicitly 3. Return early rather than nesting deeply 4. Leave concurrency to the caller 5. Before you launch a goroutine, know when it will stop 6. Avoid package level state 7. Simplicity matters 8. Write tests to lock in the behaviour of your package’s API 9. If you think it’s slow, first prove it with a benchmark 10. Moderation is a virtue 11. Maintainability counts
По аналогии с Zen of Python, Dave Cheney представил The Zen of Go на GopherCon Israel 2020.
1. Each package fulfils a single purpose 2. Handle errors explicitly 3. Return early rather than nesting deeply 4. Leave concurrency to the caller 5. Before you launch a goroutine, know when it will stop 6. Avoid package level state 7. Simplicity matters 8. Write tests to lock in the behaviour of your package’s API 9. If you think it’s slow, first prove it with a benchmark 10. Moderation is a virtue 11. Maintainability counts
Telegram is a cloud-based instant messaging service that has been making rounds as a popular option for those who wish to keep their messages secure. Telegram boasts a collection of different features, but it’s best known for its ability to secure messages and media by encrypting them during transit; this prevents third-parties from snooping on messages easily. Let’s take a look at what Telegram can do and why you might want to use it.
How to Use Bitcoin?
n the U.S. people generally use Bitcoin as an alternative investment, helping diversify a portfolio apart from stocks and bonds. You can also use Bitcoin to make purchases, but the number of vendors that accept the cryptocurrency is still limited. Big companies that accept Bitcoin include Overstock, AT&T and Twitch. You may also find that some small local retailers or certain websites take Bitcoin, but you’ll have to do some digging. That said, PayPal has announced that it will enable cryptocurrency as a funding source for purchases this year, financing purchases by automatically converting crypto holdings to fiat currency for users. “They have 346 million users and they’re connected to 26 million merchants,” says Spencer Montgomery, founder of Uinta Crypto Consulting. “It’s huge.”