generating function

Cognitive Functions as Shitpost Generator Shitposts

Extroverted Thinking: watch me profit from the moon

Extroverted Feeling: i don’t feel love or affection for humankind. i only illegally torrent the feelings of others

Extroverted Intuition: sometimes i just want to savour the rapturous caress of chaos

Extroverted Sensing: i guess its irresponsible that i use all of my money to endorse my ass

Introverted Thinking: (shoveling handfuls of moss into my mouth) i pretend to be science

Introverted Feeling: tfw ur trying to relax but u cant help but cry over every single person on earth

Introverted Intuition: when i wake up i immediately prepare for death

Introverted Sensing: i have learned not to get kicked by that fucked up baby

Tony Stark and ADHD

So while researching about the disorder, I started seeing quite a few correlations between A Certain Fave™ of mine and the symptoms that were shown on some of the websites I visited. For Example:

  • Coffee/ caffeine works to actually help calm down and regulate the mood, helping focus and productivity
  • Two settings- hyperfixation or complete lack of focus. A person with ADHD can completely lose themselves to a task they are engaged in/ worried about, forgetting to eat, sleep or generally perform basic human functions until it is completed. And then, on the other end of the spectrum- they will also find it difficult to focus AT ALL on things they are not interested in, choosing instead to zone out and lose concentration very easily.
  • Constant fidgeting, with anything and everything.
  • Conversations moving faster than anyone else can keep up with, hopping from point A to Z in the space of 0.3 seconds
  • Forgetfulness and general memory imbalances. Either perfect or not there at all. 
  • Reckless behaviour and lack of sense of danger.
  • Can also manifest itself in forms of anxiety
  • Difficulty with socialising- often talking very loudly and jumping in or interrupting because they lack impulse control

And listen. Listen, okay- we know canononically that these are all Very Much Tony Stark Things;  hyperfocusing on some tasks and then completely losing interest in others, reckless and impulsive behaviours and using coffee as a tool to focus or help productivity are just some of the FEW common examples. So, y’know, I’m headcanoning this.

Tony Stark has ADHD.

Best Posts of 2016

Earlier this year I added a sidebar for the most popular posts. So below is a list of what I think are the 5 best posts that are not in that Sidebar (as of December 2016):

1. Generators and Async Operations in JavaScript The most major criticism of asynchronous code in JavaScript is that it requires workarounds and a bunch code management to keep it clean. This new feature greatly reduces all of that.

2. Validating Object Property Types Without Setters In JavaScript A more powerful version of operator overloads which is coming to JavaScript with the Proxy API. This is one example, but Proxy could be used to create entirely new JS-like langauges without even having to compile or eval any code.

3. Lazy Objects In JavaScript In JavaScript, it is possible to have self creating objects that store their own state using themselves. This is done by applying the concepts of Lazy Functions to objects.

4. Compose in JavaScript Simplify the sequence of functions by using a function that controls function flow. The compose function is implemented using itelf.

5. Pretty Printing In JavaScript A simple and powerful, but overlooked way of doing pretty printing (Very useful for quick debugging). Built directly into the language.


Best Posts Of 2015

anonymous asked:

Literally and jily headcanons. Or wolfstar headcanons. Maybe morning headcanons?

This is a little different to what you asked for but here are some jily-morning headcanons:

  • Lily is not a morning person. She’s a go-to-bed-at-2am-wake-up-at-2pm kinda person. 
  • James is the worst kind of morning person imaginable. The I’ve-already-run-5k-and-read-3-books-before-8am kind of person.
  • So their morning routine is a little odd, but they make it work.
  • James is always up first and tends to do all sorts of odd jobs until a “normal” hour, when he usually brings Lily a cup of coffee (the only effective way of waking her).
  • He won’t admit it, but sometimes he lies there staring at her, until he mentioned this to Sirius who called him a creep (he didn’t really stop, they’re married it’s only a little creepy)
  • Night times are a different story. 
  • While James can stay up late, he generally cannot function after 9pm, which is when Lily is always her most productive.
  • So the roles are reversed, and Lily bounds around doing all sorts of productive things while James crashes on the couch with a book and a cup of tea (or he just goes to bed, but has to suffer Lily’s comments about old age)
  • When Harry comes along all sorts of things change, and their nice routines are almost entirely thrown out.
  • Harry has zero sleeping routine at first and both James and Lily savour any sleep they can get.
  • After a few months Harry, like his dad, is up at the crack of dawn.
  • Lily swears she must’ve done something awful in a past life to end up in a house full of morning people (but non-so-secretly enjoys the morning coffee and breakfasts made by her boys)

