ExUnit & DocTest Elixir has it's own test framework built in natively, called ExUnit. ExUnit is a core component of Elixir itself, as much as the task runner and dependency manager mix. When you start a new project with mix, everything is directly set up for you, including basic unit
How to Learn Programming – The Guide I Wish I Had When I Started Learning to Code
Just the thought of learning to code can be very intimidating. The word code is mysterious by definition. It implies a technical form of communication that computers, and not humans, are meant to understand. One way many people start learning to code is by picking a popular programming language and
Personally, I try to keep my development environment as convenient to use as possible and with the advent of BeyondCorp-style zero trust, more internal services are thankfully available without a VPN required.
This makes it easy to access tooling from your mobile device and other places but it can also mean the line between work and personal blurs a little bit.
A lot of my custom work-related configuration has been deprecated (utilities for wrangling VPNs and proxies) and I basically don’t maintain anything more than what was already open sourced.
REST Web API in Practice: Naming Endpoints, Filtering, Sorting, and Pagination
In computer science, naming things is hard! When designing and naming the URLs structure, various questions and possible conflicts between the team members may arise. Let's see some practical suggestions for consistently naming our REST endpoints and representing the filtering, sorting, and pagination operations as URL query string parameters.
I recently had to discuss the issue on the impact of latency a few times, and I found the coffee cup analogy to be an excellent tool to explain exactly what ...
Balanced Trees & Introduction to Self Balancing Trees | Trees | Data Structures Simplified - TheBinaryRealm
A balanced binary tree or a height-balanced tree is a tree in which the height of the left and right subtree at any node does not differ by more than one. Not just the root node, at any node. Mathematically we define using a balanced factor.
Implicit Overflow Considered Harmful (and how to fix it)
A common problem in programming language design is the question of what the type of integral literals should be, and if they are untyped, what the rules for implicitly converting them to regular integer types should be. This is part of the more general problem of how to handle having multiple integer types with overflow and the conversions between them. There are many approaches to this problem, but they all have significant downsides.
5 Minutes Project We are going to build a Telegram bot with python and deploy it to Heroku. The bot I am going to build will be able to send random pictures or videos of dogs using dog.ceo API…
Making asynchronous programming easier with async and await - Learn web development | MDN
More recent additions to the JavaScript language are async functions and the await keyword, added in ECMAScript 2017. These features basically act as syntactic sugar on top of promises, making asynchronous code easier to write and to read afterwards. They make async code look more like old-school synchronous code, so they're well worth learning. This article gives you what you need to know.
The async / await operators make it easier to implement many async Promises. They also allow engineers to write clearer, more succinct, testable code. To understand this subject, you should have a solid understanding of how Promises work. Basic Syntaxfunction slowlyResolvedPromiseFunc(string) { return new Promise(resolve => { setTimeout(() => { resolve(string)
Are software engineering “best practices” just developer preferences?
My housemate the other day asked me something to the effect of “How can Software Engineers call themselves engineers when there’s no rules, governing bodies, or anything to stipulate what true Software Engineering is?”
Developers dread these programming languages, but which one pays the most?
A portion of the report ranks programming languages by their correlating developer salary. If you're looking to get paid well, it might be worth your time to learn Clojure and maybe not Dart.
Hey Everyone! I'm Shantnu, and I'm a 1x Programmer. I've been programming in Python for 10+ years, and yet I still forget how to use basic things like dictionaries and have to Google for itEvery time I open a file in Python, I have to Google what the parameters to
Accelerate your development and testing. Clone PostgreSQL databases of any size in a few seconds. Rapidly test and iterate, optimize SQL, improve quality, and drastically boost time-to-market.
Implementer's Guide to WebSockets - Cookie Engineer's Web Log
A How-To Guide on building a WebSocket version 13 client and server from scratch, explaining related RFCs and potential quirks and problems with other implementations.
Python VS Common Lisp, workflow and ecosystem - Lisp journey
I learned Java and C at school, I learned Python by myself and it was a relief. After 8 years working and doing side projects in Python and JavaScript (mostly web dev, Django/Flask/AngularJS/Vuejs), I am not satisfied anymore by the overall experience so I’m making Common Lisp my language of choice.I am not here to compare languages themselves, but their inherent workflow and their ecosystem. This is the article I wish I had read earlier, when I was interested in Lisp but was a bit puzzled, because the Lisp way always seemed different, and I couldn’t find many voices to explain it.
The difference between Go and Rust – dominikbraun.io
Go is regularly criticized for odd decisions and idiosyncrasies, while Rust is celebrated as an almost perfectly designed alternative that solves Go's problems. But in fact, Go and Rust are far from interchangeable.