Recent Posts
Recent Comments
Tags
- React
- Day js
- react ga4
- Google Analytics
- ํด๋ฆฐ์ฝ๋
- ๊นํ ํด๋ก ์๋ฌ
- ๊ตฌ๊ธ์ ๋๋ฆฌํฑ์ค
- Day.js
- github
- ๋ ธ๊ฐ๋ถ
- github clone
- nomad coders
- NomadCoders
- UX
- cleancode
- react ga
- law of ux
- ํฌ๊ทธ๋ฆฌํธ
- FOUR GRIT
- Data Driven UX
- ๋ ธ๋ง๋์ฝ๋
- ๊ตฌ๊ธ ์ ๋๋ฆฌํฑ์ค
- Jon Yablonski
- react scripts
- Clean Code
- ์กด ์ผ๋ธ๋ก ์คํค
- uxui
- devbookclub
- ๊ฐ๋ฐ์๋ถํด๋ฝ
- data management
Link
TURI BLOG
[Nomad Coders Challenge] Clean Code - Assignment #04 ๋ณธ๋ฌธ

๐ It is part of a book club challenge on a programming learning website called Nomad Coders. The challenge is to demonstrate what I have learned after reading Clean Code by Robert C. Martin.
๐ It will consist of the following sections over three weeks: the range of reading, the top quotes from the book, my review, and remaining questions.
๐ป I plan to read Clean Code in JavaScript and Python, referring to the GitHub repositories shared by Nomad Coders with the challengers.
Assignment #04
- ๐ Chapter 3. Functions - ํจ์๋ฅผ ์ ๋ง๋๋ ๋ฒ
- โ๏ธ TIL
- Top quotes from the book
- My review
- Remaining questions
๐ Top quotes from the book
- ์๊ฒ ๋ง๋ค์ด๋ผ
- ํจ์๊ฐ ์์์๋ก ๋ ์ข๋ค
- if ๋ฌธ/ esle ๋ฌธ/ while ๋ฌธ ๋ฑ์ ๋ค์ด๊ฐ๋ ๋ธ๋ก์ ํ ์ค์ด์ด์ผ ํ๋ค๋ ์๋ฏธ๋ค.
- Functions should do one thing. ๊ทธ ํ๊ฐ์ง๋ฅผ ์ ํด์ผ ํ๋ค. ๊ทธ ํ๊ฐ์ง๋ง์ ํด์ผ ํ๋ค.
-
ํ์ด์ง๊ฐ ํ ์คํธ ํ์ด์ง์ธ์ง ํ์ธ ํ ํ -> ํ ์คํธ ํ์ด์ง๋ฉด -> ์ค์ ํ์ด์ง, ํด์ ํ์ด์ง๋ฅผ ๋ฃ๋๋ค. ํ ์คํธ ํ์ด์ง๋ ์๋๋ -> HTML๋ก ๋ ๋๋งํ๋ค.TO RenderPageWithSetupsAndTeardowns
- ํจ์๊ฐ 'ํ ๊ฐ์ง'๋ง ํ๋์ง ํ๋จํ๋ ๋ค๋ฅธ ๋ฐฉ๋ฒ - ์๋ฏธ ์๋ ์ด๋ฆ์ผ๋ก ๋ค๋ฅธ ํจ์๋ฅผ ์ถ์ถํ ์ ์๋ค๋ฉด ๊ทธ ํจ์๋ ์ฌ๋ฌ ์์ ์ ํ๋ ์ ์ด๋ค. [G34]
- This is by far the most important rule in software engineering. When functions do more than one thing, they are harder to compose, test, and reason about. When you can isolate a function to just one action, it can be refactored easily and your code will read much cleaner. ( @ryanmcdermott. Clean Code in Javascript: Functions. GitHub. Link )
-
- Functions should only be one level of abstraction.
- When you have more than one level of abstraction your function is usually doing too much. Splitting up functions leads to reusability and easier testing. ( @ryanmcdermott. Clean Code in Javascript: Functions. GitHub. Link )
- When you have more than one level of abstraction your function is usually doing too much. Splitting up functions leads to reusability and easier testing. ( @ryanmcdermott. Clean Code in Javascript: Functions. GitHub. Link )
- ...
๐๏ธ My review
- ...
๐ Remaining questions
- FitNesse
- JUnit
- Lexical grammar Lexical analysis
- ...
๐ Additional Resources
'Nomad Coders' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[Nomad Coders Challenge] Clean Code - Assignment #06 (0) | 2024.12.06 |
---|---|
[Nomad Coders Challenge] Clean Code - Assignment #05 (0) | 2024.12.05 |
[Nomad Coders Challenge] Clean Code - Assignment #03 (1) | 2024.12.01 |
[Nomad Coders Challenge] Clean Code - Assignment #02 (3) | 2024.11.30 |
[Nomad Coders Challenge] Clean Code - Assignment #01 (1) | 2024.11.29 |