oxymitch  asked:

Hello there! There are questions I like to ask....What would happen to the coma patient(s) when there's a power outage on not only the hospital but also the nearby areas of the town/city? And since the coma patient is kept alive by machines, would he/she die when the power is out? Also, what can the hospital staff do during the power outage for the coma patients?

Hey there @oxymitch​! Thanks for the ask! This is an interesting one :) 

First: I’m going to assume that your situation is going to last more than a couple of days, that they’re going to be isolated, and also that it will happen with no warning. Why? Because that’s the model I have to build an answer on. 

Easy ones: If the backup generators work, the power stays on, and the patients will be fine. If the loss of power is transient, less than a few hours, staff can be used to take over the machine functions in the short term. If the hospital has notice and they think they’ll lose power, they can actually transfer out their sickest patients to other facilities. Even if they lose power but the hospital is still accessible, they can request transfers for their sickest patients. Critical care transport units will transport those patients as far as needed to get them an ICU bed somewhere. 

Now, let’s look at the truly catastrophic scenario, because of course we should. 

So, first things first: hospitals have backup generators. As long as t he generators work and have fuel, your hospital will generally function in its usual manner, excepting that they will not permit surgeries in case of a total power failure. 

However, these generators are typically kept at, or even below, the level of the hospital, and flooding can knock these out. It happened in New Orleans during Katrina and I believe it happened in New York during Sandy, with a couple of major hospitals closed due to flooding. 

Let’s assume the power goes down completely – the worst possible case. Worse, help isn’t coming or can’t arrive any time soon – the true disaster scenario. Ambulances can’t get there by ground, all the air support is tied up on other missions or the storms are too bad to fly a helicopter. 

So, what happens to the coma patient in the ICU? Honestly, their outcome isn’t going to be great, and they’ll likely die. 

Ventilator-dependent patients require a machine to breathe for them, with very specific settings: volume, pressure, PEEP (positive end-expiratory pressure, essentially the “pushback” from the vent), etc. If the machines go down someone has to ventilate them manually, squeezing a bag 10-20 times a minute, indefinitely. It ties up staff that could be utilized in other places. Hell, that staff member can’t even leave the room for five minutes to pee

The other big issue is that IV pumps go down, too. Most IV pumps have some battery life, and some will last for hours, but many – especially those that are used strictly in-hospital, and have batteries only to get the patient to the bathroom and back – won’t work after 30-180 minutes. So the medications that are keeping most ICU patients alive won’t flow, and getting correct doses by drip – by pure gravity and the graces of a drip set – is next to impossible, especially in the dark. 

So these patients – many of whom are on 3, 8, 10, a dozen medication drips (plus their ventilator), are in deep, deep shit. 

[There is an  ABSOLUTELY PHENOMENAL podcast] about what happened in a hospital in New Orleans during Hurricane Katrina, based on a book [Five Days at Memorial by Sheri Fink]*. The hospital lost power, lost backup power, were isolated, lost radio contact, kept hearing stories about looting. They were surrounded by water and couldn’t leave. And, surprisingly quickly, the doctors began to euthanize. 

Their logic was this: these patients need machines to breathe for them, to pump them full of medications. Hell, most medication dispensers – the mini-pharmacies on units – absolutely require power to dispense any meds at all

These patients were going to gasp to death without ventilators, or were going to drown in their own fluids from heart failure, or meet whatever end the ICU was barely keeping them from. So doctors decided to give big doses of fentanyl and midazolam – a painkiller and a sedative – and ease their patients’ suffering once and for all. 

Right or wrong, the intent was kind. Right or wrong, their actions probably meet the legal definition of homicide. (Right or wrong, we do this for our pets all the time.) 

The concept of triage is about the greatest good for the greatest number. A fictional hospital might make the choice to allow all ventilated patients to breathe on their own – or not, but to not give them any support. That frees the staff up to save the patients they know they can help. Save who you can, and let go who you can’t. This is done in disasters every day by EMS. 

I’m not saying what happened at Memorial was right, or that it was wrong; that’s not my place. (The NPR podcast goes into that at length.) I’m just saying that it happened, and that you might find it an interesting reference point for your story. 

