Freedom in Code


Kanal geosi va tili: ko‘rsatilmagan, ko‘rsatilmagan
Toifa: ko‘rsatilmagan


Learn Coding Through Projects and Challenges. 🧑‍💻
Instagram: @freedomincode_
Twitter: @freedomincode
Tiktok: @freedomincode
YouTube: Freedom in Code
Support: @ficChat
Contact: @SurafelYimam

Bog‘liq kanallar

Kanal geosi va tili
ko‘rsatilmagan, ko‘rsatilmagan
Toifa
ko‘rsatilmagan
Statistika
Postlar filtri


Does anyone want to get started with programming? I will tutor you three times a week for 2 - 4 hours. We'll work on understanding the concepts, do projects, work on building you a portfolio. If you're interested reach out. @SurafelYimam


Robi makes stuff dan repost
Take a look at the safaricom Simcard and service numbers.
Ethiotelecom finally getting a well deserved competition 🔥.


Telegram Web just updated and ...


hotpot.ai When I typed " a rat wearing a graduation gown".


Robi makes stuff dan repost
Sorry for being away for the past week or more , but hey cut me some slack its finals week.

here is a presentation i did on double linked circular lists if anyone is interested.


Here's how I can be a better employee:
1. Send PRs on almost anything.
2. Ask questions on outdated backlogs.
3. Refactor what you can.
4. Start working on backlogs.

#LearningFullTime




Sending Proposals Today:
1. Hello, I just read your job posting and it sounds like you need someone who can deliver complete to semi-complete pull requests to your project, whether its feature based or fixing any bugs that might exist. I’m interested to become one of your next engineers in your recent post. I have been a practicing professional software engineer for the past three years, and am very familiar with the React and even more with JavaScript, along with most of their framework. In my last two years, my main task in most of my projects comprised of writing numerous tests for the companies' products. I am well versed with Jest, Cypress, and React Testing Library for any testing or TDD based development that you might need.

2. Hello, I just read your job posting and after looking at the attachment, I believe I can start immediately deliver your requirements in a short period. I'd also like to offer my services for helping you integrate the project with any existing APIs that you may have. I have more than 4 Years of Professional Software Development Experience (Full Cycles) for mobile, desktop and web-based applications.
Your designs were well put and Id like to offer code that matches the quality of your designs. I'd like to prove myself and show my passion for projects as well versed as this. Hope to hear from you.


My Latest Coding Genre of Music: Phonk

#Random


One of the things about self-learning that is so hard is that if you're already on a busy schedule, it gets harder and harder to keep learning sometimes. You miss a day, then another, then a week. And eventually, it becomes months. But still, you somehow manage to get back on the track and then you try to continue but it's going to be even more impossible. You wish you could start over, so you try to. But then it becomes harder to try more because it's going to be more boring than the first time. Three ways I often tried to manage this issues was join a group of 3 or more people from different places and set deadlines for each other. Another similar one was joining a Udemy course that had its on somewhat flexible but fundamentally rigid track. The last one was setting shorter and achievable guidelines. For instance instead of saying you'll do a whole website in a week. Say you will do a single page in a day, or set the project and open a repo in an hour or two.

And a last tip, I don't recommend, is to do a self-hackathon. Basically a ramped up cram session with energy drinks for days and more.

#GrowingPartTime #Tip




#Quiz Try naming this component?


#DesignTip
If you want to find better names for your components, go and look at free design templates on the internet. You will find that a lot of similar templates have the same name for a component that functions in also a similar way. Those are really good examples for when you want have good practice in your team with nomenclature.
#Practice #Tip #Design


#ReactDevQuestion
If your component had three different layouts or styles, is it good practice to have the layouts depend on the passed props?
#React #Question #Practice


React Component Library

In any React project, you’re often tasked with creating components that can be reused all over the project multiple times. Once you’ve created this component you might create index files for each of them so they are easily exported, imported, and used. A couple of things you have to keep in mind when you are creating a custom component library is

