本文永久链接 – https://tonybai.com/2025/08/27/go-interface-embrace-data 大家好,我是Tony Bai。 在 Go 语言的世界里,接口(interface)一直被视为其设计哲学的基石之一——它只关心一个类型能做什么(行为),而不关心它是什么(结构)。这种基于方法集的鸭子类型,赋予了 Go 独一无二的灵活性和解耦能力。然而,随着 Go 1.18 泛型的到来,一个深刻的问题被摆上了台面:当我们需要编...| Tony Bai
Could anyone please explain to me the differences between Non-Diegetic, Spatial, Meta and Diegetic User Interfaces? An example for each would be great.| User Experience Stack Exchange
看到一个 Golang 的模式,用一个 function 来实现一个 interface,function 本身就是 interface 的实现。初次看到看了好久才想明白。在这里记录一下。| www.kawabangga.com
Cordy, Massaad and Shull got it all wrong| Melodiefabriek
Microsoft’s Comic Chat was an automatic conversation visualizer that used the format of comic books to lay-out text for a chat into a visual story. Taking lessons from Scott McCloud’s seminal book, Understanding Comics, Comic Chat’s designers and engineers, David Kurlander, Tim Skelly, and David H. Salesin, created a deceptively simple system that automatically generated comic-style visual panes in a text-based chat system. As users typed (or, today, perhaps talk), the system would iden...| Nathan.com
This was more than the typical industrial film made by a corporation to communicate a vision of the future. It was a remarkably cogent vision that has largely held up over the last 37 years!| Nathan.com
The Microsoft ActiMates were the first stuffed animals (or plush toys) that interacted with children, both directly through physical contact as well as through the computer (when its CD-ROM was inserted), and the television. The result of these simple, yet prophetic features is that a magical character seems so responsive that it’s hard for children not to regard it as alive—at least in some way.| Nathan.com
Copyright 2005-present Bryce Kerley.| Bryce’s Blog
We used to speak a lot about “metaphors” in interaction design but as we’ve settled on so many archetypes, now, this seldom enters the conversation. We simply assume the dominant paradigm and dress it up differently—if at all. But, the reality of mental models and metaphors is that there are always many more opportunities than the ones we’re “used” to. It’s been years since the famous Apple v Microsoft “look and feel” trial, in which courts just decided that everything was...| Nathan.com
The ELR is delighted to share a very generous contribution by Kathi Inman Berens that she defined “Five Books About E-Literature Interfaces”. The Assistant Professor of Digital Humanities and Publishing in Portland State University’s English Department chose books that were all published between 2015-2018 to bring to our attention the concepts of materiality and interface […]| electronicliteraturereview
You’ve probably already skipped those introductory screens that explain how the application works, a.k.a onboardings, or you’ve given up putting your information on a very long form. I know! I was also on that boat once! 👀👀 Although there are several super cool new technologies and features, it’s also necessary that we know how to apply them in a correct way, ensuring a more fluid and pleasing experience within the application. The same applies to releasing a new feature, for exam...| Codrs
Create Generative AI art easily with the Fooocus interface for Stable Diffusion! Start making beautiful images in seconds!| Civitai Education
Dynamic polymorphism (virtual functions) is central to Object-Oriented Programming (OOP). Used well, it provides hooks into an existing codebase where new functionality and behaviour can (relatively) easily be integrated into a proven, tested codebase. Subtype inheritance can bring significant benefits, including easier integration, reduced regression test time and improved maintenance. However, using virtual functions in C++ brings a runtime performance overhead. This overhead may appear inc...| Sticky Bits - Powered by Feabhas
Let's take a look at how we can use interfaces to build a shared mock HTTP client that we can use across the test suite of our Golang app.| The Great Code Adventure