Don't Make The Same Mistake Mike Did đ©
June 30, 2020
Howdy!
Mike here with a small confession to make. I failed my first semester of college Calculus. It was devastating!
I went from being a straight-A student in high school to a college flunky. As the first person in my family to go to college, my parents went from being over-the-moon proud to what-in-the-world worried. đŹ
You have to understand, Calculus wasnât an elective course for me. It was a requirement for a Computer Science degree. And Calc I was only the beginning. Calc II and other advanced math courses were in my future.
So what went wrong? Did I not try hard enough? đ€ Did I party too much? đ
Actually, neither.
Over a cold Christmas break back home in Montana, I realized I failed Calculus for two reasons.
First, I wasnât prepared. I didnât understand the âlanguageâ of Calculus. Unlike most of my college classmates, I hadnât taken a pre-Calculus course in high school. That put me at a serious disadvantage as I was unfamiliar with concepts such as limits, derivatives, and integrals.
Secondly, my Calculus teacher was dull and boring. And thatâs not a personality you want teaching a 7am course to 19 year olds! đŽ It didnât help that he had a thick Russian accent. I can still hear his voice, willing me to fail.
Instructors of technical topics seem to fall into two categories.
Theyâre either like Ferris Buellerâs teacher Mr. Lorensax or Doc Emmett Brown. You remember them from the 1980âs movies, right?
Mr. Lorensax was the archetypical Economics teacher in the comedy Ferris Buellerâs Day Off. Monotonous. Mundane. Mind-numbing. đ” Assign someone like Mr. Lorensax the job of teaching an exciting programming language and it would go like this:
âBueller?â âBueller?â âThis is a stringâŠâ âThis is an integerâŠâ âThis is a functionâŠâ âAnyone?â âAnyone?â
Sorry, Professor. We all decided to take the day off!
Or you can try learning from the zany Doc Emmett Brown from Back To The Future. Heâs a genius alright, but nobody can seem to follow his logic.
Even the time traveler Marty McFly canât keep up as the eccentric Doc rambles on about 1.21 gigawatts, channeling energy, molecular structure, and flux capacitors. âĄïž
Put this guy in charge of teaching you Elixir and the syllabus would look like:
-
Lecture #1: 1 + 1
-
Lecture #2: Asynchronous messaging between stateful GenServers
-
Lecture #3: Fault Recovery with OTP Supervisors for Flux Capacitors
Whoa, Doc! Didnât you leave something out between lectures #1 and #2? We were following along just fine and feeling good after the first lesson, and then whamo!
âAnyone?â âAnyone?â
Youâre left hung out to dry when courses make the wrong assumption about your previous experience or have the wrong pace.
In the same way I wanted to learn Calculus but wasnât quite prepared, you may have jumped right into LiveView without being ready. I get it! đ
It probably isnât the LiveView programming model thatâs tripping you up. If youâre struggling, itâs likely because youâre not yet comfortable enough with the Elixir language itself. So far in our Phoenix LiveView course, the examples assume you know the following Elixir concepts and syntax:
- immutability
- pattern matching
- modules
- named and anonymous functions
- function clauses and guards
- lists, maps, and structs
- comprehensions
- transformations and the pipe operator
- using Enum to process collections
Indeed, writing even a basic LiveView assumes you know a whole bunch about Elixir and functional programming.
And weâre only halfway through the LiveView course! In upcoming examples youâll see more advanced Elixir and weâll use parts of OTP including GenServers and Supervisors. As youâre probably realizing, the key to firing up LiveView in your own app is feeling confident with Elixir and OTP.
So how do you get that confidence?
Well, if youâre like me, the thought of enduring yet another programming language course is simply dreadful. Too many are either mind-numbingly slow or mind-blowing fast. đ©
What if there was a way to learn Elixir that was approachable and engaging?
A kind of sweet spot. You know the one. Itâs when a course:
-
is perfectly paced to meet you where youâre at
-
takes a practical project-based approach, not a sluggish syntax-approach
-
deconstructs underlining mechanics before introducing abstractions
I found that sweet spot during my spring semester of college. I got my hands on some study guides that met me where I was in terms of experience. They helped me understand the Calculus way of thinking. And then I re-enrolled in Calculus but chose a different instructor who had a reputation for making Calculus approachable, practical, and even fun!
đŻ Our video course puts you in the sweet spot of learning Elixir and OTP.
Itâs not too slow and itâs not too fast. Itâs paced just right to keep you engaged and rapidly moving toward your goal.
"Most courses have the wrong pace for experienced devs. Yours is balanced perfectly (enough detail to learn and not get lost, but also a relatively fast pace and focus on idiomatic aspects)." Weronika Ćabaj
In our Elixir and OTP course, we build a full-featured app step-by-step, from start to finish. You see every move, every change, and every refactoring firsthand.
"You kept me interested at every step and I now understand complex concepts I never thought I would. You opened a whole new way of thinking for me." Josef Richter
Youâll come away ready to ace LiveView! And youâll have the confidence to build pretty much anything with Elixir and OTP.
"Really enjoying the @pragmaticstudio Elixir course. It doesn't waste any time. I also like that the main thing built is a web server, which gives some insight into Phoenix. Highly recommend!" David Tang
If you like how Nicole and I teach, then we think youâll love our Elixir & OTP course. You get:â
- 6 hours of live-coding videos
- 22 narrated animations
- 56 hands-on exercises
- all the source code, of course
- lifetime access!
As for my adventures in Calculus, things went a lot smoother the second semester. I aced Calculus I (whew!) and, much to my surprise, I went on to ace Calculus II the next semester. And that put me back on track to earning my degree.
Along the way I learned a valuable lesson: You can learn almost anything with the right material and instructor. âïž
We hope youâll join us in the Studio to learn Elixir & OTP!