Articles in the programming category

  1. What's New in Go 1.20.4?

    Posted on in programming

    Go 1.20.4 was released on May 2, 2023, and includes four changes to the language, as well as bug fixes to the compiler, the go command, the linker, the runtime, and the standard library.

    Changes to the language

    • The ability to convert a slice to an array.
    • The …
  2. What is a Polyglot Source Code Repository?

    Posted on in programming

    A polyglot source code repository is a repository that contains source code written in multiple programming languages. This can be useful for projects that require the use of multiple languages, such as web applications that use both JavaScript and Python.

    There are several benefits to using a polyglot source code …

  3. Does Go require a particular directory structure?

    Posted on in programming

    Go is a programming language that is known for its simplicity and efficiency. One of the things that makes Go so easy to use is its flexible directory structure. There are no strict rules about how to organize your Go code, which gives you a lot of freedom to create …

  4. Push vs Pull Experiments

    Posted on in programming

    In software engineering, a push experiment is a type of experiment where a new version of a software product is pushed to users without their consent. This can be done in a variety of ways, such as through an automatic update or by requiring users to manually install the new …

  5. Bazel vs Gradle

    Posted on in programming

    Bazel and Gradle are two of the most popular build systems for Java and other languages. They both have their own strengths and weaknesses, and the best choice for you will depend on your specific needs.

    In this article, we will compare and contrast Bazel and Gradle in terms of …

  6. What is "vendoring" a library?

    Posted on in programming

    In software development, vendoring a library means to include the library's source code in your project's codebase. This is done instead of installing the library as a dependency, which would require the library to be installed on the user's machine.

    There are a few reasons why you might want to …

  7. Why Choose Rust over Java for Microservices?

    Posted on in programming

    Microservices are all the rage these days. They're a great way to build scalable, resilient applications. And the best language for microservices development is Rust.

    Rust is a newer language, but it's quickly gaining popularity. It's memory-safe, fast, and expressive. And it has a great community of developers who are …

  8. New Feautures in Python 3.11

    Posted on in programming

    Here are some of the new features in Python 3.11:

    • Fine-grained error locations in tracebacks. Python 3.11 now provides more information about the location of errors in tracebacks. This can help you to quickly identify the source of an error and fix it.
    • Exception Groups and except*. Python …
  9. Type Checking in Python

    Posted on in programming

    What is type checking?

    Type checking is a process of verifying that the types of variables, expressions, and statements in a program are consistent with the expected types. Type checking can be performed statically, at compile time, or dynamically, at runtime.

    Benefits of type checking in Python

    There are many …

  10. [Git] remote.origin.prune vs fetch.prune

    Posted on in programming

    What is the difference between git config remote.origin.prune true and git config fetch.prune true?

    When you fetch from a remote repository, Git creates a remote-tracking branch for each branch in the remote repository. These remote-tracking branches are used to keep track of the state of the remote …

My Bookshelf

Reading Now

Other Stuff