You can code programs using just whitespaces #TECHFACTS #TECHYRAO
You can code programs using just whitespaces #TECHFACTS
Do you know that you can code using just whitespaces? The programming language that makes it possible is called ‘Whitespace’. All it takes to write a program in this language is to use the spaces, tabs, and linefeeds. The interpreter ignores any non-whitespace characters.
Copy the whole code from my gist file and execute it to check for yourself. It is as easy as copy the lines from #3 to #70, go to this site, paste it in the ‘code’ block, and hit Ctrl+Enter (Windows) or Cmd +Enter (Mac) on your keyboard to find the output.
It is super cool, right! You can use this to write programs that no one can read or understand unless they know that there is something written on a seemingly blank notepad.
Comments
Post a Comment