일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
- ack
- 코드 컴플릿
- CPU
- addressing mode
- 가독성
- float
- Code complete
- floating point
- 리펙토링
- register
- 명령어
- MMU
- L3 Router
- 사설 IP
- network
- Public IP
- page
- TCP
- cache
- interrupt
- private ip
- 공인 IP
- Sector
- 클린 코드
- ALU
- refactoring
- osi 7
- physical address
- L2 switch
- Clean code
- Today
- Total
목록가독성 (21)
Software Lab

updateContent(user, content){ if(user.login() == false) return if(user.getID() != content.getUserID()) if(user.isAdmin() == false) return ... ... } deleteContent(user, content){ if(user.login() == false) return if(user.getID() != content.getUserID()) if(user.isAdmin() == false) return ... ... } hasContentWriteAuthority(user, content){ if(user.login() == false) return false if(user.getID() != con..

class Line{ Point start; Poinrt end; public Line(Point start, Point end){ ... } public void draw(){ ... } } class Circle{ Point center; double radius; public Circle(Point center, double radius){ ... } public void draw(){ ... } } class Rectangle{ Point leftTop; Point rightBottom; public Rectangle(Point leftTop, Point rightBottom){ ... } public void draw(){ ... } } void main(){ Line line = new Lin..

class Soldier{ //abstract class public virtual void move(); public virtual void attack(); public virtual void heal(); } class Marine extends Soldier{ public override void move(){ /*구현 필요*/ } public override void atttack(){ /*구현 필요*/ } public override void heal(){ /*구현 불필요*/ } } class Firebat extends Soldier{ public override void move(){ /*구현 필요*/ } public override void atttack(){ /*구현 필요*/ } pub..

--------------------------------------------- var text = 'sample' text = ' new sample' //재할당 O var text = 'new sample' //재선언 X --------------------------------------------- --------------------------------------------- let text = 'sample' text = 'new sample' //재할당 O let text = 'new sample' //재선언 X --------------------------------------------- --------------------------------------------- const t..

class Rotate{ int maxCount = 5; int currentIndex = 0; public int rotateLeft(){ --this.currentIndex; if(this.currentIndex = this.maxCount) this.currentIndex = 0; return this.currentIndex; } } class Rotate{ int maxCount = 5; int currentIndex = 0; public int r..

async function loadArticles(page){ this.lock = true const article = await this.axios.get('https://api_service.com/article/' + page) this.articleList.concat(article.data) this.lock = false } window.onscroll = function(ev){ if((window.innerHeight + window.scrollY) >= document.body.offsetHeight){ //scroll at bottom if(this.lock) return await this.loadArticle(this.page++) } } async function loadArti..

class IngredientCreator{ ╻━ String vegetables[] = {"Cucumber", "Bean", "Spinach"}; ╏ String meats[] = {"Fish", "Beef", "Pork"}; ╏ ╏ public String vegetable(){ ╏ ╏ int i = RandomInt() % this.vegetables.length(); ╏ ╏ return this.vegetables[i]; ╏ } ╏ ╏ ╏ public String meat(){ ╏ ╏ int i = RandomInt() % this.meats.length(); ╏ ╏ return this.meats[i]; ╹━➤ } } class IngredientCreator{ public String vege..