Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Are you suggesting something like this?

    def createUesr(db):
        if db is type1:
            behaviour1
        if db is type2:
            behaviour2





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: