Ab
✅ Github Desktop - Can you switch accounts without messing things up?
Sorry if this is the wrong place/server for this question but it might be pretty basic anyway.
I have two GitHub accounts, one of them being for work. I love using Github desktop but recently discovered you can only really have one (personal) account signed into it.
I don't mind switching between accounts but I'm worried what will happen to the current state of my repositories the moment I sign off of the one I'm currently signed in to. Can I simply switch accounts freely and keep working on those accounts respective local/remote repos with no issue?
Thanks!
32 replies
Whose job is it to mutate an object? (Course Management project)
Let's say I've got two classes, a
Course
and a Student
class.
Let's say I want to add a Course
to a student
object. What's better design:
student.enroll(course)
or
CourseManager.enroll(student, course)
Basically should the responsibility of enrolling a course be given to the student or a separate CourseManager
class4 replies
❔ Windows Apps Resources
Does anyone know why some app devs choose to put app resources in folders within documents/user folder rather than just keep it all in the main app folder in
C:/ ?
Like how games sometimes put things in documents/My Games
Is it a windows permissions thing? Or do they just do it by convention? Is it bad as a dev to just put it all in the main folder?18 replies
❔ Design Question
Let's say I've got a class
The question is, should the library be able to change the state of the program directly? The way it would do this is by something like
Application
which drives the program. And let's say during execution of the program, it makes regular calls to a class library I have. Now depending on the response from the library, it will change the state of the program.The question is, should the library be able to change the state of the program directly? The way it would do this is by something like
Application.stateChange()
. I felt iffy about this because it means Application
calls the library and the library calls Application
. Is a better way to do this just that the library returns a status code?4 replies