A
A
Artemy2018-03-31 18:46:27
Documentation
Artemy, 2018-03-31 18:46:27

Is it acceptable to write comments in several languages ​​at once?

Suppose I want (or need) to keep comments and documentation in several languages ​​(RUS\ENG) at the same time.
What is wrong with this approach?
How can this be done in the best possible way?
I have something like this vision in my head (Python code)

'''Text output'''
'''Вывод текста'''
print("Hello, World!")

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
sim3x, 2018-03-31
@Artemonim

No, not allowed

V
Vasily Vasilyev, 2018-04-01
@Basil_Dev

Question - why? English (moreover, American) is accepted all over the world and learns even before the first line of code by any developer (unless, of course, you do educational projects for elementary school students). Duplicate in Russian is at least a bad tone that reduces the readability of the code, not to mention possible problems with encodings.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question