I see the phrase CRUD a lot and decided I wanted to talk about how to perform CRUD in some of the languages I know; however, to start, I want to explain what CRUD is and why we do it in a more language-agnostic approach. There will however be some SQL explaining each.

CRUD in the simplest terms is the four requirements for using a database with an application for an application to feel fluid and interactable to users. There is also CRUDL however that is for large datasets which I won’t be discussing in this series.

For most of…

When I first heard about TypeScript, I wasn’t sure how long it would take me to learn. However, this week after talking to a friend I realised that so long as you know JavaScript, you can start coding TypeScript within an hour.

The first thing to note is that even though you are writing TypeScript, it has to become JavaScript eventually. The only purpose of TypeScript is to use a compiler to check for errors before running the code. By utilising TypeScript, we will remove most of our runtime errors which are reasonably common in JavaScript.

There are lots of…

Something I should mention before I start, the first is I will only be taking a look at Goroutines for this and look at other aspects like channels in another blog.

Go is a fantastic language to work with mostly because of how simple it is to start with concurrency. The simplest way to start is to build a simple Goroutine. To make a Goroutine, all you have to do is add the word go before your function call, and it will run asynchronously. …

When starting learning Go, I found the net/http package, which comes as default within the Go language to be an exciting package. Unlike most languages, I’ve used in the past it’s effortless to start building a web application.

To get a fundamental web app in Go using the net/http package requires only two elements. The first element is the http.ListenAndServe() function which will allow your application to wait for requests from the client. The ListenAndServe() function takes in two arguments, and while we will use both for now in this situation, all we will do is hand it the port…

I have wanted to use JWTs to secure my Go applications for a while now, but I was slightly nervous about getting started. I had the opportunity recently to attempt this and experience the pitfalls along the way.

To use JWTs with Go, we will be using an external package. So first we will use the command go get github.com/dgrijalva/jwt-go this will allow us to import it to our go applications. I’ll be renaming it within the imports to jwt as it will be easier to read rather than jwt-go.

From here we should be ready to start generating our…

Recently I have been learning Go and have noticed it has some considerable differences in how it works compared to a lot of languages. One way it happens to be very different is within looping. As someone who has coded in the programing language Ruby, I have seen first hand that it can become confusing with lots of various features mostly doing the same thing. I find this makes code slightly more confusing to read as I have to be aware of several features which aren’t common to use.

Go is quite enjoyable in this regard as it only has…

At some time or another as a programmer, you will probably end up sorting a collection of items, typically in the form of sorting an array of integers. In most languages, sorting is a simple task as you can call a sort method on arrays to do all the heavy lifting for you. However, in this blog post, I wanted to discuss an overall general theme of how they are doing it but more so the fact that different languages are doing it in different ways.

Bubblesort

While nothing is impressive or extraordinary about bubble sort and I’m unaware of any…

My inspiration for this blog post was the git hell I have endured this week. I’m currently on the last day of my project week in the 3rd module of my flatiron Bootcamp. My project could be anything I wanted it to be so long as it was a single page web application. With my enjoyment of games and drinking me and my group decided to make a pub quiz application with the intent of a bar running it and allowing customers to order drinks through it. My entire week, however, has been fixing merge conflicts that should never have…

As a software engineering student at a Bootcamp, I find myself googling things a lot. Mostly because the learning curve is so intense that you’re continually learning new aspects and features that the one you learnt a week ago, you can’t even remember the syntax.

Overall this isn’t a massive issue. I’ve never found myself struggling to find endless blogs and documentation about the specific topic in question. Even when I’m not sure of the exact phrase or question to google, I can usually find something explaining the language feature and how to operate it. Generally, the documentation for ruby…

As a new student at Flatiron, I have had to become accustomed to test-driven development. Since we are learning ruby, most of the tests I have been working with have been written by other people in RSpec, allowing me to check my code for errors quickly. I have a purpose in mind of what my code should do I write it and then use the tests that have been provided to me to see if my code is functioning as I intended. …

Skye Geraghty

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