In Progress

Kyeongin
Written by@Kyeongin
늘 하던것만 하면 늘 얻던 것만 얻으며, 통찰은 몇 가지 단서만으로는 얻어지지 않는다

GitHub

Quick Start

Getting Started 😎 1. Create a Gatsby site. If you are not using , following Gatsby Getting Started 2. Start developing. 3. Add your content You can write… contents to blog in directory. resume dire…

Trie 자료구조

Trie 자료구조 trie Goal Trie 자료 구조란 Trie 구현 Trie 자료 구조란 trie는 digital tree 또는 prefix tree 또는 retrieval tree라 불리며, search tree의 종류 중 하나이다. trie는 문자열을 키로 사용하는 동적 Set 또는 연관 배열을 저장하는 트리의 확장된 구조이다. 예로 위 그림과 같…

Data Abstraction

Data Abstraction 데이터의 구조를 숨기고 interface를 통해 사용 data를 combination하는 법을 알아보자. 들어가기 전에 procedural abstraction을 먼저 알아보자. procedural abstraction common pattern을 찾고 람다를 사용해서 procedure를 나타내고 이름을 붙인다. e.i 다시…

Symbol

Symbol integer, char, string 말고 다른거 Symbolic differentiation 실제 값을 받는게 아니라 결과값을 심볼로 다루고 싶다. 아래 예제처럼 x^2/dx = 2x xy/dx = y (x^2+x)/dx = 2x+1 type deriv : < expr > < var > => < expr > < expr > “x” => …

Type(1)

Type(1) 값들의 집함; 모든 value는 타입을 가지고 있고, procedure 또한 그렇다 Types : compound data Scheme Pair List Rat(유리수) 7을 설명하면? 7을 7명, 7개, 7mm, 7pt 등등 여러 의미를 다룰 수 있음 7 자체는 abstraction임을 뜻함 그래서 type을 정확히 얘기해 줘야함. 여기서…

Type(2)

Type2 type of procedure input type number order type of result (->) Advanced in Types AND type ; product type(곱셈) Tuple Record OR type ; add type adition List Option Union enviroment table 에 넣는 걸을 va…

Type(3)

Type_3 모든 value는 type을 가지고 있다. Advanced in types PRODUCT type (AND type) Record SUM type (OR type) Union inheritance

abstraction

abstraction object to descibe to capture computational porcess procedure abstraction Lambda eager eval - 값을 바로 evaluation lazy eval - 우선 집어 넣고 나중에 evaluation procedure(do work) - common pattern을 찾아서…

Singleton Pattern

싱글턴 패턴 singleton.png 디자인 패턴이란 무엇인가? 어떤 상황의 문제에 대한 해법 패턴의 4가지 요소 이름 문제 해법 설계를 구성하는 요소들과 그 요소들 간과 관계, 책임, 그리고 협력 관계 결과 (장, 단점) Singleton(단일체) 어떤 클래스의 인스턴스는 오직 하나임을 보장하며, 이 인스턴스에 접근할 수 있는 전역적인 접촉점을 제공하는…

How to Summarize Procedure

프로시저를 써서 요약하는 방법 목차 프로그램을 짤 때 바탕이 되는 것 Procedure vs Process higher-order procedure로 요약하는 방법 프로그램 짤 때 바탕이 되는 것 좋은 프로그래밍은 내 생각을 짜임새 깊게 나타내는 것이다. 그 중 가장 기본이 되는 것이 아래 3개 이다. primitive expression means of…