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
Building LightOS with React Native.
The Light Phone 2 is a minimalist cellphone that was named one of Time Magazine’s best inventions of...
New
Wasmino = WASM + Arduino (Running Arduino code in browser).
Wasmino Running the “Fade” example Wasmino is an Arduino core fully compatib...
New
How Prime Video updates its app for more than 8,000 device types.
The switch to WebAssembly increases stability, speed.
New
Monorepos in JavaScript & TypeScript.
A tutorial how to use a monorepo architecture in frontend JavaScript and TypeScript with tools...
New
Learning HTML was too hard so I made a compiler instead.
This is the 10-year story of how I struggled to learn how to code.
New
NASA’s DART Deploys Camera Probe Ahead of Asteroid Impact.
Called LICIACube, the Italian-built probe will take images of DART’s impact w...
New
A Game Engine in the Elm Style!.
A ‘Nu’ way to make games! The Nu Game Engine was the world’s first practical, purely-functional game en...
New
Chrome Browser Exploitation, Part 1: Introduction to V8 and JavaScript Internals.
Web browsers, our extensive gateway to the internet. B...
New
Welcome to the Open Source Seed Initiative - Open Source Seed Initiative.
Today, only a handful of companies account for most of the wor...
New
The magical world of Particles with React Three Fiber and Shaders - Maxime Heckel’s Blog.
An interactive introduction to Particles with ...
New
Other popular topics
Write Elixir tests that you can be proud of. Dive into Elixir’s test philosophy and gain mastery over the terminology and concepts that u...
New
I know that these benchmarks might not be the exact picture of real-world scenario, but still I expect a Rust web framework performing a ...
New
I know that -t flag is used along with -i flag for getting an interactive shell. But I cannot digest what the man page for docker run com...
New
poll
poll
Be sure to check out @Dusty’s article posted here: An Introduction to Alternative Keyboard Layouts It’s one of the best write-...
New
Tailwind CSS is an exciting new CSS framework that allows you to design your site by composing simple utility classes to create complex e...
New
Rails 7 completely redefines what it means to produce fantastic user experiences and provides a way to achieve all the benefits of single...
New
Author Spotlight
Erin Dees
@undees
Welcome to our new author spotlight! We had the pleasure of chatting with Erin Dees, co-author of ...
New
I have always used antique keyboards like Cherry MX 1800 or Cherry MX 8100 and almost always have modified the switches in some way, like...
New
If you’re getting errors like this:
psql: error: connection to server on socket “/tmp/.s.PGSQL.5432” failed: No such file or directory ...
New
Explore the power of Ash Framework by modeling and building the domain for a real-world web application.
Rebecca Le @sevenseacat and ...
New
Categories:
Sub Categories:
Popular Portals
- /elixir
- /rust
- /ruby
- /wasm
- /erlang
- /phoenix
- /keyboards
- /python
- /js
- /rails
- /security
- /go
- /swift
- /vim
- /clojure
- /haskell
- /java
- /emacs
- /svelte
- /onivim
- /typescript
- /kotlin
- /c-plus-plus
- /crystal
- /tailwind
- /react
- /gleam
- /ocaml
- /flutter
- /elm
- /vscode
- /ash
- /html
- /opensuse
- /zig
- /centos
- /deepseek
- /php
- /scala
- /lisp
- /react-native
- /textmate
- /sublime-text
- /nixos
- /debian
- /agda
- /django
- /kubuntu
- /deno
- /arch-linux
- /nodejs
- /ubuntu
- /revery
- /manjaro
- /spring
- /diversity
- /lua
- /markdown
- /julia
- /slackware








