Difference between revisions of "Anarchization Script"

From Dissent
Jump to navigation Jump to search
(This may now actually be valid Python. What additional comments does it need for the non-technical?)
(Doh. A much better way to do this without elif is with continue.)
 
(9 intermediate revisions by the same user not shown)
Line 3: Line 3:
  
 
<SPAN style="font-family:Inconsolata, Consolas, Monaco, Crystal, monospace; font-weight:bold"><PRE>
 
<SPAN style="font-family:Inconsolata, Consolas, Monaco, Crystal, monospace; font-weight:bold"><PRE>
#/bin/python
+
#!/usr/local/bin/python
  
import Libertarianism
+
from Libertarianism import *
  
 
# What_Are_Anarchists_Doing_In_The_Libertarian_Party.py
 
# What_Are_Anarchists_Doing_In_The_Libertarian_Party.py
Line 11: Line 11:
 
# It's not called the Anarchist Party.  What's up with all the anarchists?
 
# It's not called the Anarchist Party.  What's up with all the anarchists?
  
# This program mimics what it's like to be in the Libertarian Party and constantly reevaluating every reason for everything that governments do.
+
# This program mimics what it's like to be in the Libertarian Party and constantly reevaluating  
 +
# every reason for everything that governments do.
  
 
# Do not panic.  If you're serious about liberty, you ARE doing this already.   
 
# Do not panic.  If you're serious about liberty, you ARE doing this already.   
 
# Expect a lifelong process of doing this unless one of two things happen.
 
# Expect a lifelong process of doing this unless one of two things happen.
# This script ignores any possibility of you giving up on liberty, putting Hobbes' Leviathan in that special exalted place in your bookcase, and eagerly embracing the violence and coercion of the state.
 
  
 +
# This script ignores any possibility of you giving up on liberty, putting Hobbes' Leviathan in that
 +
# special exalted place in your bookcase, and eagerly embracing the violence and coercion of the state.
  
# Let your list named Justifications start by including every known reason to even consider having a government that's held in place by any level of coercion.  Everything you've ever heard or can think of.
+
 
 +
# Let your list (named Justifications) start by including every known reason to even consider having a  
 +
# government that's held in place by any level of coercion.  Everything you've ever heard or can think of.
  
 
Justifications = List_Of_All_Reasons_To_Ever_Have_A_Government
 
Justifications = List_Of_All_Reasons_To_Ever_Have_A_Government
  
 
while Justifications:
 
while Justifications:
 +
      # Start of the while loop
 
       # While loops run for as long as the condition is true.
 
       # While loops run for as long as the condition is true.
 
       # In this case, is Justifications not empty
 
       # In this case, is Justifications not empty
Line 28: Line 33:
  
 
       for Q in range(len(Justifications)):
 
       for Q in range(len(Justifications)):
           # Go through each justification.  Can you still sign off on each one?
+
          # Start of the for loop
 +
           # Go through each justification in your list of justifications.   
 +
          # Can you still sign off on each one?
 +
          # When you find one you can no longer justify, remove it from the list.
  
           if not Justifications[Q]["Is_it_better_than_what_individuals_can_do"]:
+
           if not Justifications[Q].Is_it_better_than_what_individuals_can_do():
 
             Justifications[Q].remove()
 
             Justifications[Q].remove()
           if not Justifications[Q]["Is_it_worth_the_added_cost_of_the_state_doing_this"]:
+
            continue
 +
           if not Justifications[Q].Is_it_worth_the_added_cost_of_the_state_doing_this():
 
             Justifications[Q].remove()
 
             Justifications[Q].remove()
           if not Justifications[Q]["Is_it_worth_the_harm_that_the_state_causes_doing_this"]:
+
            continue
 +
           if not Justifications[Q].Is_it_worth_the_harm_that_the_state_causes_doing_this():
 
             Justifications[Q].remove()
 
             Justifications[Q].remove()
           if not Justifications[Q]["Is_it_worth_the_price_of_a_government_period_to_do_this"]:
+
            continue
 +
           if not Justifications[Q].Is_it_worth_the_price_of_a_government_period_to_do_this():
 
             Justifications[Q].remove()
 
             Justifications[Q].remove()
           if not Justifications[Q]["Is_it_something_that_should_be_done_at_all"]:
+
            continue
 +
           if not Justifications[Q].Is_it_something_that_should_be_done_at_all():
 
             Justifications[Q].remove()
 
             Justifications[Q].remove()
 +
            continue
  
 
       # The for loop has concluded.  It's time to repeat the while loop.
 
       # The for loop has concluded.  It's time to repeat the while loop.
       # ...Which means running the for loop again.  And again.  Forever.
+
       # ...Which means running the for loop again.  And again and again.  Forever.
  
 
       # There's still stuff in Justifications, right?
 
       # There's still stuff in Justifications, right?
Line 49: Line 62:
  
 
       # You probably got rid of a lot of stuff on the first few passes.  Those are the easy ones.
 
       # You probably got rid of a lot of stuff on the first few passes.  Those are the easy ones.
       # You probably go through several passes without removing anything.  Is this the final state?
+
       # You probably went through several passes without removing anything.  Is this the final state?
 
       # No wait, you thought something through, possibly after getting more information about it, and
 
       # No wait, you thought something through, possibly after getting more information about it, and
       #   now it's gone from your Justifications list too.  But it wasn't the last item, was it?
+
       # now it's gone from your Justifications list too.  But it wasn't the last item, was it?
 
        
 
        
 
       # ...Was it?
 
       # ...Was it?
  
  
 +
# If you've reached this line, then the while loop has ended.
 +
# This can only mean one thing:
  
 
print "You have no remaining justifications for the state."
 
print "You have no remaining justifications for the state."

Latest revision as of 01:06, 14 August 2017

This is a prospective handout or basis for one.

#!/usr/local/bin/python

from Libertarianism import *

# What_Are_Anarchists_Doing_In_The_Libertarian_Party.py

# It's not called the Anarchist Party.  What's up with all the anarchists?

# This program mimics what it's like to be in the Libertarian Party and constantly reevaluating 
# every reason for everything that governments do.

# Do not panic.  If you're serious about liberty, you ARE doing this already.  
# Expect a lifelong process of doing this unless one of two things happen.

# This script ignores any possibility of you giving up on liberty, putting Hobbes' Leviathan in that 
# special exalted place in your bookcase, and eagerly embracing the violence and coercion of the state.


# Let your list (named Justifications) start by including every known reason to even consider having a 
# government that's held in place by any level of coercion.  Everything you've ever heard or can think of.

Justifications = List_Of_All_Reasons_To_Ever_Have_A_Government

while Justifications:
      # Start of the while loop
      # While loops run for as long as the condition is true.
      # In this case, is Justifications not empty
      # That means this loop will run forever.  Unless...

      for Q in range(len(Justifications)):
          # Start of the for loop
          # Go through each justification in your list of justifications.  
          # Can you still sign off on each one?
          # When you find one you can no longer justify, remove it from the list.

          if not Justifications[Q].Is_it_better_than_what_individuals_can_do():
             Justifications[Q].remove()
             continue
          if not Justifications[Q].Is_it_worth_the_added_cost_of_the_state_doing_this():
             Justifications[Q].remove()
             continue
          if not Justifications[Q].Is_it_worth_the_harm_that_the_state_causes_doing_this():
             Justifications[Q].remove()
             continue
          if not Justifications[Q].Is_it_worth_the_price_of_a_government_period_to_do_this():
             Justifications[Q].remove()
             continue
          if not Justifications[Q].Is_it_something_that_should_be_done_at_all():
             Justifications[Q].remove()
             continue

      # The for loop has concluded.  It's time to repeat the while loop.
      # ...Which means running the for loop again.  And again and again.  Forever.

      # There's still stuff in Justifications, right?
      # The while loop only continues to repeat if there is.
      # ...But there has to be, right?

      # You probably got rid of a lot of stuff on the first few passes.  Those are the easy ones.
      # You probably went through several passes without removing anything.  Is this the final state?
      # No wait, you thought something through, possibly after getting more information about it, and
      # now it's gone from your Justifications list too.  But it wasn't the last item, was it?
      
      # ...Was it?


# If you've reached this line, then the while loop has ended.
# This can only mean one thing:

print "You have no remaining justifications for the state."

print "It's time to admit to yourself that you have become an anarchist."

print "Don't panic.  You know the truth in a way that no one could ever explain it to you.

print "You worked it out by yourself step by step."

print "Welcome to a world of new possibilities."

Print "Welcome to how the world can work without coercion."

print

print "QED"