CSS pop

Wednesday, January 20, 2021

Legal hypocritical overload

 Computer science has a concept called function or method overloading. When defining a function or even a class that contains functions and gets constructed as an object the parameters that takes can sometimes make the same construct perform different actions


Say I was programming in a non-existent pseudo pseudo language but let's take something I'm sure you've encountered the except banner for the European Union privacy Law


Class daAnnoyance(){

Function showBanner(){

Print "you don't have time to read this in fact studies in nearly 2,000 showing that the average reader in America has more legal text to read the new 1/2 hours in a year do you accept or decline the privacy protection or tracking or let's be more nonspecific if we can"

Promptbutton "probably maybe not"

PromptButton "not maybe probably"

}


Function showBanner(int howmanytimes){

For (howmanytimes) {

ShowBanner()

}

}


Note the overloading was the function name if passed a parater (this case an integer (whole number greater or equal to 0) it changes what the function does when called. In this case ShowBanner (12) hypothetically shows the annoying privacy banner 12 times regardless of answer.

To simplify the example I had it call the other version of itself and this isn't any programming language it's something like pseudocode or another words it's written to be more understandable turn on programmer then it is any actual programming language.

In browsing some of the Minnesota 4th district court documents it seems that this is the concept of the Court applies to a function known as expartay.

Only it's more like a true false (Boolean ) paramater 

Function declareExpartay(bool worksintheaccusedfavor){

If  (worksforaccused == true){

Print "fact is not relevant to case"

}

}

Function declareExpartay(){

Print "expartay is defined as things not relevant to a given case"

}

You might not be asking why there are two equals signs. Programming like law requires concise commands other than overloading. 

Worksforaccused = true

Usually sets a variable the second equals indicates we want to compare it's current state to a defined value we want a specific output or action for . Aka one equals I just set the variable to true and the (work much like they do in math. Order of operations. If i say if (setvariabletotrue)

It sets the variable true then says if(true) {do what's between these brackets} aka it's always doing that because of true is always true.

Unless during execution a passing cosmic Ray or random power brownout interfears with the refresh cycle of ram or cache on CPU. Then as an error a 1 for on or true may flip to 0. But it's more then undesired operation than it is programmed at that point something called a watchdog timer or circuit generally is there to detect that and restart the computer. That way you throw out any bad data in memory and reload from the last save point on the hard drive but now I'm way too far into this

No comments:

Post a Comment

 It just dawned on me. If you want to see evidence that black people are no more inherently violent than white people Martin Luther King and...