Recent comments in /f/explainlikeimfive
Triabolical_ t1_ixigt2n wrote
Reply to comment by oneeyedziggy in ELI5: What is the difference between classes, constructors, structs and methods in C# by Sure-Ad-5053
I was the test lead for the C# compiler and spent a lot of time in design meetings...
"class" and "struct" come from C++ though there they only have a difference in visibility, not in behavior.
"class" is the obvious choice for the main construct as that's what's used in many other languages.
Then we needed a name for something that's kindof like a class but not the same thing. It turns out that coming up with names for things in languages is really hard, as many of the non-reserved words are already used by programmers in a lot of cases. C# was a new language at that time but there were already developers writing the base class libraries in C# and their feedback was "don't take away names from us".
They were virtually all C++ developers, and nobody who writes C++ code was going to call something "struct" because it was a reserved word, so it was available, and we wanted something very distinct from "class" because the intended usage was so different.
That was a pretty early decision during language design.
Later the team came up with the concept of "conceptual keywords" - keywords that were reserved but only in specific situations. The words "get" and "set" for properties are a good example of that. If we'd done that earlier, we might have done something different with struct though I think we probably would have stuck with it as a name.
Not that the conceptual difference between classes and structs isn't quite confusing and very different than how C++ views the world, but that was inherently going to happen moving from an unmanaged to a managed world.
Thanks for letting me take a trip back on memory lane.
[deleted] t1_ixig8sh wrote
[deleted] t1_ixig84l wrote
[deleted] t1_ixif6fh wrote
Arabellatara OP t1_ixiaxsq wrote
Reply to comment by CaptMcPlatypus in ELI5: How does the fluid get in your sinuses? by Arabellatara
Thank you!
CaptMcPlatypus t1_ixiapeh wrote
There are mucus producing cells in the lining of your sinuses (and the rest of your airway). Those use the water and other ingredients that your body has on hand (from being well fed and well hydrated) to make mucus, which then clogs up your sinuses because they're making a lot of it,. It's also thicker than usual because it is trapping all the infection, and because probably the lining of your sinuses is swollen from the infection, which makes the drain holes smaller, so the mucus doesn't drain as easily.
[deleted] t1_ixiam0y wrote
[removed]
KozuBlue t1_ixi8ayz wrote
Reply to eli5 is there a scientific explanation or reason for intrusive thoughts or call of the void by DapperWheel521
Clinical Psychologist here. This is taking on board the fact you said you don't want to act on these thoughts. I can't really speak for you specifically as we haven't had an assessment together, but these thoughts really are normal. We can't control things like this. The problem is not the thoughts. The problem is worrying about the thoughts, and trying to control them.
Birdie121 t1_ixi757w wrote
Reply to eli5 is there a scientific explanation or reason for intrusive thoughts or call of the void by DapperWheel521
There isn't really a conclusive scientific explanation, because the brain is weird and complicated and we know very little still about the actual mechanisms behind mental illness. Basically everyone normally experiences some symptoms of neurodivergence/psychosis once in a while, and the problem is when someone has those traits scaled way up and it's affecting their day-to-day experience of life and relationships with other people.
Intrusive thoughts are a particularly interesting example though, because (and I'm speculating here but I think some folks would agree) they could be a way to imagine potential future scenarios, elicit a fear response, and plan accordingly to avoid harm. So you might be thinking "what if I did that" and you get temporarily fixated on that idea, but your brain may actually be trying to get you to take care to avoid a dangerous/deadly outcome.
[deleted] t1_ixi6mj1 wrote
Reply to comment by DapperWheel521 in eli5 is there a scientific explanation or reason for intrusive thoughts or call of the void by DapperWheel521
Suicidal ideation does not mean that you are suicidal. It means you have vivid imagery of dying or taking your life, and it happens to people. It’s ok that it happens, but it may be an issue so talking to a professional about it is best If that’s the case.
DapperWheel521 OP t1_ixi49pi wrote
Reply to comment by PermutationMatrix in eli5 is there a scientific explanation or reason for intrusive thoughts or call of the void by DapperWheel521
Am not suicidal at all or anything, but I used to think that It was just me then I googled it and it's common and it's called intrusive thought or call of the void
maveric_gamer t1_ixi49ll wrote
Not having been directly stabbed this is a bit removed, but every time I've been in a high-adrenaline situation and blood has been drawn, I didn't notice right away. Usually I was going about my business afterwards and someone screamed because I was bleeding a lot and didn't notice.
Also from a filmmaking perspective - it's not always about what's correct so much as what makes for a good movie. In a high-octane action scene someone might scream as they get their head sliced of despite that being physically impossible, but it makes for good cinema in some peoples' eyes.
urzu_seven t1_ixhym9f wrote
Reply to eli5 is there a scientific explanation or reason for intrusive thoughts or call of the void by DapperWheel521
Intrusive thoughts such as this are common, everyone has them. The reason is because our brains are constantly having thoughts and we just don’t pay attention to most of them. In any situation your brain is analyzing all kinds of possibilities, and automatically ignoring the irrelevant ones for the most part. Occasionally you notice them and if they are scary or unpleasant it might seem upsetting for a moment but most of them time you can easily dismiss them. Unfortunately sometimes some people, usually due to mental illness, being in a temporary bad mental state, or for other reasons pay more attention to these kind of thoughts than they need to which can lead to anxiety, depression, and in unfortunate cases dangerous action. If you find yourself experiencing these kind of thoughts on a frequent enough basis (or they feel particularly strong) it’s a good idea to talk to a mental health professional. There is help available and you absolutely can do something about it.
DapperWheel521 OP t1_ixhxmcf wrote
Reply to comment by [deleted] in eli5 is there a scientific explanation or reason for intrusive thoughts or call of the void by DapperWheel521
No, am not suicidal or anything but, it's just weird am cutting something and I get a urge to just cut my hand, like out the blue
DapperWheel521 OP t1_ixhwyso wrote
Reply to comment by [deleted] in eli5 is there a scientific explanation or reason for intrusive thoughts or call of the void by DapperWheel521
That makes sense
HobbyMathematician t1_ixhueub wrote
Reply to comment by Porkus_Aurelius in eli5 is there a scientific explanation or reason for intrusive thoughts or call of the void by DapperWheel521
I also read something similar alongside that it is hard to comprehend for your brain the freedom of your choices. You could end or totally ruin your or other's life with simple actions, you just choose not to.
Applejuiceinthehall t1_ixhtfmi wrote
Reply to comment by Porkus_Aurelius in eli5 is there a scientific explanation or reason for intrusive thoughts or call of the void by DapperWheel521
I have heard something similar, that it is the brain simulating what would happen. obviously hard to test something like that so it's just speculation
[deleted] t1_ixhszpt wrote
Porkus_Aurelius t1_ixhsjsa wrote
Reply to eli5 is there a scientific explanation or reason for intrusive thoughts or call of the void by DapperWheel521
I can't find it now, but I read an article about this that supposed our reason for having these feelings is that we are analyzing the situation and we ultimately decide it's a bad idea. The urge to do the thing isn't so much your brain pushing you to do it, but rather considering what would happen if you did.
That said, there is nothing wrong with talking to a therapist if you really feel like acting on these things.
Koalifiedm t1_ixhrw6l wrote
Reply to comment by PermutationMatrix in eli5 is there a scientific explanation or reason for intrusive thoughts or call of the void by DapperWheel521
Hey hey hey!!! I thought this was normal!!!
[deleted] t1_ixhrss0 wrote
Reply to eli5 is there a scientific explanation or reason for intrusive thoughts or call of the void by DapperWheel521
So, the explanation i was taught is that everyone experiences these feelings or thoughts at one point or another in their lives, or atleast most people. It is perfectly normal and ok for it to happen.
It becomes a problem when it morphs into suicidal ideation; where you can’t just brush these thoughts away, and instead fantisize or imagine actually dying for more than a second or minute. And often.
I want to assure you that the two are distinct, and If you experience the latter, talking to a professional is advised.
As for exactly why the first one happens, there is no real conclusive evidence that i’ve come across, i learned about it through education about five years ago, so new science may have come out.
The call of the void is one of my favorite emotions, i feel truly alive when i realize that i am just a single action away from certain death, but i never act on this or long for it to happen, nor do i imagine my death in situations outside these short lived experiences.
The_A4_Paper t1_ixhrq92 wrote
Reply to eli5 is there a scientific explanation or reason for intrusive thoughts or call of the void by DapperWheel521
If you feel a very strong urge to drive off the road or jump off a cliff, I would suggest a meeting with a therapist.
On the topic at hand, the Human brain evolves to have these kinds of thoughts. It allows you to simulate and prepare for unexpected situations. Basically, if you are driving then there is a chance that you might lose control and go off the road, so your brain urges you to think about the situation. So in the unlikely case that you actually go off the road, you're already prepared for it.
PermutationMatrix t1_ixhqnru wrote
Reply to eli5 is there a scientific explanation or reason for intrusive thoughts or call of the void by DapperWheel521
I would suggest talking to a therapist. You might be experiencing depression or anxiety or some other psychological issue that is causing you stress subconsciously. There's no shame in talking to a licensed medical professional about your mental health.
oneeyedziggy t1_ixilahp wrote
Reply to comment by Triabolical_ in ELI5: What is the difference between classes, constructors, structs and methods in C# by Sure-Ad-5053
Awesome context... As I'm not a c# dev (well, my professional use of c# was extremely short lived and 10+ years ago...)... I was thinking in terms of what little java I know (also not a java dev) but how basically all options 9n a variable are enumerated in long-form when declaring ( public static String blah blah...) and just imagining (naively, based on the previous comment) that it might have been as simple as adding a byref or byval to the string of qualifiers when using a class to get struct behavior (and defaulting to some sane default where omitted)... Is this even relevant to the situation either in c# having such qualifiers or in classes and structs being sufficiently similar for that to be feasible (if only everything had been different)?