Talk:Ultimate Programming Language to Take Over a Prison, Then He World

From Esolang
Jump to navigation Jump to search

Hello World!

Given example program starts with

   Day 1
   Call prisoners 1, 2, 3, 4, 5, 6, 7, 8, 9. Squat. Maintain eye contact with prisoner 1 for 72 seconds. Shank prisoner 1.

However, after maintaining eye contact for 72 seconds, clock should've updated 7 times. The only method with which this will result in 72 respect for prinsoner 1 (so shanking will print "H") is if you process clock every tenth second immediately, but the eye contact itself only after the whole time (in this case 72 ticks). With this implementation this results in following output:

   Helo)ÿÿÿÿÿ

So in my implementation I increment fear and respect every second maintaining eye contact by 1, and then (if clock is divisible by 10) update values according to clock. A working "Hello World!" is included. And imho this makes more sense as well. Why would you only gain respect and fear for the programmer after he's done squatting while "maintaining eye contact"? I feel like this should be a steady incrementation.