-3
$\begingroup$

Hello world!
Learning OOP I came up on this Puzzle.
We can call this JPuzzle
Kinda simple, but no-one gave the right answer yet.
Here is the JPuzzle:


  • _=(..._)=>_

  • It is JavaScript

  • It is a true form

  • "Go there don’t know where bring it don’t know what"


What is it?

P.S. The Puzzle is not about the syntax, or how it works, or what it does. Think different.

$\endgroup$
12
  • 2
    $\begingroup$ Can we get a hint? $\endgroup$
    – Ankit
    Commented Aug 28, 2020 at 3:52
  • 1
    $\begingroup$ @Ankit It is connected with OOP in some way. $\endgroup$
    – CHERNOMOR
    Commented Aug 28, 2020 at 5:36
  • 2
    $\begingroup$ Is “true from” a typo, or a cryptic hint? $\endgroup$
    – deceze
    Commented Aug 28, 2020 at 6:10
  • 1
    $\begingroup$ @deceze I can not give any more hints, unfortunately. $\endgroup$
    – CHERNOMOR
    Commented Aug 28, 2020 at 12:02
  • 2
    $\begingroup$ @CHERNOMOR, to explain the question & answer downvotes: it's not clear how anyone could get the answer with only the information provided. That means this boils down to a "guess what I'm thinking" puzzle; such puzzles are considered poor-quality by this community. $\endgroup$
    – bobble
    Commented Dec 15, 2020 at 21:09

1 Answer 1

-5
$\begingroup$

The answer is - Parametric Polymorphism. My functional expression above can take any kind and any number of inputs(arguments). And will simply return all of them as an array. But, can we solve such task any other way? "Go there don’t know where bring it don’t know what" - is not "bring me anything". So, random return is not the answer. If we go back to the fairy-tale, we'll see, that our hero brought some entity with no form, which returns anything you ask. You say food, it returns food, e.t.c. Parametric Polymorphism itself, as a concept, is what the king asked our hero to deliver.

$\endgroup$
5
  • 4
    $\begingroup$ So what specific "internationally well-known fairy tale" is the answer? Or is this just a generic fairy tale? $\endgroup$
    – bobble
    Commented Dec 14, 2020 at 4:48
  • 4
    $\begingroup$ My 6yo disagrees about this being a fairy tale. $\endgroup$ Commented Dec 14, 2020 at 14:17
  • $\begingroup$ @bobble The name is "Go there don’t know where bring it don’t know what". I thought the this tale itself is international, but I may be wrong, if this name corresponds only to russian tale. But, There must be international tales with that concept. $\endgroup$
    – CHERNOMOR
    Commented Dec 14, 2020 at 14:56
  • $\begingroup$ @IanMacDonald He might be right. $\endgroup$
    – CHERNOMOR
    Commented Dec 14, 2020 at 14:56
  • 1
    $\begingroup$ @bobble From googling, that name itself seems to be a Russian fairytale. I'm still confused by the rest of the answer though. $\endgroup$
    – Anon
    Commented Dec 15, 2020 at 8:53

Not the answer you're looking for? Browse other questions tagged or ask your own question.