Twilio Integration with F#

Intro I decided to document some Twilio integration details for a hobby project that I'm working on. Sms Module Here's the core module for sending an Sms via Twilio: namespace CourierPayroll.DataGateway open Twilio open Twilio.Types open Twilio.Rest.Api.V2010.Account open CourierPayroll.DataTransfer module Sms = let formattedNumber (toPhone:string) = let usaCode = "+1" let phoneWithPrefix = if toPhone.Chars …

Implementing F# inspired Result in C#

Here's a F# inspired Result type implemented in C#: public class Error { public Error(string error) => Value = error; public string Value { get; } } public class Result<T> { readonly string _error; public Result(Error error) => _error = error.Value; public Result(T value) => Value = value; public bool IsSuccessful { get => _error …

The Nineteen Habits of a Rock Star Developer

Lifestyle 1. Routinely reviews the latest StackOverflow content 2. Listens to software development podcasts 3. Maintains a technical journal 4. Recognizes the value of Job hopping 5. Presents at user groups 6. Maintains a library of software development books 7. Makes an annual pilgrimage to a conference 8. Works on an open-source project 9. Seeks …