#Dependency Inversion
Explore tagged Tumblr posts
codeonedigest · 2 years ago
Video
youtube
Dependency Inversion Principle Tutorial with Java Code Example for Students
 https://youtu.be/_v7JVQsRkN4
Hello friends, new #video on #dependencyinversion #solidprinciples with #Java #coding #example is published on #codeonedigest #youtube channel. Learn #dip #dependency #inversion #principle #programming #coding with codeonedigest.
@java #java #awscloud @awscloud @AWSCloudIndia #Cloud #CloudComputing @YouTube #youtube #dependencyinversionprinciple #dependencyinversion #dependencyinversionvsdependencyinjection #dependencyinversionprinciplejava #dependencyInversionprinciple #dependencyInversionprinciplesolid #dip #dipprinciple #dependencyInversionprinciple #interface #dependencyInversionjava #solidprinciples #solidprinciplesinterviewquestions #solidprinciplesjavainterviewquestions #solidprinciplesreact #solidprinciplesinandroid #solidprinciplestutorial #solidprinciplesexplained #solidprinciplesjava #singleresponsibilityprinciple #openclosedprinciple #liskovsubstitutionprinciple #dependencyInversionprinciple #dependencyinversionprinciple #objectorientedprogramming #objectorienteddesignandmodelling #objectorienteddesign #objectorienteddesignsoftwareengineering #objectorienteddesigninterviewquestions #objectorienteddesignandanalysis #objectorienteddesigninjava #objectorienteddesignmodel #objectorienteddesignapproach #objectorienteddesignparadigm #objectorienteddesignquestions
2 notes · View notes
zaions · 2 years ago
Text
Building Scalable and Maintainable Code with Modular Architecture
Tumblr media
View On WordPress
0 notes
poorly-drawn-mdzs · 1 year ago
Text
Tumblr media
Bestie Deficiency
[First] Prev <–-> Next
#poorly drawn mdzs#mdzs#a-qing#xue yang#xiao xingchen#Xue yang is cold because cold blooded creatures can't generate their own body heat#I am skipping over drawing the stories they tell due to the fact this arc is already really dragging#but I think they are very key in understanding the yi-city characters#Even if they are stories that really bring down the slumber party vibes A-Qing was hoping for.#I mentioned some of my thoughts in the tags of no. 76 but to continue on a bit more#I think xxc and xue yangs stories inversely mirror each other on the meaning of sacrifice and what it means to 'deserve' something#to xue yang he has only ever sacrificed - therefore he is in his right to 'deserve' what he wants. And he wants everything.#xxc leaves song lan thinking its the best course of action to atone but my god. No it wasn't. Poor communication crown actually goes to xxc#but it's what xxc he feels he deserves - continued sacrifice to atone. He wants to want nothing.#both are very stuck in the past in ways that are not actually accounting for their actions#It's easy to look at xue yang and go 'dang you need to get over your childhood trauma'#but that very much ignores that fact that we - real human beings - define so much by our childhood pains.#Growth is having to come to terms with it and trying to move past it...and not everyone is ready for that.#I have a lot of thoughts on that matter but I'll let it be for now.#Anyways. Amiguito appears to be one of those words whos meaning change depending on speaker and contextual factors#So as far as I can tell it slides around on the scale on romantic and platonic. Which works for this dynamic. I think.#Native Spanish speakers I am so sorry.
733 notes · View notes
kaiasky · 3 months ago
Text
feel like some enterprise "java"-inflected developers and/or "medium writers who purport to talk about code patterns" live in an alternate world where their goal is to create Intricate Structures and not. to ship a fuckin product.
74 notes · View notes
inverse-problem · 11 months ago
Text
my two ultrakill moods:
“oh no, this horrifying killing machine is adorable”
“oh no, this horrifying killing machine is hot”
71 notes · View notes
oocslayers · 2 days ago
Text
Happy thanksgiving everyone!
Tumblr media
5 notes · View notes
rasairui · 2 months ago
Text
Post: gender identity is complicated and everyone has their own unique relationship with it. Presentation does not equal gender and not everyone likes strict labels!
Me: Yeah! True! This is great so far please don't turn this into-
Post: I will now use this as an excuse to obsessively list every possible way in which a lesbian ends up with a man. I will equate butches and gnc women to men, completely missing my own point when I said presentation doesn't equal gender. Also being transmasc is always the same as being male aligned btw. I'm going to find a way to fit dissociative identity disorder into this for some reason. I'm also going to be really condescending and talk like no lesbian has ever understood the concept of gender noncomformity, ambiguity and complex relationships to gender. No, I never talk this way about gay men and nblm why do you ask
4 notes · View notes
astranauticus · 1 year ago
Text
Tumblr media
(trips and spills black hair/white hair ships all over your dash) ah shit ah fuck-
11 notes · View notes
worlds-smallest-epsilon · 1 year ago
Note
*applies your inverse function*
becomes the identity function on my domain
10 notes · View notes
codeonedigest · 2 years ago
Text
Dependency Inversion Principle Tutorial with Java Program Example for Beginners  
https://youtu.be/_v7JVQsRkN4 Hello friends, new #video on #dependencyinversion #solidprinciples with #Java #coding #example is published on #codeonedigest #youtube channel. Learn #dip #dependency #inversion #principle #programming #coding with codeonedi
 Dependency Inversion Principle is the fifth and final Solid principle. Robert C. Martin’s definition of the Dependency Inversion Principle consists of two parts. High-level modules should not depend on low-level modules. Both should depend on abstractions. Abstractions should not depend on details. Details should depend on abstractions. An important detail to note here is that high-level and…
