Learning Python and the Significance of Whitespace

Image for post
Image for post

This week was spent learning a new language, Python. It's a fairly easy language to pick up but one thing that's been interesting and new to me is the use of whitespace in Python.

“In computer programming, whitespace is any character or series of characters that represent horizontal or vertical space in typography.”

Up until Python, I’ll admit, I hadn't given whitespace much thought. In general, I thought the compiler didn't care too much about whitespace. Sure, it's necessary to delineate keywords or names of variables, but otherwise, it was optional in the languages I was programming in. …

Javascript Solution to LeetCode Problem

Image for post
Image for post

This week my focus has been on practicing my data structures and algorithms. After completing many problems, patterns start to arise. The given problem starts to remind you of another solved problem and this makes it easier. The more you practice, the more styles of questions you will have seen, and the greater the chance you will be able to use your past experiences to help you. Here is an example of how that played out:

Problem: Binary Tree Level Order Traversal

This is a LeetCode medium difficulty problem. Given a binary tree, return the level order traversal of its nodes’ values. (ie, from left to right, level by level). …

5 Reasons To Have A Portfolio as a Junior Software Developer

Image for post
Image for post

Last week I finally got around to creating my portfolio website.

When researching software developer portfolios, there are many examples online and a lot of information on how to make one and what you should and shouldn't include. But why should I make one? Do I really need one? Truthfully, I had been putting it off. I didn’t see real value in making it. Would I just be putting more useless content out into the internet? There is already so much clutter out there. How is it going to be different than my resume? It will end up having most of the same content anyway. Lastly, I am not a UX designer, and I prefer back-end to front-end software development anyway. …

What to do if you accidentally publish your API key

Image for post
Image for post

Last week while coding, I came across a small project I had been working on long ago. I decided I wanted to revive the project and continue working on it. The project was in its very early stages and I figured I’d make a repo on Github and push the code up before I added to it.

As soon as I pushed my code up to Github, I received an email from Google Developer Services that said “We have detected a publicly accessible Google API key”. Oh no!! Somewhere in my code, I had a google API key that I had not hidden. …

Imposter Syndrome

Image for post
Image for post

It’s feelings time! Recently there has been a lot on my plate. I have worked very hard, dealing with immigration applications, working on keeping up my skills, applying to jobs, and networking, all during a pandemic, and the rest that 2020 has thrown at us. It can’t always be roses and sunshine and all this has started to affect how I see myself as a software developer.

Sometimes, I find myself thinking I’m pretending. It’s as though I have put on a software developer costume and I am sitting in front of my laptop and acting. Am I truly a software developer? …

Why Interfaces are not Multiple Inheritances

While continuing my journey into C# I learned about interfaces. This was a new concept and my prior experience with Ruby and JavaScript had not introduced me to the idea of interfaces. However, working in ASP.NET I am now a huge fan of interfaces and how they apply proper OOP principles such as creating loosely coupled and extensible applications.

Image for post
Image for post
Example Code: Logger Interface


“a class implements an interface”

An interface’s main goal is to ensure that all classes implementing the interface are adhering to a contract.

They look like a class, however, interfaces only contain the declaration of the members with no implementation. We know what we want our subclasses to be able to do, but we are not concerned with how that will be done. …

Image for post
Image for post

This past Saturday, September 12, 2020, was the 8th annual National Day of Civic Hacking.

This event allows for civic leaders, public servants, designers, coders, and engaged citizens to all gather and partner with local government and community groups to come up with solutions to common challenges within our communities.

In honor of this day, I joined a local Hackathon put on by Open Seattle, Code for PDX, Open Eugene, and DemocracyLab to participate in some “Civic Hacking”. …

Image for post
Image for post

For the past few weeks, I have switched from coding in Javascript to learning a new language: C#.

C# was developed by Microsoft to be its primary computer coding language. It is an object-oriented, general-purpose programming language. It is also a type-safe language that allows a developer to build a wide array of applications that run on .Net frameworks.

Now, C# and JavaScript have very different applications, and the references below discuss when to use either and their strengths /weaknesses. While learning C# I wanted to discuss the initial similarities and differences in syntax that I noticed:


Learning a new language is always daunting. However, going from JavaScript to C# really wasn't too hard. I realized code written in C# was already very readable to me. For example, let's look at a for loop syntax in…

** this blog post was written 2 months ago, while I was still in my software engineering boot camp

Image for post
Image for post

Currently working through my Software Engineering Bootcamp through Flatiron School. We are learning about Object Oriented Programming and I came across this quote:

“We are modern craftspeople, building structures that make up present-day reality, and no less than bricklayers or bridge builders, we take justifiable pride in our accomplishments.”- Sandi Metz, Practical Object-Oriented Design in Ruby

Well, that's funny. I used to be a bricklayer/ bridge builder. …

Image for post
Image for post

Is there a max number of lines for functions?

We are all very familiar with how functions help us write better code. They provide two main benefits, reusability and abstraction. This creates code that is DRY and easy to follow.

Now you might also be familiar with the idea that your functions should be small. The smaller the better! When doing my Bootcamp I had an instructor mention that if a function was more than 5–10 lines you should consider making another function. I did not stick to this rule. So I decided to research this and see how relevant this was.

Side note: I am using the term “function” generally here. They are functions in JavaScript and they would be methods in Ruby and subroutines in Java…


Sara Khandaker

I love seafood, exploring new cities, board games and learning to love to code. https://github.com/sarakhandaker/portfolio

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store