D
D
Dmitry_Sel2021-11-16 18:23:37
C++ / C#
Dmitry_Sel, 2021-11-16 18:23:37

How to store large strings nicely?

There is a program all written on the 1st switch, in each case there are ~ 300 characters of text that it displays. How to make more beautiful?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vasily Bannikov, 2021-11-16
@Dmitry_Sel

Rewrite in OOP style.
https://refactoring.guru/ru/replace-conditional-wi...
And large strings can be stored in constants or resources, depending on the requirements

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question