Java String Interpolation final in Java 23

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • awesome-tagged-templates

    A list of libraries and learning resources for ES2015 tagged template literals

  • > Sadly, true. Why is the template processor named `STR`, why not `f"String"`, like Python?

    It looks like the prefix is pluggable so you can use different template processors, STR is just the default:

    > STR is a template processor defined in the Java Platform. It performs string interpolation by replacing each embedded expression in the template with the (stringified) value of that expression.

    > FMT is another template processor defined in the Java Platform. FMT is like STR in that it performs interpolation, but it also interprets format specifiers which appear to the left of embedded expressions.

    > Developers can easily create template processors for use in template expressions.

    This is similar to Javascript's `tagged templates`: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe.... Python's f-strings are very much lacking that.

    Although I do agree that the syntax, both of the prefix and the interpolation symbol, is awful.

  • undead

    LiveView server implementation for the JVM

  • I think String Templates are pretty cool. For example it enables "tagged template literal"-like behavior which is super powerful in JS land.

    I used it to support a LiveView implementation for Java: https://github.com/floodfx/undead

    Sure the syntax isn't "pretty" but understandable and you get used to it like anything else.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts