As a bootcamp grad, I lack some basic computer science knowledge and I noticed it quickly when discussing with my senior developer.
Each time he talked to me about a notion I didn't know about, I would write it down together with an explanation.
That's how I came up with Brain Bytes idea during Dev.to's hackathon in December 2020.
Brain Bytes is a twitter-like web app in which I (and hopefully other people soon as well) write down those small bytes of knowledge.
I will share here every weekend the knowledge bytes I learned during the week so you can benefit from it as well.
Here are the bytes I wrote so far:
Read-Eval-Print-Loop (REPL), also called language shell, is an interactive way to talk to your computer. The shell reads your input, evaluates it, prints a response, and waits for the next input.
- Don't reinvent the wheel
- Create a natural flow (give a feeling to the users of going from left to right)
- Colors have meaning (user primary and accent colors)
- Have a single main action per screen
- Separate action from navigation
- Make your interface predictable
- Use space to separate things
- Build the UI for the user, not for the system
Reference: Arjan Codes | Youtube
In software development, a stub is a piece of code used to stand in for some other programming functionality. A stub may simulate the behavior of existing code or be a temporary substitute for yet-to-be-developed code.
When the demand for your app increases, you need to scale your infrastructure to cope with that. Horizontal scaling (aka scaling out) means adding more machines to your infrastructure. Vertical scaling (aka scaling up) means adding more power to the existing machines in your infrastructure (e.g. CPU, RAM).
In computing, communication between two processing systems is based on I/O operations. Input operations are the signals/data sent from a controller towards a storage device. Output operations are reading and sending data from a drive to an external system. For example, I/O devices you know are mouses, keyboards, USB drives, printers, ...
- Linus (operating system)
- Apache (web server)
- MySQL (relational database)
- PHP (programming language) LAMP was one of the first open-source software stacks and is still a common way to deliver web applications. Wordress and Drupal run on LAMP.
An HTTP client is a software used to connect to an HTTP server. A web browser is an HTTP Client.
In Ruby on Rails, a polymorphic association is an Active Record association that can connect a model to multiple other models. For example, we can use a single association to connect the Review model with the Event and Restaurant models, allowing us to connect a review with either an event or a restaurant.
git reflog command (= reference logs) to see the logs of your commits. Useful in case of mistake to go back to a previous good-state commit with the
git reset --hard <commit> command
The single-responsibility principle (SRP) is a computer-programming principle that states that every module, class or function in a computer program should have responsibility over a single part of that program's functionality, and it should encapsulate that part.
In software engineering, a monolithic application describes a single-tiered software application in which the user interface and data access code are combined into a single program from a single platform.
Prototype-based programming is a style of object-oriented programming in which behavior reuse (known as inheritance) is performed via a process of reusing existing objects that serve as prototypes. A "banana" object would be cloned from the "fruit" object and general properties specific to bananas would be appended. Each individual "banana" object would be cloned from the generic "banana" object (in a class-based paradigm, a "fruit" class would be extended by a "banana" class).
Brain Bytes is an open source project, so feel free to comment or reach out to me in any way should you want to participate in its development! As you'll notice, there is plenty to do!
And of course, you are more than welcome to share your knowledge there!
Thanks for reading me 🙏 ❤️