
عنوان:
100 Go Mistakes and How to Avoid Them
نویسنده:
Teiva Harsanyi
انتشارات:
Manning Publications
تاریخ انتشار:
2022
حجم:
3.9MB
معرفی کتاب:" ۱۰۰ اشتباه در Go و نحوه اجتناب از آنها: ویرایش ۱ "
اشتباهات کد Go خود را که حتی نمیدانستید مرتکب میشدید پیدا کنید و بهرهوری خود را با اجتناب از اشتباهات و مشکلات رایج افزایش دهید. کتاب 100 Go Mistakes and How to Avoid Them به شما نشان میدهد چگونه:
- از رایجترین اشتباهات توسعهدهندگان Go اجتناب کنید
- اپلیکیشن Go خود را ساختاردهی و سازماندهی کنید
- دادهها و ساختارهای کنترلی را بهطور کارآمد مدیریت کنید
- خطاها را به شیوهای ایندوماتیک مدیریت کنید
- مهارتهای همزمانی (Concurrency) خود را بهبود دهید
- کد خود را بهینهسازی کنید
- اپلیکیشن خود را برای تولید آماده کرده و کیفیت تستها را بهبود دهید
کتاب 100 Go Mistakes and How to Avoid Them به اشتباهات رایج در کد Go که ممکن است حتی از آنها بیخبر باشید میپردازد. شما با بخشهای کلیدی زبان مانند همزمانی (Concurrency)، تست، ساختارهای داده و موارد دیگر آشنا میشوید و میآموزید چگونه اشتباهات خود را شناسایی و اصلاح کنید. در طول مطالعه، با چالشهای مدیریت دادههای JSON و سرویسهای HTTP آشنا میشوید، بهترین شیوهها برای سازماندهی کد Go را میشناسید و میآموزید چگونه از slices بهطور کارآمد استفاده کنید.
درباره فناوری
درک اشتباهات بهترین روش برای بهبود کیفیت کد شماست. این کتاب منحصر به فرد 100 اشکال و ناکارآمدی رایج در اپلیکیشنهای Go را بررسی کرده و نکات و تکنیکهایی برای جلوگیری از آنها در پروژههای شما ارائه میدهد.
درباره کتاب
کتاب 100 Go Mistakes and How to Avoid Them به شما نشان میدهد چگونه مشکلات رایج برنامهنویسی در Go را با کدی ایندوماتیک و خوانا جایگزین کنید. در این کتاب دهها مثال و مطالعه موردی جالب خواهید یافت که به شما کمک میکند اشتباهات رایج خود را شناسایی کرده و از آنها اجتناب کنید. نویسنده، Teiva Harsanyi، تکنیکهای اجتناب از اشتباهات را در دستههای مختلفی از جمله انواع دادهها، رشتهها، همزمانی و تستها سازماندهی کرده است.
آنچه خواهید آموخت
- شناسایی و رفع اشکالات در کد
- اجتناب از مشکلات در ساختار و طراحی اپلیکیشن
- بهبود دادهها و ساختارهای کنترلی
- بهینهسازی کد با حذف ناکارآمدیها
مخاطبان کتاب
این کتاب برای توسعهدهندگان با تجربه در زبان Go مناسب است.
درباره نویسنده
Teiva Harsanyi یک مهندس نرمافزار ارشد در Docker است که تجربه زیادی در صنایع مختلف، از جمله صنایع حساس مانند مدیریت ترافیک هوایی، دارد.
فهرست مطالب
- Preface
- Chapter 1: Probability
- Linda the Banker
- Probability
- Fraction of Bankers
- The Probability Function
- Political Views and Parties
- Conjunction
- Conditional Probability
- Conditional Probability Is Not Commutative
- Condition and Conjunction
- Laws of Probability
- Summary
- Exercises
- Chapter 2: Bayes’s Theorem
- The Cookie Problem
- Diachronic Bayes
- Bayes Tables
- The Dice Problem
- The Monty Hall Problem
- Summary
- Exercises
- Chapter 3: Distributions
- Distributions
- Probability Mass Functions
- The Cookie Problem Revisited
- 101 Bowls
- The Dice Problem
- Updating Dice
- Summary
- Exercises
- Chapter 4: Estimating Proportions
- The Euro Problem
- The Binomial Distribution
- Bayesian Estimation
- Triangle Prior
- The Binomial Likelihood Function
- Bayesian Statistics
- Summary
- Exercises
- Chapter 5: Estimating Counts
- The Train Problem
- Sensitivity to the Prior
- Power Law Prior
- Credible Intervals
- The German Tank Problem
- Informative Priors
- Summary
- Exercises
- Chapter 6: Odds and Addends
- Odds
- Bayes’s Rule
- Oliver’s Blood
- Addends
- Gluten Sensitivity
- The Forward Problem
- The Inverse Problem
- Summary
- More Exercises
- Chapter 7: Minimum, Maximum, and Mixture
- Cumulative Distribution Functions
- Best Three of Four
- Maximum
- Minimum
- Mixture
- General Mixtures
- Summary
- Exercises
- Chapter 8: Poisson Processes
- The World Cup Problem
- The Poisson Distribution
- The Gamma Distribution
- The Update
- Probability of Superiority
- Predicting the Rematch
- The Exponential Distribution
- Summary
- Exercises
- Chapter 9: Decision Analysis
- The Price Is Right Problem
- The Prior
- Kernel Density Estimation
- Distribution of Error
- Update
- Probability of Winning
- Decision Analysis
- Maximizing Expected Gain
- Summary
- Discussion
- More Exercises
- Chapter 10: Testing
- Estimation
- Evidence
- Uniformly Distributed Bias
- Bayesian Hypothesis Testing
- Bayesian Bandits
- Prior Beliefs
- The Update
- Multiple Bandits
- Explore and Exploit
- The Strategy
- Summary
- More Exercises
- Chapter 11: Comparison
- Outer Operations
- How Tall Is A?
- Joint Distribution
- Visualizing the Joint Distribution
- Likelihood
- The Update
- Marginal Distributions
- Conditional Posteriors
- Dependence and Independence
- Summary
- Exercises
- Chapter 12: Classification
- Penguin Data
- Normal Models
- The Update
- Naive Bayesian Classification
- Joint Distributions
- Multivariate Normal Distribution
- A Less Naive Classifier
- Summary
- Exercises
- Chapter 13: Inference
- Improving Reading Ability
- Estimating Parameters
- Likelihood
- Posterior Marginal Distributions
- Distribution of Differences
- Using Summary Statistics
- Update with Summary Statistics
- Comparing Marginals
- Summary
- Exercises
- Chapter 14: Survival Analysis
- The Weibull Distribution
- Incomplete Data
- Using Incomplete Data
- Light Bulbs
- Posterior Means
- Posterior Predictive Distribution
- Summary
- Exercises
- Chapter 15: Mark and Recapture
- The Grizzly Bear Problem
- The Update
- Two-Parameter Model
- The Prior
- The Update
- The Lincoln Index Problem
- Three-Parameter Model
- Summary
- Exercises
- Chapter 16: Logistic Regression
- Log Odds
- The Space Shuttle Problem
- Prior Distribution
- Likelihood
- The Update
- Marginal Distributions
- Transforming Distributions
- Predictive Distributions
- Empirical Bayes
- Summary
- More Exercises
- Chapter 17: Regression
- More Snow?
- Regression Model
- Least Squares Regression
- Priors
- Likelihood
- The Update
- Marathon World Record
- The Priors
- Prediction
- Summary
- Exercises
- Chapter 18: Conjugate Priors
- The World Cup Problem Revisited
- The Conjugate Prior
- What the Actual?
- Binomial Likelihood
- Lions and Tigers and Bears
- The Dirichlet Distribution
- Summary
- Exercises
- Chapter 19: MCMC
- The World Cup Problem
- Grid Approximation
- Prior Predictive Distribution
- Introducing PyMC3
- Sampling the Prior
- When Do We Get to Inference?
- Posterior Predictive Distribution
- Happiness
- Simple Regression
- Multiple Regression
- Summary
- Exercises
- Chapter 20: Approximate Bayesian Computation
- The Kidney Tumor Problem
- A Simple Growth Model
- A More General Model
- Simulation
- Approximate Bayesian Computation
- Counting Cells
- Cell Counting with ABC
- When Do We Get to the Approximate Part?
- Summary
- Exercises
- Index
مشخصات
نام کتاب
100 Go Mistakes and How to Avoid Them
نویسنده
Teiva Harsanyi
انتشارات
Manning Publications
تاریخ انتشار
2022
ISBN
9781617299599
تعداد صفحات
385
زبان
انگلیسی
فرمت
حجم
3.9MB
موضوع
Programming