Questions tagged [Kodobred] (13)

2
answers

How is anti-pattern, when the property changes the value in the assignment?

Code like thispublic int Size { get { return _size; } set { _size = value + 15; } }<br> How is it called correctly? Thank you.
Amaya.Will asked October 9th 19 at 21:34
5
answers

WTF with the language layouts?

Good evening to all, Excuse me, but could not formulate a question. So use the picture. Above no no, not photoshop. The taskbar shows 3 languages Shortcuts through 3 languages In the settings of their tongue 2 Disappears, if you add English and then again to remove it. Could not understand, in some cases, it appears ...
Mariana.Hartmann56 asked October 9th 19 at 19:25
5
answers

Lynch code

Due to the fact that you now work at colorizable specialty, began to deteriorate as a developer. Always write a bunch of real bad code and not notice it. And often, you can make everything so much prettier, clearer and simpler. So the question arose: is there any website where you can throw your code, and there are people w...
faye asked October 8th 19 at 06:54
3
answers

How to spell front-end or frontend?

Half of the vacancies are written with a hyphen in half - together. Is there a well-established tradition of writing the terms frontend and backend? Is there a rule according to which it is necessary to clearly write it so and not otherwise?
William10 asked October 1st 19 at 02:57
4
answers

As you work with poor someone else's code?

I would like to know, what are the methods, techniques and recommendations for dealing with "spaghetti" code, methods of refactoring
Jessyca.McDermott asked September 30th 19 at 14:03
8
answers

Is it possible to keep the code clean?

You create a project and all is well. At first, everything goes according to plan, but with the growth of different chips and plug-ins and experiments becomes difficult to keep code clean. How anyone is this happening?
Juvenal asked September 30th 19 at 10:32
3
answers

How to register the image via the img tag or the background url?

What is correct? And is there some rule? Can the background gallery images to set the path using css? Or is the difference only the logical?
Juvenal asked September 30th 19 at 09:45
2
answers

What do you call this design pattern?

The brains left in the astral plane, please help. How is the pattern design, in the framework of which class method returns an object of the same class, thus - I can make a chain of challenges and get the changed object of this type? For example, the establishment criteria, in Java:andLastNameGreaterThanOrEqualTo public Cri...
Sheridan30 asked September 28th 19 at 03:55
3
answers

A text file containing your hash is it possible?

Reading a well-known resource dedicated to the 'extraordinary' code, and seeing a single instance thereof, the question arose - is it possible that the string contain a substring which is a hash?
tyson.Marquardt asked September 28th 19 at 00:48
2
answers

Why not compile C++code?

Recently started to learn C++, I decided to practice a little, you can say the first experience, help to find the error please. Code:#include <iostream.h> #include <fstream.h> #include <conio.h> int main() { char s1[255]; //Variable to read the line ifstream in ("C:\progga\file_1.txt"); //Open file to...
Trystan asked September 27th 19 at 13:25