What makes code good? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 16

What makes code good?

What are the main features you look for when you are coding? Do you pay more attention to efficiency, readability, reliability, completeness, or something else?

13th Aug 2017, 9:35 AM
m abrate
m abrate - avatar
25 Antworten
+ 12
1. Readability, 2. Being DRY (not having duplicate code), 3. Computational complexity of O(n) or less,
13th Aug 2017, 9:57 AM
Salekin
Salekin - avatar
+ 11
1.efficiency 2.completeness 3. Beautifulness 4.Creative Ideas 5. Understand My code
13th Aug 2017, 12:36 PM
Art456
Art456 - avatar
+ 10
1: EFFICIENCY Obviously, clean code is fast code. Code that is clearly written is easier to maintain and tends to be faster because it indicates that the code was correctly developed and refactored to its core 2 MAINTENABILITY is to write it for other people to read. This means a combination of keeping it short, simple and consistent or ‘KISS’; good comments, consistent coding standards, good naming conventions of variable 3 WELL STRUCTED Well-structured code is basically about how the various objects in a software code base collaborate with each other 4 REGARDED BY YOUR PEERS Good programmers know good code. You know you are doing a good programming job when your peers have good things to say about your code and prefer to copy and paste from your programs. 5 READABLE is how easy is to read and understand the code and its purpose. 6.RELIABILITY Code that is stable will not cause short dumps. This means more reliable applications and less downtime to the business. 7 FOLLOWS STANDARDS This characteristic means that the code follows a set of guidelines, rules and regulations that are set by the organization. 8.EXTENSIBILITY This characteristic means how easily code can adapt to changing conditions or how easy is it to add new functionality.
14th Aug 2017, 11:13 AM
Isack Cyprian
Isack Cyprian - avatar
+ 9
1. being WET to confuse anyone 2. Readability 3. Creative 4. Neat 5. no error 6. not a plagiarism 7. simple but complex 8. completeness
13th Aug 2017, 1:50 PM
Amethyst Animion
Amethyst Animion - avatar
+ 6
1) creaties ideas 2) Begin DRY (like salekin sayed) 3) understand the code
13th Aug 2017, 12:33 PM
AL.The.Flame!
AL.The.Flame! - avatar
+ 6
try to make code small but efficient, code should have a smaller execution time. And all the above posts 👆
14th Aug 2017, 9:46 AM
Germain F
Germain F - avatar
+ 6
Depends by the side For boss: -working For Coder -working For customer -working fast For community EFFICIENCY MAINTENABILITY WELL STRUCTED READABLE FOLLOWS STANDARDS EXTENSIBILITY the truth For me: Open Source Cause I believe that if it is open source it has to be working or it will work sooner; if it is open we can make it faster,secure and compatible with community demands :D
14th Aug 2017, 11:27 AM
Melih Melik Sonmez
Melih Melik Sonmez - avatar
+ 6
To think that you are doing what others can't see, most of the time people don't even think.that every bit is coded... For now SoloLearn is showing hoe
14th Aug 2017, 1:30 PM
Iwan
Iwan - avatar
+ 6
It should be comprehensible to you in the first place. You should be able to retrace your steps
15th Aug 2017, 10:24 PM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 5
1. Neat 2. Readable 3. Complete
13th Aug 2017, 4:34 PM
m abrate
m abrate - avatar
+ 4
just separate the important think from the public.
15th Aug 2017, 2:59 AM
Basri Basren
Basri Basren - avatar
+ 4
simple best easy to understand
15th Aug 2017, 5:13 AM
MOHANRAJ D
MOHANRAJ D - avatar
+ 3
I'll say only one then "Always think that less code isn't the meaning of faster" this is how to make code good
14th Aug 2017, 6:06 AM
Yanothai Chaitawat
Yanothai Chaitawat - avatar
+ 2
1.Creative ideas 2.Unique codes 3.No errors 4.Readability
14th Aug 2017, 8:45 AM
Learnsolo
+ 2
readable unique
14th Aug 2017, 10:54 AM
Isack Cyprian
Isack Cyprian - avatar
+ 2
give ur variables and methods funny names so when other people read em theyll laugh
14th Aug 2017, 11:15 AM
Aintgot Anyname
Aintgot Anyname - avatar
+ 2
reusability is key for speed
14th Aug 2017, 9:07 PM
Keith Marshall
+ 2
want b2 a hacker, C/C++ and _asm is all i like
15th Aug 2017, 1:50 PM
Pickle_Rick()
Pickle_Rick() - avatar
+ 1
make people enjoy what you did and efficiency of your code
14th Aug 2017, 10:38 AM
Miller Doucas F
Miller Doucas F - avatar
+ 1
readability, crisp and precise logic, simple methods and not using complex declaration, with comments for each and every where necessary for better understanding of others, time taken for execution
14th Aug 2017, 7:41 PM
Sai Krish
Sai Krish - avatar