šŸ‘©ā€šŸ’» Learn a New Programming Language in Just One Week!

Halee Pagel
3 min readMay 29, 2020

Well, well, well. You may think the title of my post is clickbaitā€¦.but it isnā€™t. Hereā€™s how I learned a new programming language in just one week and created a project with it! This was an assignment I did during one week of Code Chrysalisā€™ immersive coding bootcamp.

Pick a new to you language and let this post be a guide. I chose Ruby. For the purpose of this article, Iā€™ll be referencing Ruby, but replace it with whatever language youā€™re learning. Okay, are you ready? Letā€™s get learning!

Photo by Tim Mossholder on Unsplash

ā˜ļø First things firstā€¦

Weā€™re going to take this step-by-step. The very first thing I did was search ā€œRuby koansā€. What are koans? A koan is originally a concept from Zen Buddhism that involves testing a studentā€™s progress and understanding. In programming, koans are a way of challenging our perception of a programming language and testing our ability to work with it.

After you search for ā€œRuby koansā€, find a suitable link with a step-by-step guide introducing you to the language. I used this websiteā€™s Ruby koans.

āœ‹ But wait!

Okay, before we dive headfirst into learning a new programming language we need to make sure itā€™s installed on our computer. Go do that! Is Ruby installed on your computer? Yes? Continue reading!

This languageā€¦.whatā€™s the best version for me?

This is definitely a question you should ask yourself. Some programming languages are splintered. This means youā€™ll need to do some research and pick the specific version of this language that you want to work with.

šŸ“ Initial to-do list

  • What is the languageā€™s package manager? RubyGems
  • Is there an online sandbox for your language? repl.it, Ruby Fiddle
  • What IDE is recommended for this language? Atom, VS Code, VIM
  • What about testing suites? TestUnit, MiniTest, Rspec
  • Is there a debugger? simple: IRB (Interactive Ruby); robust: Pry
Photo by Neel on Unsplash

āŒØļø Letā€™s get typing!

After you have gone through everything above, itā€™s now finally time to get typing. Start with the basics. Create some variables. Reassign them. Write some functions. Make some objects and lists. Remember, the faster you make mistakes, the faster you learn. Fail fast. Learn faster.

šŸ’” Ruby ProTips:

  • File naming: snake_case_file_naming.rb
  • Test file naming: snake_case_file_naming_test.rb
  • Terminal command: gem install <library_name_here>

šŸ¤“ Even More Research

Great job so far! Weā€™re familiar with the basics of Ruby. Letā€™s expand our knowledge even further. What frameworks and libraries are out there?

šŸ–¼ Popular Ruby Frameworks

  • Ruby on Rails
  • Hanami
  • Sinatra
  • Padrino
  • Cuba

šŸ“š Popular Ruby Libraries

  • Byebug
  • ElasticSearch
  • Minimagick
  • Capybara
  • HTTPClient

šŸ“° Ruby in the News

šŸ’­ Final thoughts

I hope this article was helpful. Learning a new language is daunting. But, if you break things down into small tasks the challenge becomes much easier. What language did you learn?

Thanks for reading! My name is Halee Pagel (rhymes with Cali Bagel) and Iā€™m a software engineer in Tokyo, Japan. You can find me on twitter which I mostly use for liking tech memes and MLB updates. āœŒļø

--

--

Halee Pagel

Software Engineer | From šŸ‡ŗšŸ‡ø | Currently šŸ‡ÆšŸ‡µ | Loves šŸŖāš¾ļøšŸŽ®