Folder Structure

With the freedom and ease of use that a React project can provide, there are countless ways you can create and publish components in React, however, without some sort of guidelines, stuff can get messy.

-- Type

Similar stuff lives together. Components should live in a components folder and the styles in a styles folder. However, this still depends on how you choose to organize your different files.

As the number of components increases, it becomes more difficult to work and find individual components.
Issues also may arise when you can’t find a dependent file of a component in the same place. Components might have their own stories, styles, and tests placed away in different folders. This might make it harder to track if something is missing or not.

Another issue is when you realize you have a component logic that only relates to a single component. It might be an overkill to have a folder dedicated to that single logic, however after it is created, other developers might find it useful when building upon other components. However, the creation and placement in the first place are not obvious.

Moving or editing individual components is another tedious task you will encounter when you organize your components by type by type. You will have to go through all the folders and find a component’s dependencies. Refactoring is not impossible however it is more error-prone.

-- Locality

Locality can be best described by encapsulation. A component and all its necessary dependencies live close to each other. A component and its styles, utils, and tests are placed in a folder with the same name as the component itself. Necessary files also have the component name, their type, and extension in their names.

Locality organization is more flexible and better suited for projects with numerous components. When we want to modify a component and then its corresponding dependencies, we would only need to look at a single place.

A new component is also easy to add, it only requires creating a folder with the component name, and then adding the supporting files in the same folder. In case the component is required to scale, all its new complexities can live in the same place with its hierarchy.

Locality allows for more flexibility since the growth of a component will follow a consistent structure in its domain of existence. If only one component requires a utils file, you can add it to just that component without having to add it for every other component that may not need them.
Moving components is also much easier since the dependencies of the component are all contained in the same place. Relative imports within that same folder help in persisting the stability of the code.

Avoiding index.js

An index.js is unnecessary in both aforementioned approaches because it adds another layer of indirection. A similar name for different components is confusing and hence should be avoided.

Having the component name, along with a prefix that explains the intent of the file makes the components and their dependencies more searchable and modifiable.

Mixing it Up

In case you find it difficult for finding the right approach, you can use both. A custom approach can help when you want to keep your logic and components separate.

Adopted: https://blog.sethcorker.com/how-to-organise-react-components/
#LearningFullTime #React #Practice


Until I have some sort of permanent blog, I will post the articles, links, tutorials and discussions here. Enjoy.


And keeping with the theme another regular blog titled #GrowingPartTime where I post stuff about side-projects as well as side-quests to learn things. Trying to learn or understand anything, it's often a self-motivated project that breaches the mind's doors to let knowledge flow. That was probably unnecessary and cheesy, right? But yes, a little personality is necessary to make it more sincere.

#GrowingPartTime


I will be starting a daily log type of blog called #LearningFullTime

This is essentially going to be a daily journal of all the escapades and tiny meanderings I encounter regularly.

One of the first things you'll get to experience about working in general, in a company with 2 - 3 developers, numerous projects, and a crazy load is that there are so many hats you wear in a day. You become a manager, a QA writing automated end-to-end tests, a frontend developer building a component library on a recent design, and a backend developer designing and working on requested features.

There are a minimum of 8 hours a day, 5 days a week, and some gigabytes of my headspace I have promised to trade for a wage. Lately, I feel like I've been slacking and hence a recent project like #LearningFullTime, a daily programming blog about life as a remote software engineer, would be a good way to help me stay motivated and experience the circumstance.

#LearningFullTime




Are Ya Winning, Surafel? dan repost
The website I was reading this from had loaded the content last, without giving me any hint where it would load the content. I was scrolling around the site, I even interacted with some of the ads. After a few seconds when the website finished loading, the main content loaded. That was fucking smart. But also sly.

20 ta oxirgi post ko‘rsatilgan.

44

obunachilar
Kanal statistikasi