19 yo student *and* a full-time developer.
Building with Rails currently, exploring new frontiers.
I enjoy functional programming, Linux, FOSS, refactoring and mentoring :)
defmoduleSpinnerdo@specspin(String.t())::String.t()defspin(sentence)doString.replace(sentence,~r/\w+/,fnword->ifString.length(word)>4doString.reverse(word)elsewordendend)endend"Please spin me around!"|>Spinner.spin()|>IO.puts()# => "esaelP spin me dnuora!"
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Elixir: