In computer programming, a code smell is any characteristic in the source code of a program that possibly indicates a deeper problem.Determining what is and is not a code smell is subjective, and varies by language, developer, and development methodology.
Too many parameters: a long list of parameters is hard to read, and makes calling and testing the function complicated. It may indicate that the purpose of the function is ill-conceived and that the code should be refactored so responsibility is assigned in a more clean-cut way.
Long method: a method, function, or procedure that has grown too large.
Excessively long identifiers: in particular, the use of naming conventions to provide disambiguation that should be implicit in the software architecture.
Excessively short identifiers: the name of a variable should reflect its function unless the function is obvious.
Excessive return of data: a function or method that returns more than what each of its callers needs.
Excessive comments: a class, function or method has irrelevant or trivial comments. A comment on an attribute setter/getter is a good example.
Excessively long line of code (or God Line): A line of code which is too long, making the code difficult to read, understand, debug, refactor, or even identify possibilities of software reuse.
Timeline
00:00 Intro
00:20 Types of code smells
00:26 Too many parameters
00:35 Long method
00:45 Excessively long identifiers
00:55 Excessively short identifiers
01:09 Excessive return of data
01:19 Excessive comments
01:32 God Line
01:42 Closing
All the 𝗰𝗿𝗮𝘇𝘆 𝗧𝗲𝗰𝗵 𝗮𝗻𝗱 𝗦𝗼𝗳𝘁𝘄𝗮𝗿𝗲 𝘀𝘁𝘂𝗳𝗳 at your finger tips. Just have a look and decide. Don't Forget to subscribe.
We make videos about existing technologies and provide suitable support for better understanding. It may be programming languages, Operating Systems or any other Cyber Security. We seek your support for better growth and channel development. Please try to like, share and subscribe to our Channel. If you face any difficulty or want to suggest any improvements please comment in the videos 😇.
𝑷𝒍𝒆𝒂𝒔𝒆 𝒇𝒐𝒍𝒍𝒐𝒘 𝒖𝒔 𝒐𝒏 🥰
Github : https://github.com/sukreshmanda/
Youtube : / dumbminds
Blogger : https://sukreshmanda.wordpress.com/
𝑰𝒇 𝒚𝒐𝒖 𝒘𝒂𝒏𝒕 𝒕𝒐 𝒔𝒖𝒑𝒑𝒐𝒓𝒕 𝒂𝒏𝒅 𝒔𝒑𝒐𝒏𝒔𝒆𝒓 𝒗𝒊𝒅𝒆𝒐𝒔😘
Buy me a Coffee : https://www.buymeacoffee.com/sukreshm...
#𝒅𝒖𝒎𝒃𝒎𝒊𝒏𝒅𝒔 #𝒉𝒐𝒘𝒕𝒐𝒔𝒆𝒓𝒊𝒆𝒔 #𝒉𝒂𝒄𝒌𝒊𝒏𝒈 #𝒑𝒓𝒐𝒈𝒓𝒂𝒎𝒎𝒊𝒏𝒈
Auf dieser Seite können Sie das Online-Video Function Level Code Smells | Clean Coding | Dumb Minds mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Dumb minds 22 September 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 44 Mal angesehen und es wurde von 1 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!