ArchiKoder (@ArchiKoder) header
ArchiKoder (@ArchiKoder) profile picture

Render beautiful & useful Graphs of your Codes

Paris, France
Joined October 2023
Photo by ArchiKoder (@ArchiKoder)Photo by ArchiKoder (@ArchiKoder)Photo by ArchiKoder (@ArchiKoder)Photo by ArchiKoder (@ArchiKoder)Photo by ArchiKoder (@ArchiKoder)Photo by ArchiKoder (@ArchiKoder)Photo by ArchiKoder (@ArchiKoder)Photo by ArchiKoder (@ArchiKoder)Photo by ArchiKoder (@ArchiKoder)Photo by ArchiKoder (@ArchiKoder)
๐—”๐—ฟ๐—ฐ๐—ต๐—ถ๐˜๐—ฒ๐—ฐ๐˜๐˜‚๐—ฟ๐—ฒ ๐—ฎ๐˜€ ๐—–๐—ผ๐—ฑ๐—ฒ One of the essential ways of communicating our software architectures is to create different kinds of diagrams for stakeholders. When we talk about architectural diagrams, we have mainly two types: ๐Ÿ”น ๐——๐—ถ๐—ฎ๐—ด๐—ฟ๐—ฎ๐—บ๐˜€ - about visually representing a system's structural and behavioral aspects, making complex ideas easier to understand. ๐Ÿ”น ๐— ๐—ผ๐—ฑ๐—ฒ๐—น๐˜€ - aims to create an abstract system representation, often through specialized languages or tools, enabling precise specification, simulation, or analysis. When we have a model, we can generate different views (diagrams) based on those models. One possibility models offer us is to store our source control systems in an ๐—ฎ๐—ฟ๐—ฐ๐—ต๐—ถ๐˜๐—ฒ๐—ฐ๐˜๐˜‚๐—ฟ๐—ฒ ๐—ฎ๐˜€ ๐—ฐ๐—ผ๐—ฑ๐—ฒ ways. The main benefit of using this concept is that most of the diagrams as code tools can be scripted and integrated into a built pipeline to generate automatic documentation. For architecture, as code, we can use different tools, such as: ๐Ÿญ. ๐—ฆ๐˜๐—ฟ๐˜‚๐—ฐ๐˜๐˜‚๐—ฟ๐—ถ๐˜‡๐—ฟ Create multiple diagrams from a single (C4) model. ๐Ÿฎ. ๐—ฃ๐—น๐—ฎ๐—ป๐˜๐—จ๐— ๐—Ÿ It is an open-source tool that allows users to create plain text diagrams. ๐Ÿฏ. ๐——๐—ถ๐—ฎ๐—ด๐—ฟ๐—ฎ๐—บ๐˜€ Turn Python code into cloud system architecture diagrams. ๐Ÿฐ. ๐— ๐—ฒ๐—ฟ๐—บ๐—ฎ๐—ถ๐—ฑ The diagram and flowchart from the text are generated similarly to Markdown. ๐Ÿฑ. ๐—”๐—ฆ๐—–๐—œ๐—œ ๐—ฒ๐—ฑ๐—ถ๐˜๐—ผ๐—ฟ Free editor. ๐Ÿฒ. ๐— ๐—ฎ๐—ฟ๐—ธ๐—บ๐—ฎ๐—ฝ Visualize your Markdown as mindmaps. It supports the VS code plugin. ๐Ÿณ. ๐—š๐—ผ ๐—ฑ๐—ถ๐—ฎ๐—ด๐—ฟ๐—ฎ๐—บ๐˜€ Create system diagrams with Go. ๐Ÿด. ๐—ฆ๐—ฒ๐—พ๐˜‚๐—ฒ๐—ป๐—ฐ๐—ฒ๐——๐—ถ๐—ฎ๐—ด๐—ฟ๐—ฎ๐—บ.๐—ผ๐—ฟ๐—ด Create your UML sequence diagrams online by using text notation. Check the links for the tools in the comments. Image: PlantUML. #technology #softwareengineering #programming #techworldwithmilan #softwaredesign
5
183
1
916
93,826
ArchiKoder retweeted
Everybody is lying! The key is to find the adequate lie to tell YOUR truth!
1
1
3
89
ArchiKoder retweeted
A programmer know exactly how to implement the code and the relationship between everything is with just a glance from UML diagram Domain expert knows exactly what your code is trying to do, and what they can get out of it without knowing what the hell is the code
1
1
4
204
This is the deep maker culture of the east. Engrained in thousands of years of history. Incredible. Can you imagine how these processes were made/discovered?
99
216
60
1,886
251,747
"Programming isn't about what you know; it's about what you can figure out." โ€“ Chris Pine
37
698
28
3,133
260,440
ArchiKoder retweeted
๐ŸŽฏBeautiful Docs It is a collection of great examples and tips from various programming languages and technologies to help you create beautiful documentation for your own projects.
1
2
21
2,194
Very quick way to start live programming inside a worker thread:
6
11
5
164
12,242
ArchiKoder retweeted
The new GitHub dependency graph for JavaScript is great ๐Ÿ”ฅ
8
312
7
828
how come a company founded over 100 years ago has the fastest site on the internet?
1,641
2,838
1,154
54,566
10,819,901
RT @girba: This ๐Ÿ‘‡ is how we @feenkcom deal with every single system problem we encounter. From the smallest bug to the largest migrations.โ€ฆ
1
1
ArchiKoder retweeted
Are you normal or you ask your mother to write all her traditional recipes in obsidian and have a graph view of ingredients/time and effort as nodes?
3
2
48
2,840
A new sketchnote about static analysis and refactoring by @matthiasnoback at #ForumPHP made by @afup
1
4
272
ArchiKoder retweeted
The VSCode Live Server extension is so nice! It'll refresh your code whenever you hit save, so you don't have to reload the browser. Really awesome (and fast!) workflow ๐Ÿ”ฅ
8
19
158
Code documentation is a great practice & standard. Weekend software builds.
2
6
68
๐— ๐—ผ๐˜€๐˜ ๐—–๐—ผ๐—บ๐—บ๐—ผ๐—ป ๐—ฆ๐—ผ๐—ณ๐˜๐˜„๐—ฎ๐—ฟ๐—ฒ ๐—”๐—ฟ๐—ฐ๐—ต๐—ถ๐˜๐—ฒ๐—ฐ๐˜๐˜‚๐—ฟ๐—ฒ ๐—ฆ๐˜๐˜†๐—น๐—ฒ๐˜€ Software architecture styles are the foundational blueprints for constructing various software systems, ensuring they meet specific requirements and quality attributes. An architectural pattern, on the other hand, communicates a fundamental organizational structure for software systems. By selecting the appropriate patterns for your issue, you can avoid creating anything from scratch and potentially dangerous traps that might arise if you try to devise a novel solution. Here are the most common architectural styles: ๐Ÿงต #softwarearchitecture #softwaredesign #programming
5
126
3
687
68,306
Can we please stop lying to ourselves and respect the fact that being an artist doesn't mean to be a magician. Cooks use recipes, Coders use documentation, engineers and architects make the plans based on existing things etc. Using =/= Copying No big deal.
191
3,816
85
12,102
ArchiKoder retweeted
Scrolling through #COBOL screens with #GToolkit.
2
1
8
1,034
ArchiKoder retweeted
How much can tools improve software maintainability? A lot. When I say that tools are essential for software engineering, I often get pushbacks saying that maintainability is a property of code. Code is certainly important, but tools can make a large difference. Consider a case of looking for the composition of React components. In the attached picture you see three such tools. You can look at the code in a text editor. Yes, I did pick Microsoft Word of all editors just to prove the point that even text editors are not interchangeable. Of course, a code editor gives us more control. Here we see an overview of the source files, and we see code with syntax highlighting. Still, this tool only knows about JavaScript, but React code relies on specific patterns that are missed when we look at the code at the level of JavaScript. But what if we can instruct our tool to show us an overview at the level we are interested in? The third picture provides an idea of how browsing dependencies can look like: we see the dependencies graph and when selecting we get transported directly in the logical part of the code; notice how the navigation is no longer in terms of files but it is closer to the domain-specific concern we are interested. Now, consider a situation in which you want to migrate a certain code pattern throughout the system to a new way of working. If you use a generic text-centric tool, searching can be cumbersome and time consuming, and changing the code can be even more so. With a dedicated rewrite tool, we could search and perform the change automatically at a fine grain level. An example can be seen in this post: nitter.gq/girba/status/183018545โ€ฆ We cannot perceive anything in a software system except through tools. Thus, tools are essential in software engineering and we should pay close attention to the characteristics of our tools. Indeed, the above two scenarios exemplify how changing the tool to be aware of the specifics of the problem can provide orders of magnitude improvement over more basic counter parts. #MoldableDevelopment
If you want to migrate from #CoffeeScript to #JS, you can use decaffeinate and you get a working code. But when you do that, you are also left with a few notes in the code with suggestions about what could be changed to improve the code structure. For example: DS101: Remove unnecessary use of Array.from DS102: Remove unnecessary code created because of implicit returns ... So, then developers are expected to use an editor and go through these one by one in each file. We can do better than that. We should at the very least rely on queries that guide the exploration. #MoldableDevelopment
2
13
484
ArchiKoder retweeted
When you look for tools, you might be inclined to look for discrete, fixed features. The alternative is to seek environments with composable mechanisms that allow you to assemble an experience dynamically. Let's take an example. Knowledge management systems offer recently the ability to show the graph of linked pages. The graph shows all pages and their links from the knowledge base in a special view. Now, consider the example from the picture below. We have a page from the knowledge base on the left. The highlighted snippet has a piece of code that creates a graph object showing an inspector on a visual object. When executed an inspector appears to the right with a live graph. Clicking on a node in the graph we get to the corresponding page. In this example, the graph is not a feature. It's merely a combination of a script snippet and an inspector. The result is under your control at all times. For example, in this particular example, we did not consider all pages from the knowledge base. We excluded the table of contents page that links to all other pages and introduces noise. Furthermore, we highlight some pages that match a given rule. The ability to choose dynamically the composition of our tools is important because, especially in a technical world, we often cannot predict the specific needs we face upfront. We want our tools to mold to our needs instead of us adapting to their hard coded offering.
5
1
14
753
ArchiKoder retweeted
You should trust diagrams about an existing system only if they are produced through a tool out of the system. Of course, you do not want to see everything. You want diagrams that show the level of granularity and semantics you choose. You can only achieve this through programming. The case below is a nice example of how to customize programmatically the meaning of a diagram. This will increase the value of the tool many times. Remember: a diagram created manually represents either a wish (if it depicts the future system) or a belief (if it depicts the present system. You want to base your decisions based on reality. As we are on the subject, the idea of comparing a high level model with an actual model retrieved from the system dates back to mid 1990s and was the work of @gail_murphy called Reflexion Models. Read about it here: cs.ubc.ca/~murphy/papers/rm/โ€ฆ #MoldableDevelopment
Automatically generate component diagrams from your Java applications โฌ‡๏ธ
2
12
777