Tumblr media
View On WordPress
0 notes
airbenderedacted · 1 year ago
Note
NO YOU NOTICE IT TOO???? EVERY NICE/OPTIMISTIC CHARACTER IS ALWAYS HEADCANONED AS PAN QND I??? HUH????? Not that there's anything wrong with being pan, I'm mspec myself, but it's ALWAYS the happy go lucky characters and I??? 😭
IT'S,,,.,...,.
Tumblr media
#mango-mya#like ig i wanna cut some slack to the very young kids who're doing it bc they're still learning and figuring things out and uhhh yeah#they're gravitating to what makes sense to them n i think lots of them dont have the concept of sexuality fully separated from personalty-#-in their heads yet. bc character tropes and flanderizations and stereotypes are easier to ''get''#so tl;dr it's easier for them to get p submerged in stereotypes bc they're still new to everything n stereotypes r by definition Everywhere#it doesnt make it less Not Great & they do need to learn better but ik it's not done w like. malice / willful ignorance (mmost of the time)#BUT OLDER FOLKS........ GROWN PEOPLE PERPETUATING THIS STUFF.............. MASSIVE MASSIVE SIDE-EYE. BC WHHY R U STILL THINKING THIS STUFF!#the lack of self-reflection is NOT it 😔‼️‼️‼️‼️‼️‼️‼️#IT'S LITERALLY JUST ABT ATTRACTION SO WHY ARE U OUT HERE THINKING THAT SWEETER/NICER = NO GENDER PREFERENCES??!? NO!!!!!#THAT SAYS REALLY BACKHANDED THINGS ABT PEOPLE WHO ARE GAY/LESBIAN/STRAIGHT (& ARO/ACE EVEN) !!!!!! OUGHGFGFYGFHHGHGGHHh#ofc you can be a kid & maliciously internalize shitty things like that too but imho the older/experienced you are the more likely this is#w/ age comes wisdom and all that. MASSIVE alarm bells if someone thinks these things and has been around queer communities a lot#atp that's a sign of it being kiNDA DELIBERATE ourgh#and yea the inverse is true to certain degrees. you can be older but super new & ignorant abt lgbt+ stuff but uh. in this specific case..#a lot of it is just...... bro... all you have to do is think a little. just a little. abt why niceness =/= sexuality. willfully ignorant sh#blaaagh#OH! And ofc: there's nothing INHERENTLY wrong w/ hcing characters like this as pan / etc.#you can make lgbt+ hcs influenced by personality ofc - it IS kinda best to lowkey Not but ykw it depends on how you're going abt it!!!#(*cough* LEAVE NICENESS/FRIENDLINESS OUT OF IT 😀🙏)#& it's not bad & evil for a character to fit some ~~stereotypes~~ bc those fr aren't always a bad thing!! sometimes it's legit commonalitie#but if stereotypes are ALL you ever do... if you knee-jerk leap onto WEIRD/NASTY stereotypes... if you base sexuality on niceness/goodness.#YUEAH THAT IS NOT FUCKING GOOD AND SOME SELF-REFLECTION NEEDS TO BE HAD... LIKE BOATLOADS OF SELF-REFLECTION NEEDS TO BE HAD#and really any time you're looking to a charcater's personality to come up w/ ur hcs...#(which will probably be often bc honestly what influences hcs in general more than that?)#just take a second to ask yourself if you're tapping into any personal biases/misconceptions/alladat !!#most of the time it isn't a question of ''would this look wrong?'' but rather just ''am i looking at this wrong?''#sexuality is just who you have the hots for!!!! not how kindly or wholesome or open you are! (that's just action/expression not orientation#(´・ω・`) 👍👍#.......sorry i rambled so much here. i'm on my meds today 😅#my brain has too many thoughts in it and things to say like Always aohgbhbvsfs
6 notes · View notes
pesteringchum · 2 years ago
Text
seeing ppl hate on gil and say that they hope they completely change gils personality/storyline makes me feel like ppl did not understand him, both as a “person” and as a character. like gen 1 had VERY obvious racial commentary in it and though its debatable how well they handled it, its one of the biggest themes in the show so i think gil and lagoona’s relationship was pretty important.
most of the complaints ive seen about gil are about him being racist. personally, i cant really remember any instances of him actually holding racist views [i have only seen the web series and a couple of the movies, so maybe im missing out on a huge thing that happened]. i can only remember him being worried about what his parents, who were racist, would think about his relationship with lagoona. gil is, what, 16? his parents are a HUGE part of his life still, so i dont blame him for being scared of them and what they think. i mean, if his parents get pissed off at him enough, he could not only lose his parents—who, at that point in his life, are likely huge pillars of both his financial and emotional support systems—but also get kicked out, which are both terrifying prospects for a teenager. no matter how wrong you know that your parents are, telling them that can feel like a life or death decision [and sometimes CAN BE a life or death decision depending on how shitty your parents are]. but you know what else gil does? he becomes confident enough to actually tell his parents off! as a person, i appreciate that gil is a teenager who is in a tough situation and may not yet feel safe to stand up to his parents. this doesnt mean that i think lagoona was wrong for feeling upset or that gil wasn’t being shitty. imo, the situation was VERY unfair to lagoona and i think that breaking up until gil was ready to be open about their relationship would’ve been the best course of action. i just think the situation and the characters involved are more complex than “gil is MEAN and BAD for NO REASON AT ALL” like how some people seem to see it.
as a character, i appreciate gil and his storyline. i think that this kinda thing is believable and adds some depth to the conflicts, characters, and the world of mh. it would’ve been easy to lump all water monsters together, but its interesting and realistic that there is fighting within species/between similar species*. i also appreciate when topics like bigotry are addressed in ways that dont deal with people as Good or Bad. i think its important for kids to see characters who are discriminatory in some way or who are hesitant to speak up against discrimination since that is a very relatable flaw to have. like i said, gil DOES build the self confidence to speak up against his parents. he grows as a person, and its important to have that kind of growth in media. i think that the current view that a lot of ppl on the left seem to have that being A Racist inherently makes you an irredeemably bad person makes it harder for people to recognize and challenge their own racist biases bc no one likes thinking of themselves as A Bad Person. if bigots are solely represented as cartoonishly evil people, then people will think “but IM not a bad person! therefore i cant be racist!” and not challenge their own bigoted ideas.
i actually hope a similar storyline is carried over to gen 3, if with a little more grace, because i think its an interesting and important story to tell. i think the main problem with the storyline in canon is that gil’s arc took so long to resolve. i know if the show was being realistic, this kinda thing probably would take a while to resolve. but also, this is a kids’ show so it would be more effective to deliver that message in a shorter time frame and with a little more focus on it
19 notes · View notes
ratasum · 2 years ago
Text
Random asura hc of the day: they may not have surnames, but I think they could introduce themselves with their most "important" parent's name. So the one with the most accolades to their name.
So for example, my Qirri introduces herself as Qirri of Pazz, followed by any accomplishments or her place in her krewe, as her father serves as krewe chief on a pretty respectable krewe in Rata Sum. My Vezz would introduce himself as Vezz of Cautti, as while his father is a professor, his mother Cautti and her very popular molecular gastronomy restaurant is more respected in her field.
9 notes · View notes
nippular · 1 year ago
Text
I’m soooo ready for tumblr to ditch live so the post button won’t be in my fuckin way all the time on mobile. Ruining my screenshots n shit
0 notes
mumblingstudent · 1 year ago
Text
Инверсия контроля и Внедрение зависимостей (IoC и DI)?
Инверсия контроля (она же инверсия управления или inversion of control) подразумевает ослабление связей между объектами в программе и передачу управления потоком выпол��ения фреймворку.
Ослабления связей между объектами
Существует два класса: Person (человек) и Dress (платье). Человеку нужно носить одежду и мы можем дать ему платье следующим образом:
class Person { private Dress clothes = new Dress(); }
Вроде всё получилось, но теперь этот человек может носить только платья. А если ему придётся надеть что-то другое?
Это сильная зависимость. И её можно ослабить, написав интерфейс:
interface Clothes { //какие-то методы одежды }
Далее, классом Dress реализовать данный интерфейс:
class Dress implements Clothes { //какие-то поля платья }
И заменить класс Dress у поля Person на интерфейс Clothes:
class Person { private Clothes clothes = new Dress(); }
Теперь, если мы захотим одеть человека во что-нибудь другое, мы можем написать новый класс, скажем, для костюма, реализовать им интерфейс одежды и просто передать человеку:
class Suit implements Clothes { //какие-то поля костюма }
class Person { private Clothes clothes = new Suit(); }
Отлично, теперь наш код стал гибче, но осталось исправить ещё одну вещь.
Категорически не рекомендуется создавать необходимые объекты через new внутри других классов. Вместо этого надо принимать объекты извне. Для этого используются конструкторы или сеттеры.
class Person { private Clothes clothes; //конструктор public Person(Clothes clothes) { this.clothes = clothes; } //сеттер public void setClothes(Clothes clothes) { this.clothes = clothes; } }
И после этого объект Person можно будет создать в главно�� классе, который является точкой начала выполнения программы:
public class Main { public static void main(String[] args) { //создали человека в платье Person person = new Person(new Dress()); //переодели человека в костюм person.setClothes(new Suit()); } }
Передача объектов внутрь других объектов и называется Dependency Injection (внедрение зависимостей)
Передача управления фреймворкам
Без фреймворков программист сам решает что, где, и в какой последовательности работает. В ином случае, уже фреймворк решает, что и когда заработает в коде (чаще всего это реакции на действия пользователей web-приложений), а программист пишет код только там, где дозволено (в контроллерах, сервисах и пр.).
Ну вроде понятно.
1 note · View note
heavenslittlemachine · 1 month ago
Text
everything can be derived from anything, it's actually quite simple so here's an example: "evil lesbian nuns" implies the existence of 1) evil and everything which is not evil; 2) everything which is lesbian and everything which is not lesbian; and 3) everything which is a nun and everything which is not a nun. any one of these would do, but three is good for triangulation, that is, it creates a spatial awareness. so the all is derived from the one by its absence within the three. you might be asking, though, is the inverse also true? can the one be derived from the all by its absence? and the answer is no, or yes, depending on which side of the question you're on. but i always say honesty is best in these kinds of things.
2K notes · View notes