#Encapsulation

2026-01-15

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?

#IAQ #Humidity #Encapsulation

Looking right from the door into the crawl, one can see open vents in the block wall, the underside of the finished main level (with ducting, electrical and plumbing all visible) and a poor-quality vapor barrier over the dirt.  The ground is about 4' from the floor joists at the front of the space, then drop down to 9+ at the wall into the basement.

An open black cutout leads to (yet another) crawlspace-y area under a concrete porch on the front of the house.  Again:  why?Looking to the left of the door, one can see the beginnings of a better vapor barrier being installed, covering the block walls, being overlapped, stapled and ultimately taped.  Two guys are doing the work back in that corner with lights on, but they are hard to see.

Glad to do this in winter so I'm ready when spring kicks up the indoor humidity.

That dirt looks awful.  And wet.
Inautiloinautilo
2026-01-05
JavaScriptBuzzJavaScriptBuzz
2025-12-17

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!

youtube.com/watch?v=ycxs4Sb_7Eo

After thought (thought I didn’t plan to put into it), I don’t think "NULL coalescing" and "NULL chaining" needs to be built in to the #ProgrammingLanguage, and here’s why:

* If you’re getting just one thing, the getter can take an optional default result value. #Python works like this in `getattr`, `.get`, and things of that nature. Having an operator for this is fine, but it seems obvious you don’t **need** the language to do it for you.
* If you’re walking down a long uncertain chain, I have two arguments:
* Knowing the path that leads down into the object to the specific thing you want kinda sounds like an #Encapsulation violation. Why do you know so much about the internals of this object. If this deep property is important, maybe it’s part of the interface of the top-level thing. Maybe this is just bad design.
* Diving deeply involves lots of possibilities: possible defaults, actual methods of finding the named thing (allow inheritance? Is it an attribute? Is it an element of an array? Etc), did you want to just stop or raise an exception?Does saying what you want really come out to a simple, clean, understandable, one-line, expression?

Maybe I’m biased because I don’t have these operators in my day-to-day language; and also can’t remember hitting this situation. And I can certainly see such operators could be helpful. I’m not a language designer. But from my actual experience, in this case, the juice just isn’t worth the squeeze.

#NullCoalescing #NullChaining #LanguageDesign

2025-10-17

Một bài viết từ /u/EgregorAmeriki thảo luận về đóng gói (encapsulation) trong lập trình không cần dùng từ khóa private, thay vào đó áp dụng thiết kế dựa trên giao diện (interface-based design) để tối ưu tính bảo mật và tính linh hoạt của code.

#Lập_trình #Object_Oriented #Design_Pattern #Công_nghe #Thiet_ke_phan_mem #Programing #OOP #SoftwareDesign #Encapsulation #InterfaceDesign

reddit.com/r/programming/comme

N-gated Hacker Newsngate
2025-09-15

📜 Behold, a relic from the distant past—2013! Back when "Page Object" was the new black in the world of , because clearly, nobody knew that UIs change. 🤯 Marvel at the revolutionary idea of not frying your tests with a side of HTML spaghetti, as if wasn't already a thing. 🍝
martinfowler.com/bliki/PageObj

S5G PhotographyS5G
2025-07-27
2025-07-17

quotes from the text:

"The concepts rejected as “not complex enough” might be simple building blocks, like molecules in a living body, that can be combined with other concepts to create a framework that can handle an adequate amount of complexity."

"I.e. that the black box has only the purpose of simplification and not that of knowledge elitism and hidden power structures."

#ComplexSystems #Encapsulation

IB Teguh TMteguhteja
2024-09-21

Dive into the world of in ++! Discover how to protect your data, create flexible code, and master . Learn to use access specifiers, private members, and public methods for better software design.

teguhteja.id/encapsulation-in-

IB Teguh TMteguhteja
2024-09-21

Discover the power of encapsulation in C++! Learn how to protect your data, improve code flexibility, and master object-oriented programming. Dive into practical examples and boost your C++ skills.

teguhteja.id/encapsulation-in-

Pankaj Chouhanpankaj_str
2024-04-12

Discover the power of encapsulation in C++! 🚀 Learn how this cornerstone principle makes software robust and manageable. Dive into practical examples and unravel its essence with us at p4n.in.

p4n.in/2024/04/07/encapsulatio

2023-12-09

#decoupling #encapsulation
#thatmomentwhen you realize your OOP structure was worth it when you have to replace one class with another*, and when you swap in the new code for the old code... EVERYTHING STILL WORKS.

* I mean 3. THREE classes.

#codejoy

2023-11-13

Are You tired of Your IT departments blocking essential services(your self-hosted wireguard) on eduroam WiFi? Try encapsulating it with http/websockets !

sdr.li/post/chisel0/
sdr.li/post/chisel2/

#eduroam #firewall #chisel #sysop #admin #encapsulation #wireguard #bofh

2023-10-08

Private constants & breaking private functions in Clojure

youtu.be/kzAOEqlbapM

#Clojure #Programming #Software #Encapsulation

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst