top | item 47081338

(no title)

bossyTeacher | 10 days ago

> Had to look at some c# backend code. To write any kind of endpoint that talked to a database they had to write at least... 7? different files, lots of empty interfaces that has to be created and implemented, command, mediator patterns everywhere, etc. Looked like insanity compared to Spring Boot

Programming against interfaces. That's what you are seeing. Makes unit testing easier.

discuss

order

skeletal88|4 hours ago

Somehow it is not required in other languages. It hurt our eyes at the office when looking at all these empty meaningless interface files. It just looks like bad language design from the outside, but when you are in there then you are used to all the weird things