강의

멘토링

로드맵

NEW
Programming

/

etc. (Programming)

Simple Design Introduction Lecture 2: Handling Duplicate Code

This course is the second lecture in the Simple Design series. Simple Design proposes the following two methods for creating good code: 1. Remove duplicate code. 2. While doing so, find ways to reduce components. This lecture focuses on the first of these two methods.

(4.9) 7 reviews

252 learners

  • youngrok
리팩토링
코드품질
중복코드
Refactoring

What you will learn!

  • You can understand why duplicate code is bad and what specific negative impacts it has.

  • You can learn about different types of duplicate code and how to resolve them.

Simple Design Roadmap

This lecture is the second lecture in the Simple Design series. You can view the Simple Design series at the following link: https://inf.run/VvwxD

It would be good to watch the first lecture (free lecture) first. https://inf.run/rpGb7


Course Syllabus

This lecture is the second in the Simple Design introduction series that covers methods for improving code quality. In the first lecture, we provided an overview of why Simple Design is proposed as a standard for code quality and what Simple Design is. The methods for achieving Simple Design can be summarized in the following two ways.

  1. Remove duplicates from the code.

  2. While reducing components to the minimum.

And this lecture focuses intensively on the first method of creating Simple Design: how to eliminate duplication in code. Specifically, it will cover the following content.

  • Why is duplicate code bad, and how bad is it?

  • Duplicate code is also a symptom of other design problems.


  • Conditional Statement Duplication and Polymorphism

  • Handling Slightly Different Duplicate Code

  • Finding Hard-to-Detect Duplicates

  • The problem of duplication between documentation and code

  • Duplicate Code That's Okay to Leave Alone - Metric Tools, AI, etc.



We'll explore these concepts through the process of directly refactoring various example codes. The example code utilizes a mix of three languages: JavaScript, Python, and Java. Open source examples are also included.


These days, while AI has made development more convenient for coding, it's also causing many side effects, right? There are many cases where maintenance becomes more difficult due to the low-quality code that AI produces. However, AI can actually help create high-quality code. This course also covers how to utilize AI in beneficial ways.


You might think that code quality isn't important when you don't directly look at the code, like with vibe coding, but since AI also reads and writes code just like humans do, if the original code quality is poor, AI will also create bad code and generate many bugs. It also consumes much more tokens when writing code. In fact, code quality might become even more important in the AI era. So through this course, I hope you can reduce duplicate code and elevate your code quality to the next level.


Recommended for
these people

Who is this course right for?

  • Those who want to know whether the code they wrote is good code or not

  • Someone who wants to know what to do when their team's development speed is gradually slowing down

  • Someone who has difficulty reaching agreements with colleagues due to different perspectives on code quality

Hello
This is

1,761

Learners

36

Reviews

4.9

Rating

3

Courses

대한민국에서 가장 폭넓은 경험을 가진 개발자입니다. 직접 창업한 스타트업, 소규모 스타트업에서부터 네이버, 카카오, 엔씨소프트 등 대기업까지 다양한 규모의 기업, HTML과 CSS에서 시작해서 프론트엔드, 백엔드, 시스템 프로그래밍, 하드웨어 제어, DevOps까지 다양한 기술, 커머스, 세무회계, 광고산업, 생산성 툴, 공공프로젝트 등 다양한 비즈니스 도메인을 경험했습니다.

또한, 많은 기업에서 CTO를 맡으며 팀원들의 강력한 지지를 받았고, 여러 번 실패했던 프로젝트를 이어 받아 살려낸 사례를 통해 해결사 역할도 많이 요청 받고 있습니다.

Curriculum

All

5 lectures ∙ (1hr 18min)

Published: 
Last updated: 

Reviews

All

7 reviews

4.9

7 reviews

  • spy1233님의 프로필 이미지
    spy1233

    Reviews 2

    Average Rating 4.5

    4

    60% enrolled

    • dureng50149님의 프로필 이미지
      dureng50149

      Reviews 2

      Average Rating 5.0

      5

      100% enrolled

      • grootcodes님의 프로필 이미지
        grootcodes

        Reviews 2

        Average Rating 5.0

        Edited

        5

        100% enrolled

        Thank you~!

        • eeeasycode5836님의 프로필 이미지
          eeeasycode5836

          Reviews 4

          Average Rating 5.0

          5

          100% enrolled

          • duagnldnjs4735님의 프로필 이미지
            duagnldnjs4735

            Reviews 1

            Average Rating 5.0

            5

            60% enrolled

            Limited time deal

            $6.60

            25%

            $8.80

            youngrok's other courses

            Check out other courses by the instructor!