Ruby Video
Talks
Speakers
Events
Topics
Leaderboard
Sign in
Talks
Speakers
Events
Topics
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
IN 2009 _WHY TWEETED: "PROGRAMMING IS RATHER THANKLESS. YOU SEE YOUR WORKS BECOME REPLACED BY SUPERIOR WORKS IN A YEAR. UNABLE TO RUN AT ALL IN A FEW MORE." I take this as a call to action to run old code. In this talk we dig, together, through historical Ruby. We will have fun excavating interesting gems from the past. Further, I will answer the following questions: What code greater than 12 years old still runs in Ruby 3.0? What idioms have changed? And for the brave: how can you set up an environment to run Ruby 1.8 code from ~2008 on a modern machine?
Date
Summarized using AI?
If this talk's summary was generated by AI, please check this box. A "Summarized using AI" badge will be displayed in the summary tab to indicate that the summary was generated using AI.
Show "Summarized using AI" badge on summary page
Summary
Markdown supported
The video titled "Ruby Archaeology" features Nick Schwaderer discussing the historical aspects of Ruby programming language during RubyConf 2021. The main theme revolves around revisiting old Ruby code to explore how the language and its ecosystem have evolved over the years. Schwaderer emphasizes the importance of understanding historical Ruby code, particularly from around 2008-2009, and provides practical insights on how to run such legacy code on modern systems. Key points covered in the talk include: - **Introduction to Ruby Archaeology**: Schwaderer defines Ruby Archaeology as the exploration of Ruby's past through its code and the significance of keeping an eye on older patterns and styles in programming. - **Setting Up the Environment**: He explains the steps to create a 2008 Ruby environment on modern machines using Vagrant, detailing commands to set up an appropriate operating system and to install Ruby 1.8.7, addressing the challenges faced during this process. - **Exploration of Legacy Gems**: Schwaderer shares insights about older Ruby gems such as Hpricot, an HTML parser, and Nokogiri, which was introduced later as a more efficient alternative. He highlights how to run and work with these gems, illustrating this with coding demonstrations. - **The Importance of Code History**: By looking at the past, developers can learn different idioms and practices that, while perhaps out of favor now, shaped the Ruby language's evolution. He also discusses programming styles formerly used, such as method calling conventions and the use of certain structures. - **Building a Full Stack Application**: Schwaderer demonstrates how to build a micro web application using Camping, a lightweight Ruby web framework from that era, discussing its components and functionality in a hands-on manner. - **Conclusions and Future Directions**: He concludes by encouraging developers to explore the wealth of Ruby code available and to embrace the whimsical nature of programming that Ruby often embodies. He promotes an openness to different coding styles and the learning opportunities they present. - **Resources Provided**: Schwaderer shares access to a Vagrant box containing Ruby 1.8.7 and an example application to facilitate further exploration of Ruby’s past. In summary, the talk invites viewers to appreciate the historical depth of the Ruby programming language and inspires them to dive into legacy code as a means of understanding and enhancing their programming skills today.
Suggest modifications
Cancel