Leonardo Nascimento (@leonardo386) header
Leonardo Nascimento (@leonardo386) profile picture

๐Ÿ’— A passionate of the frontend world ๐Ÿ‘พ, curious, problem solver, a calm person. My addiction is JavaScript and โ˜•๏ธ.

Natal-RN
Joined April 2010
Photo by Leonardo Nascimento (@leonardo386)Photo by Leonardo Nascimento (@leonardo386)Photo by Leonardo Nascimento (@leonardo386)Photo by Leonardo Nascimento (@leonardo386)Photo by Leonardo Nascimento (@leonardo386)Photo by Leonardo Nascimento (@leonardo386)Photo by Leonardo Nascimento (@leonardo386)Photo by Leonardo Nascimento (@leonardo386)
๐—Ÿ๐—ฒ๐—ฎ๐—ฟ๐—ป ๐—ณ๐˜‚๐—ป๐—ฑ๐—ฎ๐—บ๐—ฒ๐—ป๐˜๐—ฎ๐—น๐˜€ ๐—ป๐—ผ๐˜ ๐—ณ๐—ฟ๐—ฎ๐—บ๐—ฒ๐˜„๐—ผ๐—ฟ๐—ธ๐˜€ We developers like to learn new stuff and try it ASAP. That stuff consists mainly of new frameworks and tools (such as React, Angular, Spring, Web Forms, etc.). Yet, those frameworks usually have ๐—ฎ ๐˜€๐—ต๐—ผ๐—ฟ๐˜ ๐—น๐—ถ๐—ณ๐—ฒ, ๐Ÿฎ ๐˜๐—ผ ๐Ÿฑ ๐˜†๐—ฒ๐—ฎ๐—ฟ๐˜€ ๐—ฎ๐˜ ๐˜๐—ต๐—ฒ๐—ถ๐—ฟ ๐—ฏ๐—ฒ๐˜€๐˜. Instead of learning frameworks, which are needed to some extent, we should focus more on learning fundamentals. ๐—Ÿ๐—ฒ๐—ฎ๐—ฟ๐—ป๐—ถ๐—ป๐—ด ๐˜๐—ต๐—ฒ ๐—ณ๐˜‚๐—ป๐—ฑ๐—ฎ๐—บ๐—ฒ๐—ป๐˜๐—ฎ๐—น๐˜€ ๐—ผ๐—ณ ๐˜€๐—ผ๐—ณ๐˜๐˜„๐—ฎ๐—ฟ๐—ฒ ๐—ฑ๐—ฒ๐˜ƒ๐—ฒ๐—น๐—ผ๐—ฝ๐—บ๐—ฒ๐—ป๐˜ allows a developer to understand the underlying principles and concepts common across different frameworks and programming languages. This understanding allows for more flexibility and adaptability when working with new technologies or facing problems that a specific framework may not quickly solve. Additionally, a strong understanding of the fundamentals can lead to ๐—บ๐—ผ๐—ฟ๐—ฒ ๐—ฒ๐—ณ๐—ณ๐—ถ๐—ฐ๐—ถ๐—ฒ๐—ป๐˜ ๐—ฎ๐—ป๐—ฑ ๐—ฒ๐—ณ๐—ณ๐—ฒ๐—ฐ๐˜๐—ถ๐˜ƒ๐—ฒ ๐˜‚๐˜€๐—ฒ ๐—ผ๐—ณ ๐—ณ๐—ฟ๐—ฎ๐—บ๐—ฒ๐˜„๐—ผ๐—ฟ๐—ธ๐˜€, as the developer can better understand how to customize and extend them to meet specific needs. Take an example of a web application that allows users to upload and share images, e.g., Ruby on Rails, and its functionalities for image processing. If the number of users increases, we could struggle with performance issues if we know only the framework well. Yet, if we understand the fundamentals of web development, we could try to identify bottlenecks and try different solutions, such as using CDN-s, optimizing image sizes, using various storage solutions, etc. So, which fundamentals to learn: ๐Ÿ”น ๐—”๐—น๐—ด๐—ผ๐—ฟ๐—ถ๐˜๐—ต๐—บ๐˜€ ๐Ÿ”น ๐——๐—ฎ๐˜๐—ฎ ๐˜€๐—ผ๐˜‚๐—ฟ๐—ฐ๐—ฒ๐˜€ ๐Ÿ”น ๐——๐—ฒ๐˜€๐—ถ๐—ด๐—ป ๐—ฝ๐—ฎ๐˜๐˜๐—ฒ๐—ฟ๐—ป๐˜€ ๐Ÿ”น ๐——๐—ถ๐˜€๐˜๐—ฟ๐—ถ๐—ฏ๐˜‚๐˜๐—ฒ๐—ฑ ๐—–๐—ผ๐—บ๐—ฝ๐˜‚๐˜๐—ถ๐—ป๐—ด ๐—ฃ๐—ฎ๐˜๐˜๐—ฒ๐—ฟ๐—ป๐˜€ ๐Ÿ”น ๐—ง๐—ฒ๐˜€๐˜๐—ถ๐—ป๐—ด ๐Ÿ”น ๐—ฆ๐˜†๐˜€๐˜๐—ฒ๐—บ ๐——๐—ฒ๐˜€๐—ถ๐—ด๐—ป ๐Ÿ”น ๐—–๐—น๐—ฒ๐—ฎ๐—ป ๐—ฐ๐—ผ๐—ฑ๐—ฒ Try to learn those fundamentals, buy and read these books: ๐Ÿ”ธ ๐—ง๐—ต๐—ฒ ๐—ฃ๐—ฟ๐—ฎ๐—ด๐—บ๐—ฎ๐˜๐—ถ๐—ฐ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ฒ๐—ฟ ๐Ÿ”ธ ๐—–๐—ผ๐—ฑ๐—ฒ ๐—–๐—ผ๐—บ๐—ฝ๐—น๐—ฒ๐˜๐—ฒ ๐Ÿ”ธ ๐——๐—ฒ๐˜€๐—ถ๐—ด๐—ป ๐—ฃ๐—ฎ๐˜๐˜๐—ฒ๐—ฟ๐—ป๐˜€: ๐—˜๐—น๐—ฒ๐—บ๐—ฒ๐—ป๐˜๐˜€ ๐—ผ๐—ณ ๐—ฅ๐—ฒ๐˜‚๐˜€๐—ฎ๐—ฏ๐—น๐—ฒ ๐—ข๐—ฏ๐—ท๐—ฒ๐—ฐ๐˜-๐—ข๐—ฟ๐—ถ๐—ฒ๐—ป๐˜๐—ฒ๐—ฑ ๐—ฆ๐—ผ๐—ณ๐˜๐˜„๐—ฎ๐—ฟ๐—ฒ ๐Ÿ”ธ ๐—œ๐—ป๐˜๐—ฟ๐—ผ๐—ฑ๐˜‚๐—ฐ๐˜๐—ถ๐—ผ๐—ป ๐˜๐—ผ ๐—”๐—น๐—ด๐—ผ๐—ฟ๐—ถ๐˜๐—ต๐—บ๐˜€ ๐Ÿ”ธ ๐—–๐—น๐—ฒ๐—ฎ๐—ป ๐—–๐—ผ๐—ฑ๐—ฒ #programming #developers #softwaredesign
34
308
12
2,275
156,950
๐——๐—ผ ๐—ฌ๐—ผ๐˜‚ ๐—ก๐—ฒ๐—ฒ๐—ฑ ๐—ง๐—ผ ๐—ž๐—ป๐—ผ๐˜„ ๐—”๐—น๐—น ๐——๐—ฒ๐˜€๐—ถ๐—ด๐—ป ๐—ฃ๐—ฎ๐˜๐˜๐—ฒ๐—ฟ๐—ป๐˜€? The answer is no. Even though we have 23 design patterns, around 10 are mostly used in everyday development. Knowing which patterns exist overall is good, but you need to know these very well. Design patterns can be divided into three main types: ๐Ÿญ. ๐—–๐—ฟ๐—ฒ๐—ฎ๐˜๐—ถ๐—ผ๐—ป๐—ฎ๐—น ๐—ฃ๐—ฎ๐˜๐˜๐—ฒ๐—ฟ๐—ป๐˜€ These design patterns deal with object creation mechanisms, trying to create objects in a manner suitable to the situation. Important patterns in this group are: ๐Ÿ”น๐—™๐—ฎ๐—ฐ๐˜๐—ผ๐—ฟ๐˜†: This pattern allows delegating the instantiation logic to factory classes. The Factory Method creates objects without exposing the instantiation logic to the client. ๐Ÿ”น๐—ฆ๐—ถ๐—ป๐—ด๐—น๐—ฒ๐˜๐—ผ๐—ป: The Singleton pattern ensures that a class has only one instance and provides a global point of access to it. It's useful when exactly one object is needed to coordinate actions across the system. ๐Ÿฎ. ๐—ฆ๐˜๐—ฟ๐˜‚๐—ฐ๐˜๐˜‚๐—ฟ๐—ฎ๐—น ๐—ฃ๐—ฎ๐˜๐˜๐—ฒ๐—ฟ๐—ป๐˜€ These patterns deal with the composition of classes and objects that form larger structures. Important patterns in this group are: ๐Ÿ”น๐—”๐—ฑ๐—ฎ๐—ฝ๐˜๐—ฒ๐—ฟ: This pattern works as a bridge between two incompatible interfaces. It wraps an existing class with a new interface to become compatible with the client's interface. ๐Ÿ”น๐—™๐—ฎ๐—ฐ๐—ฎ๐—ฑ๐—ฒ: The Faรงade pattern provides a unified interface to a set of interfaces in a subsystem. Faรงade defines a higher-level interface that makes the subsystem easier to use. ๐Ÿ”น๐——๐—ฒ๐—ฐ๐—ผ๐—ฟ๐—ฎ๐˜๐—ผ๐—ฟ: This pattern dynamically adds/overrides behavior in an existing method of an object. This pattern provides a flexible alternative to subclassing for extending functionality. ๐Ÿ”น๐—ฃ๐—ฟ๐—ผ๐˜…๐˜†: The Proxy pattern provides a surrogate or placeholder for another object to control access to it. In its most general form, a proxy is a class functioning as an interface to something else. ๐Ÿฏ. ๐—•๐—ฒ๐—ต๐—ฎ๐˜ƒ๐—ถ๐—ผ๐—ฟ๐—ฎ๐—น ๐—ฃ๐—ฎ๐˜๐˜๐—ฒ๐—ฟ๐—ป๐˜€ These patterns are specifically concerned with communication between objects and how they interact and distribute work. Important patterns in this group are: ๐Ÿ”น๐—–๐—ผ๐—บ๐—บ๐—ฎ๐—ป๐—ฑ: The Command pattern encapsulates a request as an object, thus allowing users to parameterize clients with queues, requests, and operations. ๐Ÿ”น๐—ง๐—ฒ๐—บ๐—ฝ๐—น๐—ฎ๐˜๐—ฒ ๐— ๐—ฒ๐˜๐—ต๐—ผ๐—ฑ: This pattern defines the program skeleton of an algorithm in a method called template method, which defers some steps to subclasses. ๐Ÿ”น๐—ฆ๐˜๐—ฟ๐—ฎ๐˜๐—ฒ๐—ด๐˜†: The Strategy pattern defines a family of algorithms, encapsulates each one, and makes them interchangeable. Strategy lets the algorithm vary independently from clients that use it. ๐Ÿ”น๐—ข๐—ฏ๐˜€๐—ฒ๐—ฟ๐˜ƒ๐—ฒ๐—ฟ: This pattern defines a one-to-many dependency between objects so that all its dependents are notified and updated automatically when one object changes state. Check out this helpful cheat sheet below. Also, check my full e-book on Design patterns: github.com/milanm/DesignPattโ€ฆ #technology #softwareengineering #programming #techworldwithmilan #developers
11
291
3
1,217
76,241
Leonardo Nascimento retweeted
Software Testing Basics Testing is crucial in software development to verify applications operate as expected, meet requirements, and run reliably. Key testing methods: 1. Unit Testing: Validates individual code components in isolation to ensure they function properly. 2. Integration Testing: Verifies that different system components and modules interconnect and interact correctly. 3. System Testing: Evaluates the complete system against business and technical requirements. Confirms overall system functionality. 4. Load Testing: Examines system performance under anticipated peak usage levels to uncover bottlenecks. 5. Error Testing: Deliberately inputs invalid data to verify appropriate error handling and recovery. 6. Test Automation: Uses scripts to automate execution of test suites. Improves efficiency, consistency, and coverage. Over to you: What approaches do you take when testing functionality in your software projects? Do you emphasize any specific testing methods or focus areas? โ€“ Subscribe to our weekly newsletter to get a Free System Design PDF (158 pages): bit.ly/496keA7
5
225
2
760
35,409
Leonardo Nascimento retweeted
The most popular deployment patterns explained: Utilizing the right deployment pattern is crucial for seamlessly integrating new features and updates. It reduces the risks, avoids interruptions, and delivers a smooth user experience. There are many possible approaches, let's look at 5 of the most popular deployment patterns: Blue/Green Deployment Renowned for zero downtime, this method uses two environments, Blue and Green. One hosts the live version while the other tests the new version. After comprehensive testing without affecting live traffic, users are transitioned to the updated environment. If an issue is discovered after switching environments, it is relatively easy to switch back. The main challenge is the cost and complexity of managing two environments. Canary Deployment Named after canary birds in mines, it starts by rolling out changes to a small subset of users. This allows for monitoring performance and gathering feedback. If successful, you gradually extend the update to more users. It excels in minimizing user impact during updates due to isolation of a small set of users. Rolling Deployment Updates software in phases, rather than all at once. It incrementally upgrades different segments of the system, ensuring most of it remains operational during the deployment. It can be ideal for critical systems that require continuous operation. However, it extends the total update time and might introduce temporary inconsistencies. Feature Toggles Think of feature toggles as on-off switches for new features. They allow teams to deploy features quietly, turning them on for specific users when it makes sense. Feature toggles support strategies like canary releases and A/B testing. The challenge lies in managing numerous toggles, which can become complex and risk feature conflicts. A/B Testing Comparable to a scientific experiment, A/B testing offers two variations of a feature to different user groups to gauge which performs better. It's a go-to for validating user preference and effectiveness of new features, based on concrete data like user engagement or ease of use. Each deployment pattern stands out for specific strengths: โ€ข Blue/Green for safety and zero downtime. โ€ข Canary for controlled, low-risk rollouts. โ€ข Rolling for maintaining continuous operations. โ€ข Feature Toggles for flexible feature management. โ€ข A/B Testing for data-driven user insights. The right deployment pattern varies depending on the project's needs and objectives. Recognizing these differences allows teams to choose the best approach for a successful and user-centric software release. โ€”โ€” A big thank you to our partner Postman who keeps our content free to the community. Whether youโ€™re working with gRPC, HTTP, GraphQL, WebSockets or even MQTT, Postman has you covered. Check it out: drp.li/postman-request-typesโ€ฆ
9
142
3
689
35,202
Leonardo Nascimento retweeted
๐Ÿง˜โ€โ™‚๏ธ
2
134
2
792
49,729
Leonardo Nascimento retweeted
Software engineering is about becoming experts at learning.
15
149
10
871
Leonardo Nascimento retweeted
ICYMI, the Governance Obeya can be a one-stop shop that addresses most of the concerns related to visibility at various levels. One of them is visibility of progress. Read the blog to find out how you can make the most out of it https://xitter.cf/t.co/6NEjOMYE9l
1
2
Leonardo Nascimento retweeted
If you focus on the failures, you will continue to suffer. If you focus on the lessons, you will continue to grow. ๐Ÿง 
57
2,051
67
10,743
Leonardo Nascimento retweeted
Twitter DMs should have end to end encryption like Signal, so no one can spy on or hack your messages
35,666
89,151
16,098
1,266,847
Leonardo Nascimento retweeted
You learn nothing from life if you think you're right all the time. ๐Ÿง 
70
1,943
85
10,567
Leonardo Nascimento retweeted
Memorization is not Learning. ๐Ÿง 
146
2,113
162
12,161
Leonardo Nascimento retweeted
This day last year we released the first IMPACT trailer to the world. This project is still the epiphany of #internationWomensDay in my eyes - extraordinary women, from different places working endlessly to better the world.
76
297
12
5,680
Leonardo Nascimento retweeted
Happy International Womenโ€™s Day. Letโ€™s face it, you all make the world a much better place. #InternationalWomensDay
256
814
93
13,108
Leonardo Nascimento retweeted
How to speed up developers: * Give them one task at a time to focus on * Avoid context switches * Cut meetings * Avoid interruptions
23
206
26
1,171
Leonardo Nascimento retweeted
Do not use your energy to worry. Use your energy to believe, to create, to learn, to think and to grow.
95
4,638
209
20,151
Leonardo Nascimento retweeted
Paradox of diversity: if every organization within society must fully reflect the diversity of that society's members, then there can be no diversity *between* organizations in that society.
923
1,412
187
11,783
Leonardo Nascimento retweeted
2
3
Leonardo Nascimento retweeted
Happening Now: An amazing discussion about value streams and how to optimise yours. #AgileAus #agileleadership #agilecoaching #agiletransformation #agileleadership #AgileAustralia2021 #Agile #AgileAustralia
3
6
Leonardo Nascimento retweeted
Direction is much more important than speed. ๐Ÿง 
107
3,258
167
17,495
Leonardo Nascimento retweeted
Aaaannd itโ€™s on! We are now live with @marciosete speaking at Kanban Brazil Conference about โ€˜automating fit-for-purpose analysis in software deliveryโ€™. If you wish to join, simply click on this link: linkedin.com/video/event/urnโ€ฆ @leankanbanbr #KBR21 #Kanban #flow #vsm #kanban #agile
1
2