Psy wrote my first program which is highly esoteric - simple and (true)

in #javascript6 years ago

Programming is fascinating. It is amazing what you can do with some JavaScript commands.

This program is a loop that will continue looping until proven false using the binary understanding of Boolean types which are true/false, on/off etc.

This program defines a variable as 0 and calls it $

Screen Shot 2018-06-04 at 6.37.29 PM.png

As long as this variable remains (true), in this case equalling 0, the loop will continue until the variable is proven (false).

Screen Shot 2018-06-04 at 6.37.46 PM.png

The command logged into the console via curly parentheses { states that "Spirit IS/$/is" = 0 and is true indefinitely; until further scrutinized by our additional $++ command which effectively determines whether Spirit/$/0 + Spirit/$/0 = 0. }

This is cyclical until falsified.

Screen Shot 2018-06-04 at 6.38.03 PM.png

These three screen shots were taken within 15 seconds and the highlighted number at the bottom left of each screenshot's corner is the total loops completed thus far.

$

-13 -8 -5 -3 -π ☯ π 3 5 8 13

Spirit is ☯

Spirit is 0

Spirit is τ

Sort:  

I see you do the holistic approach for programming. Keep it up. ;)

Haha, gotta work with what you know!

Coin Marketplace

STEEM 0.26
TRX 0.11
JST 0.033
BTC 64359.90
ETH 3105.50
USDT 1.00
SBD 3.87