Comment on: [Q] what's the best repo platform for a simple project?
Sure, if you're just learning about all this it can be a bit intimidating. Fortunately a small project like the one you're starting is only going to need the basic functionality that Git provides.
To get you started:
- Download and install Git on your computer
- Configure Git on your system.
- Create an account on Bitbucket
Create a new repository on Bitbucket:
- Make sure to un-check "Access level: This is a private repository" if you want everyone to be able to download your files
- In Advanced Settings: Create a description for your project
- In Advanced Settings: Enable "Issue Tracking" To allow people to create bug requests or feature requests
- In Advanced Settings: Enable "Wiki" if you want to create a documentation Wiki for your project
- In Advanced Settings: Set "Javascript" as your language"
Get started on your project:
- Clone your Bitbucket repository to your computer. ("git clone <Repo URL>")
Now you have two copies of your project. One on the Bitbucket server and one on your computer. Add and edit the files on your computer and then use Git to sync them to your Bitbucket repository.
Basic Git Workflow
Git can be a bit intimidating for a beginner, but below is the basic work flow.
- Add and edit files to your local repository until you reach your goals (i.e. some basic level of functionality)
- Run the command "git status" to make sure that only the files you have meant to change have been changed.
- Run the command "git diff" to get a list of changes that you have made (to review those changes).
- When everything looks good run "git add" to add those changes to Git.
- Run the command "git commit" to commit the changes.
- Run the command "git push origin master" to upload those changes to bitbucket (You'll be ask for your Bitbucket password)
Once you have those basics down, you can start getting into more complicated things like branches, forks, and pull requests. ALthough for your project you probably won't have to worry about any of that stuff.
Comment on: [Q] what's the best repo platform for a simple project?
I use bitbucket myself. Although github, gitlab, and bitbucket all have (for the most part) the same feature set. You'll be fine using any of them for your project.
Since you're going to be allowing people to contribute, you'll want to understand how to do pull requests. Pull requests are the best (my opinion) way to manage code review and code merges. Here is more info about it from Bitbucket (Atlassian).
Comment on: Obscure C++ Features
I think it makes more sense when Bjarne Stroustrup explains why C++ is the way it is.
This definitely does not describe most of the code I'm forced to work on.