Programming

Programming

1474 bookmarks
Custom sorting
TDD in Elixir with ExUnit and Doctest
TDD in Elixir with ExUnit and Doctest
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
·til.codes·
TDD in Elixir with ExUnit and Doctest
Test Driven Development — Why Elixir Excels at TDD
Test Driven Development — Why Elixir Excels at TDD
I joined Podium for many reasons, among them was our dedication to testing. A good test suite gives you confidence to go fast and ship…
·medium.com·
Test Driven Development — Why Elixir Excels at TDD
How to Learn Programming – The Guide I Wish I Had When I Started Learning to Code
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
·freecodecamp.org·
How to Learn Programming – The Guide I Wish I Had When I Started Learning to Code
Gen
Gen
·gen.dev·
Gen
Conditionally setting your gitconfig
Conditionally setting your gitconfig
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.
·utf9k.net·
Conditionally setting your gitconfig
REST Web API in Practice: Naming Endpoints, Filtering, Sorting, and Pagination
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.
·dotnetnakama.com·
REST Web API in Practice: Naming Endpoints, Filtering, Sorting, and Pagination
The latency of making a coffee cup
The latency of making a coffee cup
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 ...
·ayende.com·
The latency of making a coffee cup
Implicit Overflow Considered Harmful (and how to fix it)
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.
·blog.polybdenum.com·
Implicit Overflow Considered Harmful (and how to fix it)
Build And Deploy A Telegram Bot
Build And Deploy A Telegram Bot
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…
·codingkaiser.blog·
Build And Deploy A Telegram Bot
Making asynchronous programming easier with async and await - Learn web development | MDN
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.
·developer.mozilla.org·
Making asynchronous programming easier with async and await - Learn web development | MDN
Async/Await and Promises Explained
Async/Await and Promises Explained
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)
·freecodecamp.org·
Async/Await and Promises Explained
Are software engineering “best practices” just developer preferences?
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?”
·floverfelt.org·
Are software engineering “best practices” just developer preferences?
Developers dread these programming languages, but which one pays the most?
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.
·techrepublic.com·
Developers dread these programming languages, but which one pays the most?
Confessions of a 1x Programmer
Confessions of a 1x Programmer
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
·new.pythonforengineers.com·
Confessions of a 1x Programmer
Database Lab by Postgres.ai
Database Lab by Postgres.ai
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.
·postgres.ai·
Database Lab by Postgres.ai
Data validation with JSON schema
Data validation with JSON schema
How to represent data schema with JSON schema. Benefits of separating data schema from data representation in Data-Oriented Programming.
·blog.klipse.tech·
Data validation with JSON schema
Implementer's Guide to WebSockets - Cookie Engineer's Web Log
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.
·cookie.engineer·
Implementer's Guide to WebSockets - Cookie Engineer's Web Log
Python VS Common Lisp, workflow and ecosystem - Lisp journey
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.
·lisp-journey.gitlab.io·
Python VS Common Lisp, workflow and ecosystem - Lisp journey
The difference between Go and Rust – dominikbraun.io
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.
·dominikbraun.io·
The difference between Go and Rust – dominikbraun.io
Getting Started with Go and InfluxDB - The New Stack
Getting Started with Go and InfluxDB - The New Stack
This tutorial describes how to use the InfluxDB Go client library, create a connection to the database and store and query data from it.
·thenewstack.io·
Getting Started with Go and InfluxDB - The New Stack
Low Code for Pro Coders - The New Stack
Low Code for Pro Coders - The New Stack
Low-code app development is here, and thanks to the rise of work from home over the past couple of years, it is here to stay.
·thenewstack.io·
Low Code for Pro Coders - The New Stack