ch
Feedback

不要被骗子欺骗!Telemetrio 会找到并标记这些频道 👉 如果想查看标记,请订阅

Your Coding Teacher

Your Coding Teacher

前往频道在 Telegram

Coding, software engineering & #bitcoin technologies. I'll make you a better thinker, not just a better developer | Ex Amazon, Senior DevOps @eBay

显示更多
未指定国家技术与应用98 126
334
订阅者
无数据24 小时
无数据7 天
无数据30 天
帖子存档
Dumb programming myth #4155: "You have to be a genius to become a programmer"

You: "It is important to write readable code" Also you: "main(_){_^448&&main(-~_);putchar(--_%64?32|-~7[__TIME__-_/8%8][">'txiZ^(~z?"-48]>>";;;====~$::199"[_*2&8|_/64]/(_&2?1:8)%8&1:10);} "

Broke: "I want to learn to code" Woke: "I will learn to code" Bespoke: "I learned to code, just waiting for time to catch up"

The same way musicians practice scales, you should have some exercises to get you up to speed. For example, when I learn a new language, I make sure I implement some algorithms (that I already know) that cover the basics: - Tree traversals - BFS - Mergesort - Etc

"The theory behind open source is simple. In the case of an operating system, the source code is free. Anyone can improve it, change it, exploit it. But those improvements, changes, and exploitations have to be made freely available." - Linus Torvalds

You learn more from "unexpected results" than from getting things right the first time

If you're overwhelmed by some big complex problem, break it down into small chunks. Focus on each of them individually and then build up your solution. Divide and conquer.

If your bug has a one in a million chance of happening, it'll happen next Friday

Design patterns in 1 tweet Observer: A publisher notifies a list of subscribers of changes in a class Ex: People who receive their monthly subscriptions (subscribers/observers) from their favourite maganizes (publishers)

The book will be out in less than 10 hours. Get a copy now before the price doubles

Make sure your code relies on abstractions. Your classes should know WHAT other classes/functions do But it's better if they don't rely on HOW they do what they do

Ninety percent of the coding you'll do as a beginner is hunting down bugs.

Software with no bugs? That only happens in movies

How to manage access to the resources in a GCS bucket. - ACLs grant access to buckets and individual objects - IAM roles are project or bucket wide permissions Both methods work in tandem. For temporary access to users outside of GCP, use Signed URLs.

Don't get attached to any particular language, framework or technology. They come and go. Focus on principles.

The try/finally structure lets you run cleanup code even if exceptions were raised in the try block. The else block minimizes the amount of code in try blocks. It can be used to perform additional actions after a successful try.

"It's hard enough to find an error in your code when you're looking for it. It's even harder when you've assumed your code is error-free." - Steve McConnell

"Don't tell people how to do things, tell them what to do and let them surprise you with their results." - George S. Patton

"I went to school to learn how to program software applications, which inevitably have bug defects. There was no course at my university on testing, debugging, profiling, or optimization. These things you have to learn on your own, usually in a tight deadline." Juixe TechKnow

4 Random coding tips Write useful comments Stay humble Don't be afraid to ask for help Keep practicing