samples icon indicating copy to clipboard operation
samples copied to clipboard

Rename classes to match file names in testrtc

Open KaptenJansson opened this issue 12 years ago • 2 comments

As agreed upon in #184 class names should be named after the file name according to the Google style guide.

Summary: File names should be lowercase and classes should use the same name but the first letter should be capitalized.

KaptenJansson avatar Oct 30 '14 12:10 KaptenJansson

Any specific cases you are looking at?

Please note that certain files contain more than one class and it may not make sense to really split (e.g. when the classes depend on each other). In that case the file is more like a namespace.

As an instance: I was tempted to rename the Call class to LoopbackCall, but still leave it inside the call.js together with other methods actually on Call.

andresusanopinto avatar Oct 30 '14 16:10 andresusanopinto

Yeah you are right, it's more of a guideline where it makes sense. Closing this for now.

KaptenJansson avatar Nov 10 '14 16:11 KaptenJansson