JavaScript Design Patterns - Better Programming - Medium
The underlying concept of design patterns has been around in the software engineering industry since the very beginning, but they weren’t really so formalised. Design Patterns: Elements Of Reusable Object-Oriented Software written by Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides — the famous Gang of Four (GoF)—was instrumental in pushing the formalised concept of design patterns in software engineering. Now, design patterns are an essential part of software development and have been so for a long time.
The Language Agnostic, All-Purpose, Incredible, Makefile | Mindlessness
How to develop a Makefile
They key to successfully writing a Makefile is to just write down the commands you need at the moment. Ran a new command? Put it in the Makefile. Over time, the Makefile will grow to include even those rare commands you rarely run and can’t remember what they were. Patters with emerge, and these will help guide the prerequisites that may otherwise not be obvious.
GitHub - lydiahallie/javascript-questions: A long list of (advanced) JavaScript questions, and their explanations
I post multiple choice JavaScript questions on my Instagram stories, which I'll also post here! Last updated: December 24th
From basic to advanced: test how well you know JavaScript, refresh your knowledge a bit, or prepare for your coding interview! muscle rocket I update this repo regularly with new questions. I added the answers in the collapsed sections below the questions, simply click on them to expand it. It's just for fun, good luck! heart
Writing effective problem reports – BI Polar
Problem: Concise description of problem behavior
Steps to reproduce problem:
- First step
- Second step
- Third and subsequent steps, as necessary
Desired or expected behavior:
- What I wanted to happen
Observed behavior:
- What actually happened, including the full details of any error messages
50 Things You Should Know Before Going to a JavaScript Developer Job Interview
The 10:1 rule of writing and programming
The 10:1 rule of writing and programming
Good software and good writing requires that every line has been rewritten, on average, at least 10 times.
First, it looks like similar 10:1 rules show up in film, journalism, music, and photography! How cool is that?
TDD Changed My Life – JavaScript Scene – Medium
What is TDD?
TDD stands for Test Driven Development. The process is simple:
- Before you write implementation code, write some code that proves that the implementation works or fails. Watch the test fail before moving to the next step (this is how we know that a passing test is not a false positive — how we test our tests).
- Write the implementation code and watch the test pass.
- Refactor if needed. You should feel confident refactoring your code now that you have a test to tell you if you’ve broken something.
28 Relevant Javascript Interview Questions Part I - The first 4
For the past 12 years, I have been on both sides of the Front End Interview table. Sadly though, the emphasis is always put on Javascript during those rounds and the two other important languages - HTML and CSS - are not usually given the same weight.
The Principles of REST – Bivás Biswas – Medium
The 5 principles of REST
Contract first approach / Uniform Resource identifiers
Statelessness
Client-Server model
Caching
Layered architecture
Fork yeah!
Recently at work I had to speed up a Perl script that processed files. Perl can spawn multiple processes with the fork function, but things can go awry unless you manage the subprocesses correctly. I adding forking to the script and was able to improve the script’s throughput rate nearly 10x, but it took me a few attempts to get it right. In this article I’m going to show you how to use fork safely and avoid some common mistakes.
Storing UTC is not a silver bullet | Jon Skeet's coding blog
Option 3: preserve local time, using UTC as derived data to be recomputed
Spoiler alert: this is my preferred option.
In this approach, the information that the conference organizer supplied (“9am on July 10th 2022”) is preserved and never changed. There is additional information in the entry that is changed when the time zone database is updated: the converted UTC instant. We can also preserve the version of the time zone rules used for that computation, as a way of allowing the process of updating entries to be restarted after a failure without starting from scratch, but it’s not strictly required. (It’s also probably useful as diagnostic information, too.)
The UTC instant is only stored at all for convenience. Having a UTC representation makes it easier to provide total orderings of when things happen, and also to compute the time between “right now” and the given instant, for the countdown timer.
Want to know the easiest way to save time? Use `make`!
But there is a good standard UNIX tool. By standard I mean it actually has robust documentation, that many forgot. Or never learned? I’m talking about make. More accurately, this article focuses on GNU make. It’s available on macOS, Windows, Linux and most other operating systems.
How to think like a software developer – The Startup – Medium
As a software developer, I constantly ask myself: what distinguishes an outstanding developer from a mediocre one? From my observation, it has very little to do with formal education, age, gender, and even industry experience. It has a lot to do with mindset.
- Learn how to learn
- Don’t reinvent the wheel
- Small iterations
- Test, test, test
- Apply learned patterns
- Don’t fall in love with your work
50+ Data Structure and Algorithms Interview Questions for Programmers
In this article, I’ll share some frequently asked programming interview questions from different interviews for programmers at different levels of experience, from people who have just graduated from college to programmers with one to two years of experience.
What is a Makefile and how does it work?
If you want to run or update a task when certain files are updated, the make utility can come in handy. The make utility requires a file, Makefile (or makefile), which defines set of tasks to be executed. You may have used make to compile a program from source code. Most open source projects use make to compile a final executable binary, which can then be installed using make install.
How you can improve your workflow using the JavaScript console
When we think about the console, the first thing that comes to mind and the console.log, right? But there are many more methods than those we imagine. Now we will see how to make the most of using the console, and I’ll give you some tips to make them these methods more readable
A Tricky JavaScript Interview Question Asked by Google and Amazon
The following will be a short explanation, along with some solutions, of a popular JavaScript question that tends to get asked in developer interviews.
This question deals with the topics: closures, setTimeout, and scoping.
Warning: Your programming career – SoloLearn – Medium
Preparing for Coding Interviews
There are concepts that are fundamental in programming world. Most of the technical interviews are meant to discover your problem solving skills and knowing those concepts, so besides mastering a programming language, you should be familiar with the concepts that are somewhat required in programmer’s arsenal. Here’s an excerpt from my recent lesson post in SoloLearn (below are the links to Android and iOS apps).
Google employees want to teach you to code for free with their latest app
A bunch of Google employees participating in the company’s Area 120 internal incubator have launched Grasshopper, a free mobile app for Android and iOS that teaches you the basics of programming. It’s beautifully designed and is suitable for just about anyone who can be trusted to use a phone on their own.