We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.
Name of template files HelloWorldScene.cpp/.h is confusing and inconsistent
Name of template files HelloWorldScene.cpp/.h is confusing and inconsistent
Bug #4587 [Closed]
Maybe the name of the class 'HelloWorld' should be changed during this issue too?
E.g.: class Template
and Template.cpp
and Template.h
or class RenameMe
and RenameMe.cpp
and RenameMe.h
or class Example
and Example.cpp
and Example.h
is better?
Redmine issue system is closed, we are using github issue system instead.
This issue was moved to https://github.com/cocos2d/cocos2d-x/issues/8386
Status: | Closed | |
---|---|---|
Start date: | 2014-03-28 | |
Priority: | Low | |
Due date: | ||
Assignee: | - | |
% Done: | 0% |
|
Category: | all | |
Target version: | - |
When I first started using Cocos2d-x, I found it confusing and not helpful that:
HelloWorldScene.cpp/.h
.Layer
, notScene
, despite what the filename implies.HelloWorld
!This is unnecessarily inconsistent. Why not name the files
HelloWorld.cpp
andHelloWorld.h
?