-6
\$\begingroup\$

Solve,

((15, 'less_than', 30) == true)

Use any language you are comfortable with. The only thing you must not do is mentally substitute the words for the symbols.

Here's a link to the gist if you want to fork and show your solution:

https://gist.github.com/m3talsmith/5599640

Bonus: Drink one beer first.

\$\endgroup\$
  • 1
    \$\begingroup\$ i don't see any unknown variables in that... equation... what exactly is to be solved? \$\endgroup\$ – mniip May 17 '13 at 15:53
  • 1
    \$\begingroup\$ Could you explain what this is supposed to be? A bit confused here. \$\endgroup\$ – Riking May 17 '13 at 16:08
  • 7
    \$\begingroup\$ I drank a beer and still cannot understand what there is to solve in ((15, 'less_than', 30) == true). I think I'll go have another. \$\endgroup\$ – DavidC May 17 '13 at 19:27
  • 1
    \$\begingroup\$ @DavidCarraher We should have a brainstorming gathering \$\endgroup\$ – Dr. belisarius May 18 '13 at 0:38
  • \$\begingroup\$ Sure. With few more people and a barrel of beer it will soon begin to make sense. \$\endgroup\$ – DavidC May 18 '13 at 1:23
2
\$\begingroup\$

PHP, 22 characters

strval(15-30)[0]=='-';

Online demo (var_dump)

\$\endgroup\$
1
\$\begingroup\$

Python

assert 15 < 30

Throws an AssertionError if not.

\$\endgroup\$

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