
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

**Run any code on any client.**With WebAssembly and Wasmer.
It’s been almost 6-months since we released Wasmer 1.0, and the community ...
New

Why do we need static blocks in classes?
A more complicated example
Details
Support in engines for class static blocks
Conclusion
New

The proposal “Pipe operator (|>) for JavaScript” (by J. S. Choi, James DiGioia, Ron Buckton and Tab Atkins) introduces a new operator....
New

Introducing Spin
We are pleased to announce our new WebAssembly framework, Spin. Spin is a foundational piece of the Fermyon Platform. It...
New

WebAssembly (wasm) allows code written in languages other than JavaScript to run on browsers. If you haven’t been paying attention, all t...
New

The importance of designing accessibility in software from the ground up has only been emphasized by the pandemic, and as a consequence F...
New

Typescipt is terrible for library developers.
We spend a disproportionate amount of time on types
New

All branches will diverge from the stem: from Elm to Derw.
Forgive the fancy title, but I felt it fit this month’s Derw improvements wel...
New

Will Serving Real HTML Content Make A Website Faster? Let’s Experiment! - WebPageTest Blog.
In this post, Scott runs WebPageTest Pro Exp...
New

Writing composable SQL using JavaScript by Gajus Kuizinas.
A walkthrough of common patterns of writing SQL queries in JavaScript with th...
New
Other popular topics

If it’s a mechanical keyboard, which switches do you have?
Would you recommend it? Why?
What will your next keyboard be?
Pics always w...
New

I’ve been really enjoying obsidian.md:
It is very snappy (even though it is based on Electron). I love that it is all local by defaul...
New

New

No chair. I have a standing desk.
This post was split into a dedicated thread from our thread about chairs :slight_smile:
New

SpaceVim seems to be gaining in features and popularity and I just wondered how it compares with SpaceMacs in 2020 - anyone have any thou...
New

Bought the Moonlander mechanical keyboard. Cherry Brown MX switches. Arms and wrists have been hurting enough that it’s time I did someth...
New

Learn different ways of writing concurrent code in Elixir and increase your application's performance, without sacrificing scalability or...
New

“A Mystical Experience” Hero’s Journey with Paolo Perrotta @nusco
Ever wonder how authoring books compares to writing articles?...
New

API 4
Path:
/user/following/
Method:
GET
Description:
Returns the list of all names of people whom the user follows
Response
[
{ ...
New

Author Spotlight:
Tammy Coron
@Paradox927
Gaming, and writing games in particular, is about passion, vision, experience, and immersio...
New
Categories:
Sub Categories:
Popular Portals
- /elixir
- /rust
- /ruby
- /wasm
- /erlang
- /phoenix
- /keyboards
- /rails
- /js
- /python
- /security
- /go
- /swift
- /vim
- /clojure
- /emacs
- /haskell
- /java
- /onivim
- /svelte
- /typescript
- /crystal
- /c-plus-plus
- /kotlin
- /tailwind
- /gleam
- /ocaml
- /react
- /elm
- /flutter
- /vscode
- /ash
- /opensuse
- /centos
- /php
- /deepseek
- /html
- /zig
- /scala
- /textmate
- /sublime-text
- /debian
- /nixos
- /lisp
- /react-native
- /agda
- /kubuntu
- /arch-linux
- /ubuntu
- /django
- /revery
- /spring
- /manjaro
- /nodejs
- /diversity
- /lua
- /julia
- /c
- /slackware
- /neovim