8 kyu

Freudian translator

5,354 of 10,046gomesalexandre

Description:

You probably know that number 42 is "the answer to life, the universe and everything" according to Douglas Adams' "The Hitchhiker's Guide to the Galaxy". For Freud, the answer was quite different...

In the society he lived in, people - women in particular - had to repress their sexual needs and desires. This was simply how the society was at the time. Freud then wanted to study the illnesses created by this, and so he digged to the root of their desires. This led to some of the most important psychoanalytic theories to this day, Freud being the father of psychoanalysis.

Now, basically, when a person hears about Freud, s/he hears "sex" because for Freud, everything was related to, and explained by sex.

In this kata, the function will take a string as its argument, and return a string with every word replaced by the explanation to everything, according to Freud. Note that an empty string, or no arguments, should return an empty string.

Fundamentals

Similar Kata:

Stats:

CreatedApr 17, 2016
PublishedApr 17, 2016
Warriors Trained13375
Total Skips325
Total Code Submissions24995
Total Times Completed10046
JavaScript Completions5354
Ruby Completions507
Python Completions4165
CoffeeScript Completions15
COBOL Completions10
Lua Completions131
Scala Completions15
Total Stars86
% of votes with a positive feedback rating90% of 1494
Total "Very Satisfied" Votes1238
Total "Somewhat Satisfied" Votes207
Total "Not Satisfied" Votes49
Ad
Contributors
  • gomesalexandre Avatar
  • Javatlacati Avatar
  • myTerminal Avatar
  • GiacomoSorbi Avatar
  • anter69 Avatar
  • FArekkusu Avatar
  • akar-0 Avatar
  • Rocketboomer Avatar
  • ewelborn Avatar
  • KayleighWasTaken Avatar
Ad