CommunityNews
Javascript Does Not Need a StringBuilder
Javascript Does Not Need a StringBuilder.
Today I learned that Javascript does not need a StringBuilder for accumulating a large number of concatinations. As a Java programmer, that came as a shock to me. This article summarizes my exploration of this fact. Effective Java A StringBuilder is grilled into Java programmers. Effective Java [1] says, “Item…
Read in full here:
This thread was posted by one of our members via one of our news source trackers.
Most Liked
davearonson
StringBuilder is a great example of premature optimization.
2
Hakanai
Depends. If it’s the extreme case shown in that article, I’d say it’s worthwhile to use it, because the concatenation example literally didn’t finish for many of the runs.
2
Popular Frontend topics
Announcing TypeScript 4.1 | TypeScript.
Today we’re proud to release TypeScript 4.1! If you’re unfamiliar with TypeScript, it’s a langua...
New
Wasmino = WASM + Arduino (Running Arduino code in browser).
Wasmino Running the “Fade” example Wasmino is an Arduino core fully compatib...
New
Etsy’s Journey to TypeScript.
Over the past few years, Etsy’s Web Platform team has spent a lot of time bringing our frontend code up to...
New
Pay attention to WebAssembly.
WebAssembly is at an inflection point. Over the next few years, I expect to see increased adoption of WebA...
New
I made minimal change to escape HTML in REST API using go reflection | Inspektor.
This blog post explains about go reflection and some o...
New
Why React Re-Renders.
In React, we don’t update the DOM directly, we tell React what we want the DOM to look like, and React tackles the...
New
Type-Level TypeScript — Introduction.
A course to take your TypeScript skills to the next level!
New
Understanding HTML with Large Language Models.
Large language models (LLMs) have shown exceptional performance on a variety
of natural ...
New
Speeding up the JavaScript ecosystem - one library at a time.
Most popular libraries can be sped up by avoiding unnecessary type convers...
New
The five most popular JS frameworks – Angular, React, Vue, Svelte and Blazor – use different rendering strategies, and it shows.
New
Other popular topics
Andy and Dave wrote this influential, classic book to help their clients create better software and rediscover the joy of coding. Almost ...
New
I am thinking in building or buy a desktop computer for programing, both professionally and on my free time, and my choice of OS is Linux...
New
I ended up cancelling my Moonlander order as I think it’s just going to be a bit too bulky for me.
I think the Planck and the Preonic (o...
New
Do the test and post your score :nerd_face:
:keyboard:
If possible, please add info such as the keyboard you’re using, the layout (Qw...
New
Learn different ways of writing concurrent code in Elixir and increase your application's performance, without sacrificing scalability or...
New
Build highly interactive applications without ever leaving Elixir, the way the experts do. Let LiveView take care of performance, scalabi...
New
Will Swifties’ war on AI fakes spark a deepfake porn reckoning?
New
Hello,
I’m a beginner in Android development and I’m facing an issue with my project setup. In my build.gradle.kts file, I have the foll...
New
Background
Lately I am in a quest to find a good quality TTS ai generation tool to run locally in order to create audio for some videos I...
New
Woke up to this today: Claude Code’s complete source code exposed via npm source map. Not a snippet. All 512,000 lines. 1,900 TypeScript ...
New
Categories:
Sub Categories:
Popular Portals
- /elixir
- /rust
- /wasm
- /ruby
- /erlang
- /phoenix
- /keyboards
- /python
- /js
- /rails
- /security
- /go
- /swift
- /vim
- /clojure
- /java
- /emacs
- /haskell
- /typescript
- /svelte
- /onivim
- /kotlin
- /c-plus-plus
- /crystal
- /tailwind
- /react
- /gleam
- /ocaml
- /elm
- /flutter
- /vscode
- /html
- /ash
- /deepseek
- /opensuse
- /zig
- /centos
- /php
- /scala
- /react-native
- /lisp
- /sublime-text
- /textmate
- /nixos
- /debian
- /agda
- /deno
- /django
- /kubuntu
- /arch-linux
- /nodejs
- /spring
- /ubuntu
- /revery
- /manjaro
- /lua
- /julia
- /diversity
- /quarkus
- /laravel