Hope this helped! 

xoxo, Aunt Scripty

[disclaimer]

Patreon: a magical land where the ask box never closes. Care to visit?  

Ebook for Free! 10 BS “Medical” Tropes that Need to Die TODAY!

*Affiliate link. 

4

@ramseyringnecks cochins are incredible because their roundness comes not from a warped spine or meat, but FEATHERS. They’re just extremely over-feathered orbs!! They are functional and generally healthy birds, their main problems are overheating and feather parasites which can both be combatted with proper management. They do take a while to grow, often not filling out until over a year old, even the bantams. They also have rather short legs, but mine run and jump without an issue.

I wonder- could one make a pigeon that’s heavily feathered like this? I assume the best place to start would be to find a breed that has an unusual amount of plumage and finding a breed that tends to hold their tail high but not uncomfortably so. I really am upset about modenas and show kings, I love borbs :,(

topqualitymeemees  asked:

Hello! I just found your blog and I'm loving it so far! Anyway, could you explain what it means when a person is "unhealthy" in MBTI?

Unhealthy Cognitive Functions

Being unhealthy in MBTI means that you use your functions in a way that’s detrimental to yourself or others. This unhealthy state occurs when the function is not working together healthfully with the other functions in your stack (particularly with its functional opposite, e.g. Ne/Si, Te/Fi etc). 

Here are some negative patterns and behaviors that may manifest through unhealthy use of each function: 

Extroverted Intuition (Ne): flakiness, complete rejection of traditional methods, fear of commitment, detachment from reality, extreme indecisiveness, avoidance of mundane tasks

Introverted Intuition (Ni): single-mindedness, refusal to back up conclusions with evidence, lack of spontaneity, dismissal of other opinions, “all or nothing” goal mentality, obsessive visualization, self perception as “all knowing”

Extroverted Sensing (Se): overindulgence, flightiness, recklessness, physical aggression, complete rejection of the theoretical, refusal to plan ahead, acting without considering the consequences

Introverted Sensing (Si): rejection of novelty, fixation on the past, obsession with detail, stagnancy, complete disregard of contradictory information, always “play it safe”

Extroverted Thinking (Te): aggressiveness, need for control, need for dominance, ruthlessness, lack of consideration of others feelings, black and white thinking

Introverted Thinking (Ti): overanalyzing, obsessive search for truth, extreme skepticism, harsh criticism, outright rejection of group institutions or norms

Extroverted Feeling (Fe): manipulation, obsession with social standing, spinelessness, desperation for approval, emotional volatility, self-neglect, rejection of logical reasoning

Introverted Feeling (Fi): excessive stubbornness, self-richeousness, special snowflake syndrome, selfishness, hypersensitivity, rejection of objective decision-making

Also, aside from unhealthy individual functions, there are also unhealthy states, which occur when you overuse your lower (tertiary and inferior) functions. There are two kinds of unhealthy states:

  • loop: pattern of overusing the the tertiary function in replacement of the auxiliary function (click here for a previous post on loops). Basically it makes you either an unhealthily extroverted extrovert or an unhealthily introverted introvert.
  • grip: overuse of the inferior function in replacement of the dominant function. This is no good, as your dominant function is your strongest asset and ally if used in a healthy way, and your inferior function is generally your most underdeveloped. 

That’s it! Hope this helps

a list of things we know
  • beast boy, of the teen titans, can turn into any animal he wants, like a limitless animorph
  • beast boy is a fun-loving prankster who loves pulling jokes
  • beast boy also loves food and can be lazy and unmotivated at times
  • when beast boy turns into an animal, he retains his personality while also having all of the quirks of the animal he becomes
  • garfield is a cat who is also a fun-loving prankster
  • garfield also loves food and can be lazy and unmotivated at times
  • garfield thinks in verbose sentences, which is different from how cats typically think
  • garfield generally has functions that ordinary cats do not have
  • beast boy’s real name is Garfield Logan

doctorrichardstrand  asked:

similar to your analysis of the pug crisis: is there anything that can be done to more ethically breed english bulldogs? obviously crossbreeding is the best option, but is there a risk for those puppies to have some of the same major health issues as well?

There has been quite a lot of different attempts to make a healthier version of English Bulldogs, aka British bulldogs. They vary in how successful they have been, and are likely to be in the future, at eliminating the major concerns in this breed. Bulldogs have had more external pressure applied to the breed than pugs have, at least since Pedigree Dogs Exposed.

The white British Bulldog above is a fairly typical example, not the most extreme. A few things to take note of:

  • Stenotic nares visible from outside. Most likely has other components of brachycephalic airway syndrome
  • Broad front and broad base stance
  • Skin folds on face of this individual are not too extreme as far as the breed goes
  • You can’t see what condition its skin is in
  • You can’t assess it’s gait, heart or metabolism from a picture.
  • This example is a fairly moderate one. Compare to the dog of the same breed below.

Please, please don’t think the structure of this brown and white dog is desirable in any way.

Now, multiple groups have made an attempt to ‘fix’ the breed or make a new, healthier version, with varying degrees of success.

Aussie Bulldogs are in my view the least successful. I have quite a lot of experience with this breed, and know about some of the dodgy practices that went into breeding them, like claiming the hip scores of the female don’t matter so long as the male has good hips, for example. The breed club also wants vets to fill out a certificate saying the dog is in good health at the time of breeding, but the certificate is so wishy washy and non-standardised that it stands for nothing. It asks for a subjective opinion and so far I haven’t met one that I would have considered ‘healthy’ for breeding. Not to mention the certificate gives dogs a pass for major issues that should be addressed, like stenotic nares and allergies. They are often nice dogs, but I couldn’t call them a significant improvement.

American Bulldogs are an old breed that trace their heritage back to bulldog types. It is larger and generally fitter, but not completely free of the problems of the British Bulldog. They are generally speaking more functional and athletic, and are often mistaken for a pit bull rather than a bulldog.

The Olde English Bulldogge is a promising breed, but still has a long way to go. They are more in line with historical bulldog types, and generally have a less extreme body. They still visibly suffer from stenotic nares, but their form is generally less extreme. This will be an interesting breed to watch in the future, and as far as I can tell breed clubs seem pro-active and pro-science when it comes to the health of the dogs. They’re not very common down here though.

We don’t see British Bulldog crosses very often, because this breed typically needs to procreate via artificial insemination and caesarian section. Crossbred puppies are absolutely at risk of the same conditions as the parent breeds, but because many of the bulldog’s concerns are directly linked to the extremeness of anatomy, if pups are more moderate in form the severity of those conditions would be expected, on average, to be less.

2

There but for God’s Grace

Fandom: Agent Carter (TV)
Rating: Teen And Up Audiences
Warnings: No Archive Warnings Apply
Relationships: Daniel Sousa/Original Female Character(s), Peggy Carter/Daniel Sousa, Past Steggy
Characters: Daniel Sousa, Peggy Carter, Jack Thompson, Original Characters, Original Child Character(s)
Additional Tags: Alternate Universe - Dark, Early defrosting of Steve Rogers, POV Daniel Sousa, Angst, Endgame Peggysous, Full Blown Spykink, content by weight is 68 percent angst 30 percent salt and 2 percent other added flavors

What life might have been like if Daniel hadn’t lost his leg.

I dislike the ubiquitous “Steve Rogers is located and defrosted before the modern age” trope, so I wrote this deconstruction.

anonymous asked:

what do you think of itachi?

As a character/creation, I have similar feelings about him as I do about Hiruzen: the narrative is irrationally averse to explicitly acknowledging that either one made wrong choices, much less assigning either one any actual culpability for making those wrong choices. Because of this, the power of the story as a whole suffers.

I personally think that Itachi, as a person, is not fully culpable of the harm his wrong choices (and he did make some, more on that in a minute) caused, because of his age, his upbringing, the pressure he was under, and other factors. He is more culpable for some wrong choices than for others.

In particular, I think by the time Sasuke got the cursed seal and Itachi had the encounter with him in the hallway, Itachi should have known that putting Sasuke into a genjutsu was not only morally wrong but would further push Sasuke down exactly the path Itachi himself didn’t want him to take.

Originally posted by meezumaki

Would Sasuke have gone with Orochimaru if Itachi hadn’t so brutally and contemptuously shown Sasuke that he was still “weak”, that he wasn’t learning enough in Konoha to hope to contend with Itachi, that he needed “more hate”? He might have, of course, but I honestly think there’s a chance he might not have. Remember the concern that Sasuke expressed for Naruto’s well-being here.

Imagine an alternate scenario where Itachi feigns concern against facing Sasuke as part of a Konoha team? I mean you already have Itachi and Kisame falling back fairly soon after this for precisely the reason that reinforcements are coming. I have enough respect for Itachi’s manipulative ability that I think he’s capable of finessing the situation to communicate the message “Sasuke, Orochimaru is no match for me, and going to him won’t help you defeat me.”

At the same time, and for some reason a lot of people have a really hard time with this, I personally am willing to say “this character fucked up big time” and even “this character hurt an innocent person unjustifiably” and still also say “overall, this character meant well and wanted to be a force for good in the world, and I have sympathy and understanding for him.”

This is part of why I say that the narrative’s reluctance to fully call out Itachi, Hiruzen and others hurt the force of the story. Because intending to do the right thing is not enough. It flattens the story, brushing out all the shades of grey and pushing everyone into “hero” or “villain” boxes. It’s also part of how Naruto as a story tends to treat “hero vs villain” as a light switch, instead of a process.

Itachi has a great character design, no surprise there, I would say that Kishimoto’s greatest strength is character design:

Originally posted by sasuke-x

Shallow, completely subjective and personal taste observation: Itachi isn’t my type, so I don’t really ship anything with him in it. (To me “I ship it” means “I would eagerly seek out and enjoy smut about it” not “I approve of it/I think it’s a good or functional pairing”. Generally for me to ship something, I have to have some degree of fancying at least one person in it. Sorry not even remotely sorry.)

Programming Conclusion

Today marks the ending of a 6 week journey into basic programming and prototyping systems. I have learnt so, so much.  Borderlands style modular systems, Diablo point and click systems, turn based procedures even to simple RTS systems, was just the tip of the iceberg. The last 5 weeks have been a blur and a ride to say the least. Here is what played out……….

Keep reading

Accurate Typing: The Inferior Function

Read the full Function Theory Guide (mbti-notes.tumblr.com/theory) for more detail, including notes about common typing issues.

The inferior function is opposite to the dominant function, so the two functions generally pull you in opposite directions, feeding you conflicting information about the world. If the dominant function is your true self and who you should be, then the inferior function is the dark aspect of your personality, the part of yourself that you do not understand very well, the part of your personality that you are prone to avoiding or rejecting. Due to long term reliance on the dominant function and always choosing its goals and desires, the goals and desires of the inferior function remain submerged in the unconscious mind. However, according to psychoanalytic theory, mental activities that are too repressed in the unconscious mind have a way of exerting themselves underhandedly when you least expect it, which implies that the inferior function is not truly “inferior” but actually quite powerful in ways that you do not fully grasp.

Keep reading

anonymous asked:

Robyn Anderson said in the 11k that dylan got kicked off AOL.. what did he do that got him kicked off?

DK kicked off AOL - Robyn Anderson [10,631] 

Dylan, ’90s computer geek that he was, disdainfully dabbled in amateur hacking using AoHell a tool that greatly simplified ‘cracking’ AOL.

Dylan didn’t pay for an AOL account because AoHell had a fake account generator which would generate a new, fully functional AOL account for the user that lasted for about a month. This generator worked by exploiting the algorithm used by credit card companies known as the Luhn algorithm to dynamically generate apparently legitimate credit card numbers. The account would not be disabled until AOL first billed it (and discovered that the credit card was invalid). The generator could also generate fake addresses and phone numbers, resembling on their surface legitimate personal information. Amongst  it’s arsenal of bad-ass hacking tools ;) was Phishing which enabled hackers to steal passwords and credit card information through automated social engineering. The program would barrage random AOL users with instant messages like:

