Comments (1)
Good point, thanks. Actually it was originally done this way, but later I decided to use headers only when they are really needed (in particular, included by more than one source file). In my opinion this is similar to main()
function -- the source file commonly doesn't have any corresponding header, because main()
shouldn't be used in any other way than as an application entry point. This approach is used for "main" classes in all examples and other projects and also in all unit tests. On the other hand, classes other than the main one always have their declaration in separate header file.
There surely might be some reasons why to not go with this approach, I chose it mainly for its simplicity.
from magnum-bootstrap.
Related Issues (20)
- Linker Error (SDL2) HOT 1
- Not installing `.wasm` HOT 1
- Build Output Directories HOT 3
- Building woes HOT 23
- vcpkg doesn't play well with FindXYZ modules HOT 4
- FrameBuffer::clearColor not working HOT 6
- Unable to build on VS2019 HOT 4
- Help understanding bootstrap emscripten js error HOT 6
- Android Gradle build HOT 7
- base-Qt reports wrong OpenGL Version HOT 9
- ANDROID_SDK variable has wrong path on Windows. HOT 2
- GL::Context: unsupported OpenGL version (0, 0) output while building base-wxwidgets HOT 12
- magnum + wxWidgets sample projects, mouse drag can rotate the camera, but not as expected HOT 1
- Building Issue - The fully qualified file name must be less than 260 characters HOT 1
- Add bootstrap example using FLTK HOT 2
- Linking issue with scenegraph3D bootstrap project HOT 1
- Cross platform bootstrap? HOT 18
- Getting started tutorial issue - can't find SDL2 HOT 3
- Segment fault using Getting Started Guide on Ubuntu 16.06 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magnum-bootstrap.