Skip to content

posts/Sulfurman03/2025-c2-week2 #78

Description

@utterances-bot

Frontend UI/Menu using CommonUI - Studylog 2 | wirteNow

예술공학부 기반의 블로그 스터디 쥐깍쥐깍입니다.

https://writenow-at.github.io/posts/Sulfurman03/2025-c2-week2.html

Activity

  1. Ebee1205 commented on Oct 11, 2025

    @Ebee1205
    Member

    람다함수… 지피티가 많이 사용하는 그거.

    일단 함수를 한 줄로 쓸 수 있기 때문에
    f(x, g(x)) {
    g(x)에 x를 넣어 연산 후 리턴
    }
    이때 x, g(x)를 묶음으로 여러개 정의해서 process하는 경우
    처럼 함수를 다른 함수의 인자로 전달해야하는 경우 람다식을 종종 쓰게되는 것 같습니다. 젤 흔하게 쓰는 형태는 비교/정렬/필터 관련 함수에서 기본 정의 외에 사용자 설정이 필요한 경우 람다식을 인자로 넣으면 깔끔한? 느낌을 주는 것 같아요. 그래서 보통 JS기반 프론트 작업할 때 (특히 표UI 작업할때) 많이 쓰게되는 것 같네요.

  2. Sulfurman03 commented on Oct 11, 2025

    @Sulfurman03
    Collaborator

    저는 코드의 흐름을 주로 이름을 통해 해석하는 편이어서
    유독 람다식과 안 맞는 성격인 것 같아요.
    강의 Q&A도 람다를 왜 쓰냐는 질문에
    간결하고 읽기 쉽다는 답을 한 것을 보니 취향에 영역까지도 볼 수 있는 것 같습니다.

  3. imyoumin commented on Oct 13, 2025

    @imyoumin
    Contributor

    람다 중첩 얘기에서 진짜 공감했습니다..ㅎㅎ 저도 CommonUI 조금 만져봤는데 함수 안에 함수 들어가면 머리 아프더라고요. 그래도 글 읽고 나니 스택 구조가 왜 중요한지 확실히 이해됐습니다. 좋은 정리 감사합니다!

  4. locked and limited conversation to collaborators on Nov 15, 2025
  5. converted this issue into a discussion #161 on Nov 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions