filmov
tv
Understanding Randomness: 7 Ways to Solve D&D Character

Показать описание
We look at 7 different solutions to Exercism's D&D Character exercise - exploring solutions using different approaches to randomness and metaprogramming in Kotlin, Nim, Racket, Tcl, Python, C++ and Haskell.
Kick back and enjoy 30mins of learning with Jeremy and Erik, then go solve the exercise in your favourite way on Exercism.
Links:
Featured solutions:
Timestamps:
00:00:00 Introduction
00:00:53 Kotlin: assign fields directly, ability use random in range and sort + drop
00:05:13 Nim: seed random, explicit side-effects and use sum - min for ability score
00:13:52 Racket: create new character via plain function calls
00:17:51 Tcl: loop over all fields, separate procedure to roll die
00:22:44 Python: dynamically create fields
00:25:41 C++: ensure uniform distribution and keep track of min value
00:35:33 Haskell: define generators
00:44:37 Conclusion
Kick back and enjoy 30mins of learning with Jeremy and Erik, then go solve the exercise in your favourite way on Exercism.
Links:
Featured solutions:
Timestamps:
00:00:00 Introduction
00:00:53 Kotlin: assign fields directly, ability use random in range and sort + drop
00:05:13 Nim: seed random, explicit side-effects and use sum - min for ability score
00:13:52 Racket: create new character via plain function calls
00:17:51 Tcl: loop over all fields, separate procedure to roll die
00:22:44 Python: dynamically create fields
00:25:41 C++: ensure uniform distribution and keep track of min value
00:35:33 Haskell: define generators
00:44:37 Conclusion
7 Ways to Make a Conversation With Anyone | Malavika Varadan | TEDxBITSPilaniDubai
What Are The Types Of Sampling Techniques In Statistics - Random, Stratified, Cluster, Systematic
7 life skills everyone should learn 💡
Random variables | Probability and Statistics | Khan Academy
How To Keep A Conversation Going With Anyone
Study tips straight A students never told you! 😡
Secret To Getting Better At Talking To People
How to Memorize Anything
Can you solve this equation?
Dumb ways to die…🤕😵💫😭
🧵🦋7 WAYS TO USE UP YOUR CRUMBS - SCRAP QUILTING
Brian Cox explains quantum mechanics in 60 seconds - BBC News
This Video is 0 Seconds Long
Probability of Consecutive Coin Flips
The Two Types of Random in Game Design
Expected Value and Variance of Discrete Random Variables
Mean median mode range
How to Write Faster
5 signs you’re smarter than average #shorts
Avoid Saying This in Your Essay
How To Predict Random Numbers Generated By Computers
Infinite chocolate trick explained
7 Ways To Pull Carbon From The Atmosphere | Random Thursday
The 🔑 to becoming more ENGAGING when you speak!
Комментарии