+13
Completed

Support for JavaScript

JackJack 12 months ago • updated by Alexander Shvets 1 month ago 6

Examples in JavaScript would be awesome!

Answer

+1
Answer
Completed

Good news, everyone! TypeScript examples are ready!

+4

I don't think that JavaScript is capable of composing such object-oriented software. As far as I know there are no such things like private fields or interfaces in JavaScript. I might be wrong, but I haven't figured out how to make these things in JS without lot of tweaking and hacking.

+2

Typescript, on the other hand, would be a viable alternative.

+1

Yeah, that would be cool. I think a lot of people would be interested in this 😀

+2
Started

FYI, TypeScript examples for design patterns are on the way. I think I might even be able to upload them by the end of this month.

+1
Answer
Completed

Good news, everyone! TypeScript examples are ready!

At this point, we have a complete set of conceptual examples for all patterns in TS that demonstrate the essence of patterns, their structure, etc. I plan to add another set of real-world examples inspired by the real applications written in TS a little bit later.