모델이 단순한 데이터 구조를 넘어 능동적으로 행동하게 설계하는 방법
모델을 단순한 데이터 저장소로 취급하는 대신 비즈니스 로직의 주체로 설계하여 객체 지향의 핵심인 캡슐화를 실현해야 합니다.
모델이 단순한 데이터 구조를 넘어 능동적으로 행동하게 설계하는 방법
모델을 단순한 데이터 저장소로 취급하는 대신 비즈니스 로직의 주체로 설계하여 객체 지향의 핵심인 캡슐화를 실현해야 합니다.
This release updates DNSTAP's protobuf to include the recently added HTTP Protocol attribute in Message along with a few bug fixes. Bug fixes: - Add libprotobuf-c to pkg-config dependencies to correctly build on some platforms - Fix missing decode checks for Message type and and socket proto...
#Development #Proposals
Reference Target · Improving accessibility when using shadow DOM https://ilo.im/16aixw
_____
#WebComponents #Accessibility #ARIA #Encapsulation #ShadowDOM #Browsers #WebDev #Frontend #HTML #JavaScript
Today is the day we're getting our front (worst) crawlspace done here in Western North Carolina. A messy job, but the guys say they do it every day, and it won't take a full day to finish. Putting in a small vent fan and a large dehumidifier. Will see if removing humidity from this space helps with the newly finished basement, or if we'll need to duct the dehumid into that space as well.
Sigh. Why in the world do they build houses with these stupid spaces?
#Development #Templates
Web component starter template · The essentials to ship production-ready components https://ilo.im/169jml
_____
#WebComponents #CustomElements #Accessibility #ProgressiveEnhancement #Encapsulation #ShadowDOM #Testing #Npm #WebDev #Frontend
Creating a new web component from scratch involves a lot of boilerplate—testing setup, build configuration, linting, CI/CD, documentation structure, and more. After building — and refining/rebuilding — numerous web components, I’ve distilled all that work into a starter template that lets you focus on your component’s functionality rather than project setup.
Private Fields Use # Symbol?!
Private fields are HIDDEN! The # symbol makes properties truly private. You can't access them from outside, even with bracket notation. This is REAL privacy!
#javascript #javascripttricks #privatefields #symbol #encapsulation #javascriptweird #javascriptquiz #codingchallenge #javascriptshorts #javascriptwtf #classprivacy #advancedjavascript
Brent's Encapsulated C Programming Rules (2020)
https://retroscience.net/brents-c-programming-rules.html
#HackerNews #Brent #C #Programming #Encapsulation #CodingRules #RetroScience