Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Eh? You need an interface when you have different components, and you need different components to be able to work in parallel with several devs, and to prevent the thing from being one big ball of mud that nobody can understand, debug or maintain.
-
Orionss28866y@refex I'm French from and living in France ;)
In France we have 1380€ minimum salary for maximum 35 hours a week. And we learn in France that USA has slave-like work policies, explaining the confusion. -
Orionss28866y@refex outside of Paris, it's around 35-40k, in Paris it's near to 50k. For senior developers, it climbs up to 60k.
But don't forget that we have almost 30% taxes on the revenues at the end of the year (costs of universal Healthcare, retreat, "congés maladie" (doesn't know the right word here)) -
hjk10156966yYou also need it when injecting (or returning) objects of different classes when dealing with a strict typed language or use type hinting in PHP.
Related Rants
I applied for PHP Developer
Interviewer: What is interface?
Me: it is class with unimplemented methods?
Interviewer: But why we use it?
Me: it acts as a contract so you can assure that
on implementing interface developer will follow
the same architecture.
Interviewer: that's okay but why is the need for an interface at first place?
I was irritated with the interview process as he was smirking
every time I answered.
Me: I never get a chance to do that kind of research. Truth is
even if you hire me your manager will declare the unrealistic deadline and won't care if I comment the code or know why we really need to implement an interface.
After he did not smile and I left the chair.
rant
interview