Get the last item of either an Array, Set, Map or object.
Great for quickly accessing the last item dynamically without having to make any transformation.
If you have never Open-Sourced a project before, the whole thing might feel very intimidating.
You probably fear what people will say? Will they throw shade at your project? Will it even be noticed at all?
You’re not alone in feeling this way. Believe me!
🔸 Finding a problem to solve
Most popular projects have a clear goal of solving a problem.
There are exceptions, but generally, great Open-Source projects consist of ready-made solutions to a problem that you can easily consume or incorporate into your own software.
14 Array Methods that will land you the next job.
Learn and understand what they do and how to use them.
Explanation and examples below 🧵👇
🔸 map
The map() method creates a new array populated with the return value of the callback function for each element in the array.
🔸 forEach
The forEach() method executes a provided function once for each array element.
The callback function does not expect a return value, and the forEach() method itself also returns undefined.
Maybe you are still entry-level.
Or maybe you are an experienced developer.
No matter the level, the world of tech is a place where you can (and should) strive to learn something new.
Open-Source allows you to build up skills and become better.
If you are an entry-level or newly graduated junior, you may find yourself stuck in the famous “cannot-get-hired-because-I-don’t-have-experience” deadlock.
Open-Source doesn’t require you to be hired, nor does it require you to have a degree or a resume.
How to make a contribution to an Open-Source Project.
If you are new to this, it may all seem a bit intimidating!
Let me explain the process and give you some tips and best practices.
🧵👇
First of all - why even care about Open-Source?
🔹 Become a better developer
🔹 Become a great collaborator
🔹 Improve the software that you use
🔹 Grow a reputation
🔹 Attract recruiters.
...Just to name a few!
Now that we got that straight - let's get started 👇
🔹 Find a good project to contribute to (1/2)
You want to look for a project that accepts new contributors and is likely to review PRs.
You also want to find a place that has a healthy tone in the discussions and polite and grateful maintainers.
It supports both key-value entries and documents.
That means that a field can contain a single value, such as a string or a number, but can also contain a document, i.e. a JSON-object.