L
L
lxfr2014-02-11 15:12:40
Programming
lxfr, 2014-02-11 15:12:40

What is the correct way to specify a variable or object name - myVar or my_var?

This is the second year I've been struggling with this issue. I don't sleep at night.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
U
un1t, 2014-02-11
@lxfr

For different programming languages, different naming methods are adopted, moreover, naming depends on what you actually name - a function, a class, an object. For example, for Python, the PEP8 coding standard is adopted , and for Javascipt, camel-case is adopted .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question