
๐ A passionate of the frontend world ๐พ, curious, problem solver, a calm person. My addiction is JavaScript and โ๏ธ.
Natal-RN
Joined April 2010
- Tweets5.6K
- Following1.1K
- Followers453
- Likes3K
Leonardo Nascimento retweeted
๐๐ฒ๐ฎ๐ฟ๐ป ๐ณ๐๐ป๐ฑ๐ฎ๐บ๐ฒ๐ป๐๐ฎ๐น๐ ๐ป๐ผ๐ ๐ณ๐ฟ๐ฎ๐บ๐ฒ๐๐ผ๐ฟ๐ธ๐
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
Leonardo Nascimento retweeted
๐๐ผ ๐ฌ๐ผ๐ ๐ก๐ฒ๐ฒ๐ฑ ๐ง๐ผ ๐๐ป๐ผ๐ ๐๐น๐น ๐๐ฒ๐๐ถ๐ด๐ป ๐ฃ๐ฎ๐๐๐ฒ๐ฟ๐ป๐?
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
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

ALT An infographic titled "Best Ways to Test System Functionality," which includes a list of testing processes, visual illustrations of each process, and associated tools. It covers Unit Testing, Integration Testing, System Testing, Load Testing, Error Testing, and Test Automation. Each category has specific tools listed such as pytest, Selenium, JMeter, and Jenkins, with visual aids to describe the testing flow.
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โฆ
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
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. ๐ง
Leonardo Nascimento retweeted
Twitter DMs should have end to end encryption like Signal, so no one can spy on or hack your messages
Leonardo Nascimento retweeted
You learn nothing from life if you think you're right all the time. ๐ง
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.
Leonardo Nascimento retweeted
Happy International Womenโs Day. Letโs face it, you all make the world a much better place. #InternationalWomensDay
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
Leonardo Nascimento retweeted
Do not use your energy to worry. Use your energy to believe, to create, to learn, to think and to grow.
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.
Leonardo Nascimento retweeted
Meeting some old and new friends in the Agile industry. :)
#AgileAus #agileleadership #agilecoaching #agiletransformation #agileleadership #AgileAustralia2021 #Agile #AgileAustralia
Leonardo Nascimento retweeted
Happening Now: An amazing discussion about value streams and how to optimise yours.
#AgileAus #agileleadership #agilecoaching #agiletransformation #agileleadership #AgileAustralia2021 #Agile #AgileAustralia
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





















