Good points. I took C in my first formal programming course (CS50 with David Malan!) and for me, it was a terrific language to start my formal programming education with. Before then I had programmed in BASIC, ActionScript, a smattering of PHP, and a little JS. This was back in 2012 when I was very much self-taught and in need of formal direction.
As I launched into CS50, I really enjoyed programming in C and became very interested in memory management and what happened at the machine level. And I felt prepared for a range of different types of programming.
For two million years, Earth has been inhabited by living things that make their own food. Known as the producers of their communities, these self-sufficient life forms convert substances from their immediate environment into energy-rich food molecules.
The energy they pack into these molecules has to come from somewhere — and while we have long known that plants and chlorophyll-carrying microbes harness energy from the sun via photosynthesis, a new type of producer was discovered a bit less than a half-century ago. Curiously, these new specimens live in the complete absence of sunlight — and somehow make their own nutrients.
I first started using JSON in the Spring of 2012 after taking a web development course. Before then, my programs were pulling in XML content files. They got the job done, but they felt a bit clunky.
I remember the day our instructor introduced us to JSON. …
If you’re a seasoned developer, you’ve likely wrestled with bugs time and again. If you’re new to web or app development, just wait.
These are the ones that are the thorn in your side.
The ones that keep you up at night—or greet you in the morning when you check the ticketing system.
You may have encountered one lurking in the shadows on a course project, during a migration, or while modifying a new build. What these bugs all have in common is that finding and fixing them is akin to trying to scale an insurmountable stone wall.
As a simple example, you may have an app that needs to download the following JSON data on two books from a content management website. The books may look like this:
While mitosis and meiosis are very similar-sounding processes, they are actually quite different — and occur for different reasons.
Suppose you fall and scrape your knee. You will likely see your wound heal over the next few weeks as your body tissue repairs itself, and that is in large part due to mitosis.
In contrast, meiosis is the reason why people often look partially look like one of our parents — as due to meiosis, they only inherit half the DNA from each parent.
Let’s take a closer look at each process.
Mitosis occurs during the division of body cells…
Star rating tools are seen on all kinds of apps and websites these days. Who knows — at one point you may be asked to build one as a quick way to collect user feedback.
Below is one way of achieving the star rating effect using pure CSS. You can glance at the finished product below.
Along the way, you’ll learn to use pseudoselectors, the “subsequent siblings” combinator (
~), a few flexbox layout techniques, and a CSS transition.
Very helpful read, Nehal. I like your use of diagrams and brief gists to convey the code and the concepts. I use JS just about every day and this helps me to better understand what's happening under the hood.
There is a reason why oil and water do not mix — and why some compounds, like sugar, dissolve in water easily.
The answer lies in solubility — how easily one substance, a solute, dissolves in another substance — the solvent. When the solubility of a compound is discussed and the exact solvent is not mentioned, it usually means that the solvent is water.
A molecule’s solubility is determined by its degree of polarity. …
There are a number of theories concerning the earliest living things on earth. Here I discuss a few prominent ones: eubacteria, archaea, and RNA-based living things.
The oldest DNA-based species are thought to be one-celled microbes, likely of the domain eubacteria, which existed in the earth’s oceans as early as 3.8 billion years ago. Like present-day bacteria, these early bacteria were prokaryotic — meaning that they did not have a DNA-bearing nucleus, nor did they have cell parts enclosed by membranes. Prokaryotes are typically single-celled, though some, like cyanobacteria, will form large colonies.