Hi, this is AOL Customer Service. We’re running a security check and need to verify your account. Please enter your username and password to continue.”

A Punter (IM-Bomber) which would send an Instant Message containing HTML code to another user that would sign them off. Dylan explained to a student that he belonged to a group called PuNtErS & pRoGs. His favorite personally designed shirt was dark green with white lettering that read, AOL: WheRe KewLz HaXORz ArE - Translation: AOL: Where Cool Hackers Are. Explanation: It’s a joke because it’s easy to hack on AOL

A flooding script that would flood a chat room with ASCII art of an offensive nature, such as the finger or a toilet. An ‘artificial intelligence bot’, which had the ability to automatically respond to a message in a chatroom upon identification of keywords. (For example, a ‘profane language’ autoresponse was built into the program), and a Steve Case cloak, which allowed users to pose as AOL founder Steve Case in chat rooms.

Still need a reason why Dyl got kicked off AOL ?   ;)

Hmm.. I would wager that Dyl would snicker that wicked little laugh of his (you know the one?) while flooding chat rooms with profanity and then smirked omnipotently, as he punted enough unsuspecting users off the system.  After enough times of exercising those effortless AoL HaXoR skills of his,  AOL punted him off a few times around for ToS abuse before permanently kicking his ass from that mainstream newbie-land of an ‘online community’.   No great loss to him, just practice and play.  Exploit and then move on to other more challenging things.

