Daniel Colson joins Andrew and Julie to discuss getting better at reading source code. He explains why reading source code can be beneficial and encourages trusting your curiosity when it comes to understanding code. He dives into Ruby source code and offers some tips on performance testing. Lastly, he talks about his new library for profiling FactoryBot and the idea of a flipped classroom. Download this episode today!
[00:45] Daniel Colson is our guest today and gives a brief introduction. He is also a FactoryBot maintainer and explains what it is.
[02:40] Andrew is curious about the relation to Music majors and programming and Daniel has some ideas on it.
[03:20] How much of your time is spent reading code? Daniel talks about the different types of code programmers often have to read and the benefits that come along with it. Andrew explains why he reads a lot of source code and how it made him better at code review.
[06:30] Do you copy and paste code without always understanding it fully? You aren't alone! Daniel has some suggestions for trusting your curiosity and how he likes to read gem source code and how the tests can provide lots of clues.
[13:38] Daniel has been reading the Ruby source code and dives into the why and his journey into learning C.
[20:20] How do we test the performance of code? Daniel suggests using benchmark-ips for Ruby code and why evaluating performance is important.
[23:10] Julie asks if Ruby Under a Microscope would be a good book for juniors to read.
[25:40] Daniel believes in a concept called "flipped classroom", which he explains and how it applies to learning programming. He also explains how he would prefer to give more interactive conference talks, which Julie and Andrew both encourage.
[29:20] Daniel has a new library for profiling FactoryBot that you will definitely want to check out!
Senior Product Developer at Podia, co-host of the Remote Ruby podcast, and co-editor of the Ruby Radar newsletter
Software developer at Codecademy
What is Ruby for All?
A weekly Ruby focused podcast hosted by Andrew Mason and Julie J. Each week we discuss topics ranging from Ruby, Ruby on Rails, learning, how to be a better developer, and more. The focus is on providing a podcast that caters to junior Ruby on Rails developers.