#Dependency Inversion
Explore tagged Tumblr posts
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
#youtube#dependency inversion#dependency inversion principle#solid principles#solid#dependency principle
2 notes
·
View notes
Text
Building Scalable and Maintainable Code with Modular Architecture
View On WordPress
#ahsan mahmood#aoneahsan#Best practices#Code organization#Dependency Inversion#Independent modules#Maintainability#Modular Architecture#Scalability#Single responsibility principle#Software development#Testability#zaions
0 notes
Text
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
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.
#“dependency inversion principle” well yeah ig this would be useful if i was in an infinite white void devoid of particulars#unforchies... sometimes i have to deal with an echo of an echo of an echo of “real world concerns” so i need particulars that exist. sowwy
74 notes
·
View notes
Text
my two ultrakill moods:
“oh no, this horrifying killing machine is adorable”
“oh no, this horrifying killing machine is hot”
#sometimes both it depends on the robot#anyway yeah just thinking about this I guess#inverse problem.txt
71 notes
·
View notes
Text
Happy thanksgiving everyone!
#out of context slayers and lost universe#slayers#lina inverse#gourry gabriev#hopes of a great turkey or pizza feast depending on which timeline you’re in#thanksgiving
5 notes
·
View notes
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
#it's like. idk. for a certain niche group of people ''complex gender identity'' just means ''maleness included''#yeah nonbinary bigender and genderfluid people can be lesbians obviously and a lot of relationship nuance will depend...#... on the specific people involved. But also gender can be complex and nuanced and strange without involving maleness#why does non standard gender expression always seem to mean proximity to manhood for a certain group of people and why are they obsessed...#with attaching lesbians to men but never the inverse?#also do we forget that unaligned people exist. Like did we forget there are people who are attached to neither#or do we just have 4 genders now. boy girl nb(boy) and nb(girl)#really frustrating to genuinely consider no longer calling myself transmasc bc people point and go MAN! BOY!#even though part of the reason the terms transmasc and transfem exist as terms is to cover folks transitioning in a specific direction...#...without necessarily being the opposing binary gender#like idk. you can be cool with complex gender without also being gross towards lesbians who set reasonable boundaries regarding men#yes including trans men#Obligatory disclaimer this is a specific niche kind of post no I don't think everyone talking about nonstandard gender expression is doing.#... secret anti-lesbian dogwhistle posting there's just a specific brand of weirdo who are always strange about this
4 notes
·
View notes
Text
(trips and spills black hair/white hair ships all over your dash) ah shit ah fuck-
#art i made#how tf do i tag this???#shiguang#vanoe#inuokko#lumerene#elythorns#putting elythorns feels like cheating cuz elysium has like 3 different hair colours but theyre here because i say so#binge rewatched the promised neverland s1 on a plane when i was like 80% done with this so uh#let the records show norray wouldve been the unofficial 6th entry in this collection#this is a very target audience of me and me only kinda thing but like#can we talk about how noe archiviste and cheng xiaoshi are basically just colour palette inversions of each other#kindhearted naive counterpart to a more jaded partner + abandonment trauma#+ powers that involve experiencing other peoples memories in traumatically visceral ways#also! fun fact but noe vnc and thorns arknights have the same japanese va because i am nothing if not consistent apparently#ALSO also depending on how you count it 2-4/5 of these guys are doomed by the narrative. not sure whats the trend here#i mean elythorns and lumerene are doomed in the is3 timeline but to be fair everybodys kinda doomed in the is3 timeline#NO WAIT IM STUPID elythorns is doomed either way cuz of the. terminal rock cancer situation#so caught up in the euphoria of iberia gang that for a minute i lived in a world where oripathy didnt exist
11 notes
·
View notes
Note
*applies your inverse function*
becomes the identity function on my domain
#or the identity on my codomain#depends which side of me you applied my inverse to#math#mathblr#asks
10 notes
·
View notes
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…
View On WordPress
#dependency inversion#dependency Inversion java#dependency inversion principle#dependency inversion principle java#dependency Inversion principle solid#dependency inversion vs dependency injection#dip#dip principle#interface#liskov substitution principle#object oriented design#object oriented design and analysis#object oriented design and modelling#object oriented design approach#object oriented design in java#object oriented design interview questions#object oriented design model#object oriented design paradigm#object oriented design software engineering#object oriented programming#open closed principle#single responsibility principle#solid principles#solid principles explained#solid principles in android#solid principles interview questions#solid principles java#solid principles java interview questions#solid principles react#solid principles tutorial
0 notes
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,,,.,...,.
#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
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
#*are salt water and freshwater monsters different species? i have no clue lol. hashtag fake fan#gil webber#lagoona blue#monster high#long post#chum pesters#q#also as someone who was in a mixed race relationship i actually really relate to gil#im korean and my high school ex is white but my ex’s family ADORED me#like when we broke up they were worried that i would stop coming around they like me sm#my parents on the other hand were upset when they found out i was dating a white person#i ended up panicking and pretending to break up w my ex and hid our relationship from them#like a lot of ppl seem to liken their relationship to white [gil] + poc [lagoona] but ppl of any race can be prejudiced#ik poc being prejudiced against white ppl is completely different from the inverse in terms of social dynamic but still: shitty situation#imo i see their relationship in universe as more akin to smth like korean + japanese#like theres a lot of bad blood there but to someone who isnt asian [or a water monster in this case] they seem pretty much the same#but yeah. parents suck sometimes and thats a hard thing to navigate!#especially when you are as dependant on them as a teen would be!
19 notes
·
View notes
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.
#gw2 asura#asura headcanons#gw2 headcanons#headcanons#I know they don't do this in the game that's why it's a headcanon#also I think it's a fun inversion of always using a father or mother#it just depends on whom asura society has deemed ''smarter'' or more accomplished
9 notes
·
View notes
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
#the get-rid-of-it-ability of it is def contingent on the contract they have for it since its like outsourced basically#so depending on if theyre stuck in the contract for a certain period of time or if the contractor is paying tumblr to host their service#then we’re stuck with it for a while. i assume tumblr is paying the contractor rather than the inverse but it could kinda go either way#(could probs figure that out with some basic research but eh idrk)#but yeah if tumblr is paying out the ass for this’feature’ and the time on the contract isnt an issue then that shits getting yeeted#addendum: i do like the cute lil trail the post button does when you drag it around on mobile
0 notes
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-приложений), а программист пишет код только там, где дозволено (в контроллерах, сервисах и пр.).
Ну вроде понятно.
#студент бормочет#инверсия контроля#внедрение зависимостей#инверсия управления#inversion of control#dependency injection#di#ioc#у тамблера странно работает выделение текста цветом - цвет иногда съезжает#и это БЕСИТ#Я ПЯТЫЙ РАЗ РЕДАКТИРУЮ ПОЧЕМУ ТЕКСТ НЕ ХОЧЕТ БЫТЬ ФИОЛЕТОВЫМ
1 note
·
View note
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