Live data from Hacker News

Should I use interfaces?

shiroyasha.io

1–2 of 2 posts

Re: Should I use interfaces?

#2
have you read up on the new rave of having all your public interfeces declared bassed on a CRUD setup, and move all implementation details in the private parts.

For example if you have a subscription functionality , instead of doing

def subscribe , you would do it like:

def create_subscriprion.

This in turn is advocated on the bases that it will improve readability and lessen confusion amongst programmers. What are your thoughts on that?