Coehl
Coehl
CC#
Created by Developful on 8/30/2023 in #help
❔ Getting documentation from another class and putting it in another one
Or if it's a class with one interface and no parent, it can inherit from that without it
13 replies
CC#
Created by Pibbles on 8/29/2023 in #help
❔ File naming convention preference
Hm. I've never studied it but I may be influenced by proxy
17 replies
CC#
Created by Pibbles on 8/29/2023 in #help
❔ File naming convention preference
Just my .02
17 replies
CC#
Created by Pibbles on 8/29/2023 in #help
❔ File naming convention preference
I usually establish one as what should be considered the User. Then just further define the other. For example, mvvm? There's a User and UserViewModel. User gets passed around for business logic easily and usually gets turned into UserViewModel before hitting the UI. Same for a rest API. There's a main User that usually correlates to what gets saved in the database and maybe it's even what you get in a GET. Then I might have CreateUser, UpdateUser, etc for the other endpoints. All of these might share some interfaces too like IUser and ICreatable or something
17 replies