32
OPM46
6y

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.

Comments
  • 6
    interviewer: will $5000 per month be okay? sir?
  • 6
    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.
  • 12
    @taosif7 if that would be the salary, I will happily explain to him how an interface can be use out of the programming world.

    But interviewer was offering $700
  • 3
  • 4
    Is it legal in USA to work for so low?
  • 5
  • 2
    @Orionss the entire world is not the USA, friendly reminder
  • 2
    @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.
  • 2
    @Orionss like in many other countries, like India. Also, us software engineer are often. Very well paid
  • 1
    @Orionss may I ask you what is the average salary for a developer in french? Let's say for one with 2-3 years of experience
  • 1
    @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))
  • 1
    @Orionss in Italy in Milan, about 25k to 35k, a senior I think around 40-55k
    And we too have to subtract about 30% (it depends on the salary)
  • 0
    You also need it when injecting (or returning) objects of different classes when dealing with a strict typed language or use type hinting in PHP.
Add Comment