Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Marowski2687yI'm still in school and just learning C#. I was making a program that checks to see if a number is a palindrome, and doing a check to make sure it was 5 digits long.
I had the work in a method and left the function call in the Main.
I could not get it to cooperate, so I googled. I saw how one guy did it all in the Main so I figured I would try that. When that brought all sorts of bugs I said screw that and went to undo, and couldn't (VS). I finally got it going though.
Fussing at me about version control and git is useless since I haven't dealt with those. Plus I've read most schools don't like you posting your homework to git for obvious reasons. -
disolved5317y@Marowski git is not necessarily public or online. Git version control can be only local on your computer, or it can be in a private remote on for example bitbucket :)
-
Marowski2687y@disolved good to know, but right now git is the last thing on my mind. I'm working 40 hours, trying to get through three classes, and also having a family. I'll look into it when I only have one class next semester.
-
Its even weirder when you have code that you think should work, but doesn't, then you decide to go a little overboard with your next attempt, which doesn't work either, and when you finally give up, go to bed and change everything back to how it was, it suddenly works 😰
Had that three times with OpenGL already. -
@Marowski You don't need to publish your git repo. Git will work locally just fine. You don't need a remote, and even that could be a private one. (Bitbucket offers private repos for free. So also nice way to backup your homework if your computer breaks or gets stolen.)
That awkward moment when you alter your code to see if it work this new way, and doesn't, and undo does not work. *Weapons grade facepalm*
undefined