When Dyl told Robyn he got kicked off AOL, that was a proud boast to be sure. lol

anonymous asked:

Has Ikky ever experienced fear toxin? Also, does she get frightened when Jonathan wears the Scarecrow outfit (because scarey to crows), or does she know it's her Daddy under there?

Animals, lacking higher cognitive function, generally don’t react to FT.

Ikky doesn’t like when Jon cedes to Scarecrow - and has never been a part of any of his plans. She’s what usually brings Jonathan back to himself. While Jon was a patient in Arkham, it had been deemed therapeutic for Ikky to be left with Jon (good call, Dr. Quinzel).

Ikky will always go quiet when Scarecrow is around.

My sincere and honest thoughts regarding The Evil Within 2:

So, I’m finally sitting down and writing out ALL my thoughts on TEW2… at first, I was kind of nervous. After all, I mean so many people are going to love it, right? Well, to put things into perspective, @detective-joseph-oda and I literally returned the game. I’ve never taken back a game in my life.

It’s been a difficult rollercoaster for me. TEW fandom is my everything… so, it’s not like I’m leaving, or going to stop being mama or shipping or cosplaying or anything like that. I love this community and I want to contribute and continue to support my kids. I also would never want people to not play a game, or not get enjoyment out of it by voicing my opinions. A lot of people have asked me what I thought … so here’s my honest write-up, as someone who picked up TEW1 on its release date back in 2014 and has been in the fandom ever since.

