C
C#fateos

❔ Project structure

1. In my Solution there should be only 1 Project right? Unless its a big App 2. I started using folders in my Project 1 for all interfaces, 1 for all the Items lets say, 1 for all the character types(player,monster,npc) and so on. Is there a better way to structure your project? 3. I created a GitHub acc. Now I wanna structure the Projects that I wanna show off to companies but also keep other projects private (small projects or stuff I don´t wanna show to other people) Is it even a good idea to link my github to companies because I saw that they could see my commit history and every change made (some of my commits are dumb since I am also playing around getting to know git a bit more)... 4. Same as 3. but local project structure. So since I just started I have lots of different "small" projects. Kind of embarassing if I would put them all on my github repo. But they have little cool implementations that I would want to have access to lets say maybe even at work. How would you guys go about this? Thanks in advance!
P
Pobiega387d ago
1: its very common with more than one project, but usually just one "entrypoint project" (a console app, webapi, desktop app.. something you run) and one or more libraries and/or test projects. 2: thats one way to do it, but many prefer to order things not by what they are (interfaces), and rather by what they are related to (grouping everything related to a feature) 3: github has private and public projects. If you dont wanna show it, keep it private. 4: stick em all in one big repository, and keep it private?
MW
Monsieur Wholesome387d ago
1. Generally try to separate some stuff into two projects minimum Like Core and GUI (Web, CLI, etc.) Otherwise, it's all up to yourself 3. Recruiters won't look at commit histories and evaluate file differences Even if they noticed "weird" commits, you should see the commits in enterprise codebases when someone tries to fix CI/CD stuff and similar. "Add CI/CD file", "Fix CI/CD", "This should work now", "Now it should work", "fix", ... kek 4. For code snippets that you would like to have available publicly, you can use github gists
F
fateos387d ago
oh wow they changed it? I was pretty sure that github repo is always public if you dont have a subscription then that question is obsolete okey I will look into github gists. But I just need it for myself so it can be private
MW
Monsieur Wholesome387d ago
With GitHub Free for personal accounts and organizations, you can work with unlimited collaborators on unlimited public repositories with a full feature set, or unlimited private repositories with a limited feature set.
Not sure why they put used "or" instead of "and" Though I am a GitHub Pro user and always have been, so I cant really tell tbh
P
Pobiega387d ago
before MS took over, it was... 5 private projects max and they were limited
F
fateos387d ago
have u used the github co pilot with the new chatgpt 4?
P
Pobiega387d ago
copilot X? thats in technical preview, very few people have access
MW
Monsieur Wholesome387d ago
no, I really dislike copilot for copilot x I have joined the waiting list tho to have a peek
F
fateos387d ago
I will start working in 2 weeks and that would be a cool feature to use since it will know all the classes in ur solution and that would help me understand the code better
P
Pobiega387d ago
If you are new, stay the fuck away from AI tools
MW
Monsieur Wholesome387d ago
And publicly distribute your company's codebase KEKW
F
fateos387d ago
xD I thought its local?
MW
Monsieur Wholesome387d ago
No, it's communicating back and forth with github and all queries are api calls
F
fateos387d ago
locally implemented in visual studio I mean
P
Pobiega387d ago
not at all the clientside is just a thin client wrapper
F
fateos387d ago
damn guys I had my hopes up
MW
Monsieur Wholesome387d ago
no hope with ai!
F
fateos387d ago
back to learning then my motivation just sparked up learning with this new book headfirst design pattern makes me look super stupid I hope by then AI catches up
P
Pobiega387d ago
Don't rely too much on it. Like, they are cool, and can speed things up... but just blindly hitting "accept solution" when you dont understand what it does is a biiiig no-no
F
fateos387d ago
no its not about accepting the solution
P
Pobiega387d ago
remember, AIs dont actually know how to code. They just have really large amounts of data gathered.
F
fateos387d ago
it would be about understanding the code because it knows about all the references so far from what I have seen with chatgpt it can describe a code snippet very well
P
Pobiega387d ago
We'll see. The demo they did for that seemed very limited.
F
fateos387d ago
the normal 3.5 one that is available for public
P
Pobiega387d ago
I meant the VS integrated Copilot X thing ChatGPT I don't trust one bit after seeing some code it suggested 😛
F
fateos387d ago
I use it for specific cases where I already have the bug in the code xD cant go worse than it already is only better
P
Pobiega387d ago
Oh yes it can 😛
A
Accord386d ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server
More Posts
❔ how to use EF6 in library with no dependancy injection and no startup.csI used EF core power tools to generate DB Context and reverse engineer the models. now I get an erro❔ HeadFirst Design PatternSo I started with this Book today. First problem starts with the Duck Project: and when he tests h✅ EqualityComparerHello, anyone know of this code work ? --> `EqualityComparer<ICollection<myclass>> .Default.Equals❔ error attaching script (unity)this error appears when trying to attach the script, does anyone know how to solve it?❔ i have an app that runs well on my pc but not on other pcsi have an app that runs well on my pc but on when i zip it and bring it to another pc the ui is all yield???```cs public IEnumerable<int> A() { for (int i = 0; i <= 10; i += 2) yield return i; } C# Data Table issuehttps://pastebin.com/DSHwSh0M based on this program, I need to set the values of the `Old PS A11Y S❔ Microsoft Graph SDK - Serializing objectsHello, I am currently working with Microsoft Graph API to work with the Planner. My goal is to backu❔ XML deserialise different types into a single listI'm using the build in XML serialisation library (unless it's with .NET framework?), and I current h❔ Access things from different scene in UnityI have a Class Selector scene that has a Class Selector Script component (MonoBehaviour) attached to❔ C# how do I write an If-statement to handle a button?Hi, I wanted some assistance with writing a If-statement that filters out the zones section in my ap❔ Magnetic Links for application?Hey, does someone have an article/tutorial/explanation how I can develop magnetic links for my appli❔ Show values from a list in a datagridview getting source from bindingsourceHello! I have the following problem: I am currently developing a winforms app with a datagridview th❔ Render email content .NET 7 (razor)I have to reinplement email content rendering, because currently its not looking really good, especi❔ GetAxis wont workpublic class Driver : MonoBehaviour { // Start is called before the first frame update const✅ (SOLVED)Help a Beginneri am following CodeMonkeys 11Hr youtube video on coding a game in unity. I have ran into a issue whe❔ Exclude items from linq query if they contain one from an array of substringsI've got a list of strings, that if they appear anywhere in a linq query column i want to exclude th✅ Comprehension questions (LeetCode Binary Search)Like the title says it's about this puzzle https://leetcode.com/problems/binary-search/description/ ❔ How to create a cubic function calculator that also calculates the minimum and maximum value```c Console.WriteLine("Please enter a, b, c, d for the cubic function ax^3+bx^2+cx+d"); ❔ how to listen to the output of a virtual audio device on windows using C#?how to listen to the output of a virtual audio device on windows using C# to save the raw audio stre