Archivos de la categoría Programming

My GitHub contributions over the years

I came across this website that goes into your GitHub profile and generates an image of the contributions that you’ve made over the years. Here’s mine: It’s nice to see that I’ve managed to (mostly) avoid working on weekends. Credits: … Sigue leyendo

Publicado en Journal, Programming | Comentarios desactivados en My GitHub contributions over the years

Writing Code Long Before You Need It

Brent Simmons, writing for Inessential.com: Along the way I’ve had many moments where a thing I’d written years before — because I knew I would need it — suddenly becomes useful. For instance, I wrote the OPML parser early on … Sigue leyendo

Publicado en Programming | Comentarios desactivados en Writing Code Long Before You Need It

One more argument for using descriptive variable names

Not too long ago someone asked me if I thought that rejecting (or requesting changes to) a GitHub PR because a variable or property is not named correctly was “a valid thing to do.” I said: yeah. I’ve had that … Sigue leyendo

Publicado en Programming | Comentarios desactivados en One more argument for using descriptive variable names

Handling routes from an API in a type-safe way with Swift

I’m working on an application that has to handle some kind of routing directions coming from an API in the following form: { “title”: “Tap to go to your profile!”, “destination”: “profile” } These items would show in a form … Sigue leyendo

Publicado en iOS | Etiquetado , , , , , , , | Comentarios desactivados en Handling routes from an API in a type-safe way with Swift

guards in Elixir 1.6

Elixir 1.6 has been released with a lot of nice additions to the language, but without a doubt, what I’m most pumped about is real guard support in the language. Before 1.6, you could constraint a function like so: def … Sigue leyendo

Publicado en Elixir | Etiquetado , , , , , | Comentarios desactivados en guards in Elixir 1.6

Experimenting with inherited tables in Ecto

I’ve been working on a personal project with some mates for the past few months, and I’ve been mostly responsible for building our backend with Phoenix. It’s come to a time where we need to implement some sort of "comments … Sigue leyendo

Publicado en Elixir | Etiquetado , , , , | Comentarios desactivados en Experimenting with inherited tables in Ecto

action_fallback and contexts in Phoenix 1.3 made my controllers tiny!

Yesterday I posted about how Phoenix 1.3 was pure love for API development. In that post, I mentioned that one of my favorites features in this new release is the action_fallback plug. Today, I want to talk a little bit … Sigue leyendo

Publicado en Elixir | Etiquetado , , , , , , | Comentarios desactivados en action_fallback and contexts in Phoenix 1.3 made my controllers tiny!

Phoenix 1.3 is pure love for API development

Phoenix 1.3-rc.0 was just released, and while it’s still not a final release, it already feels solid as h*ck. I’ve been doing a personal project on the side for a while now, and it has a web API component, which … Sigue leyendo

Publicado en Elixir | Etiquetado , , , | Comentarios desactivados en Phoenix 1.3 is pure love for API development

ElixirConf 2016 videos are starting to get posted

Looks like the wait is over. Some of the videos from ElixirConf 2016 are starting to get posted over at confreaks.tv. I know what I’ll be doing with my evenings for the next few days.

Publicado en Elixir | Etiquetado , | Comentarios desactivados en ElixirConf 2016 videos are starting to get posted

Bringing piping syntax from Elixir to Swift

I’ve been writing Elixir for my main backend needs for the past few months and I’ve really liked it — specially its syntax. In fact, I’ve gotten so into its syntax that I’ve often found myself trying to write Swift … Sigue leyendo

Publicado en Elixir | Etiquetado , , , | Comentarios desactivados en Bringing piping syntax from Elixir to Swift