Properties are for data that is passed to components but doesn’t change. If we want the component to change, we have to use states. Here’s the Egghead Video for you to follow along.
Saturday, January 31, 2015
Properties can get passed down from a component to it’s children. Here’s the Egghead Video for you to follow along.
Saturday, January 31, 2015
A general rule of thumb for returning multiple elements from the render
function is to wrap everything with a <div>
. Egghead Video.
Saturday, January 31, 2015
This is part 1 of me learning ReactJS. I’m going to be following this series while trying to master ReactJS.
Saturday, January 31, 2015
In python, it’s common to see something like for _ in range(10)
. This says loop 10 but it also creates a list of 10 elements. If you replace the 10 with 1000000, it will create a very large list and take up all the memory for nothing. Instead, you could use a generator. A generator is like a pause and continue on a method and it improves the space complexity of your code. More information about generators can be found here.
Saturday, January 31, 2015
This post is about web crawling and scraping in python. The modules we will need are requests
and BeautifulSoup
. More information can be found here for requests and here for BeautifulSoup.
Monday, January 26, 2015
I recently came across a guide to C# for Java developers. It is very detailed and clear and I think anyone who knows java and wants to know how C# is different should read it. Here’s the original.
Monday, January 26, 2015
Parallel programming is very important to know and C# does it so well. This post is all about the System.Threading
namespace. More information can be found here.
Friday, January 23, 2015
Here’s a small table that shows the difference between abstract, sealed and static classes. See the example below. More info can be found here.
Thursday, January 22, 2015
Reflection is the ability to make modifications at runtime by making use of introspection. Type Introspection is the ability to inspect the code in the system and see object types. C#’s reflectin is beautiful. See the example below. More info can be found here.
Thursday, January 22, 2015
Generics are amazing, here are some examples on how to use generics in C#. More info can be found here.
Thursday, January 22, 2015
This is how you extend a class that already exists and that you don’t have access to. More info can be found here.
Thursday, January 22, 2015
Attributes can be used to add more information about a particular class in C#. This is an example (and code) of where you would use one. More info can be found here.
Thursday, January 22, 2015
This is how you overload an operator. More info can be found here.g
Monday, January 19, 2015
In this post, I’ll show you how to transition between 2 UIViews on tap in swift.
Sunday, January 18, 2015