MAJOR SPOILERS naturally.

Keep reading

Expressing Conditions In Hashes In JavaScript

Conditional expressions are often used by default to process logic. For example, the following could be used to toggle between a GUI with 4 different items:

function toggleMode(oldMode) {
  if(oldMode === 'bar-chart') {
    return 'total-view';
  } else if(oldMode === 'total-view') {
    return 'percentage-view';
  } else if(oldMode === 'percentage-view') {
    return 'grid-view';
  } else if(oldMode === 'grid-view') {
    return 'bar-chart';
  }
}

console.log('Toggle mode with conditionals:');

console.info(toggleMode('bar-chart'));
// total-view
console.info(toggleMode('total-view'));
// percentage-view
console.info(toggleMode('percentage-view'));
// grid-view
console.info(toggleMode('grid-view'));
// bar-chart

By using a hash the code is simplified and easier to modify in the future:

function toggleMode(oldMode) {
  const modeMap = {
    'bar-chart': 'total-view',
    'total-view': 'percentage-view',
    'percentage-view': 'grid-view',
    'grid-view': 'bar-chart',
  }
  return modeMap[oldMode];
}

Even better, the hash approach can be used to automate logic. For example, if the toggle set needs to be genericized to toggle any list, the hash can be generated then used:

function createToggle(allModes) {
  const modeMap = {};
  allModes.forEach(function(mode, index) {
    const next = (index + 1) % allModes.length;
    modeMap[mode] = allModes[next];
  });

  return function(oldMode) {
    return modeMap[oldMode];
  };
}

const allModes = ['bar-chart', 'total-view', 'percentage-view', 'grid-view'];
const toggleMode3 = createToggle(allModes);

console.info(toggleMode3('bar-chart'));
// total-view
console.info(toggleMode3('total-view'));
// percentage-view
console.info(toggleMode3('percentage-view'));
// grid-view
console.info(toggleMode3('grid-view'));
// bar-chart

This approach is obvious in retrospect, but hard to realize initially. By keeping this in mind, certian flows of logic can become easier to maintain. Of course, for some complex flows of logic, it may make sense to express code in individual conditionals.

Github Location: https://github.com/Jacob-Friesen/obscurejs/blob/master/2017/conditionalToHash.js