RSSAmplifier

kaukas · Jul 28, 2022

An Idiomatic Ruby Interview

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

I had an interview for a Ruby developer position. As part of a live Rails coding session a class performing operations needed refactoring into supporting services. Let's say the logic in question is query = 'troglodytes troglodytes' response = URI . open( "https://xeno-canto.org/api/2/recordings?query=#{ CGI . escape(query) }" ) if response . status [ 0 ] == '200' body = JSON . load(response) ...…

Read on kaukas.mataroa.blog

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.