AstonJ

AstonJ

Thoughts?

:lol:

Our thread on Silicon Valley (TV show)

Showing Posts 1 to 10

karmajunkie

karmajunkie

I wonder what he thinks about spacemacs…

thinkpadder1

thinkpadder1

One benefit of tabs: If you’re reading highly nested code, you can adjust tab width in your editor to make it easier to read (so it doesn’t wrap as much).

AstonJ

AstonJ OP

Best of both worlds - just set your editor to use soft tabs :smiley:

Why tabs are evil: L'ESPRIT DE COMBINAISON(!!) That

karmajunkie

karmajunkie

funny thing, watching that episode with my (non-developer) wife, my response to his whole i-like-precision thing was “Wouldn’t you just use spaces then?” which was this actresses next line.

I feel like this show makes my wife understand me a little more :slight_smile:

gregvaughn

gregvaughn

For those who may have never used a manual typewriter, the semantic meaning of tab is harder to understand. When you physically set a tab stop on the typewriter, then press the tab key the insertion point jumps to the nearest tab stop to the right. Tabs were originally intended for vertical alignment, which really is our goal in code.

That said, I use the tab key, but have vim set to do soft tabs. That’s the best compromise IMHO.

sztosz

sztosz

I don’t believe there is a programmer who indent using space key instead of tab key, regardless of which character he uses in code (space or tab).

chrismccord

chrismccord

Creator of Phoenix

This programmer does! :slight_smile: Also I think the debate for tabs vs spaces was settled long ago in Elixir; spaces.

10
Post #7
thinkpadder1

thinkpadder1

@AstonJ Check this out: Elastic tabstops - a better way to indent and align code.

Haven’t used it myself though.

ejc123

ejc123

I just put all my code on one line :slight_smile: white space is for wimps.

mkunikow

mkunikow

This is spoiler I answer after I watch this episode :slight_smile:

Where Next? Top

Trending in Discussions Top

sntran
In my third year of college, around 2010, I found Erlang. A few years later, I found Elixir. I liked the ideas at once: many small proces...
New
SyntaxSorcerer
This is the start of my Elixir learning journal/journey. I plan to share my journey in this thread and am open to all feedback, construct...
New
bartblast
This is where the projects in the Hologram Showcase get posted: apps built with Hologram and libraries made for it. New ones go up usuall...
New
karolina.curiosum
Hi everyone! This is our fourth edition. Last year, 1,000+ developers took part. The more of you who answer, the more useful the results...
New
mandar1045
I’ve been fixing race condition / crash bugs in an open source org, for a few months now and almost all of them had the same problem. The...
New
fredwu
Over the years I’ve tried dozens of time tracking and invoicing apps, and Harvest was the only one I liked. Primarily due to its relative...
New
New

Other Trending Topics Top

GenericJam
Edit: 2026 May 15 - This post is archived. Mob is alive!! Main docs: mob v0.7.11 — Documentation A bit of explanation for the slightly c...
261 13183 112
New
mudasobwa
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
charlenopires
Hi everyone :waving_hand: I’ve been working on PhiaUI, an open-source UI component library for Phoenix LiveView, and I wanted to share i...
New
PJUllrich
On November 23, 2026, an unauthorized third party exploited a vulnerability in hex.pm (CVE-2026-129514, CVSS 10.0) that let them run comm...
New
akoutmos
@hugobarauna, Dr. Dimitrios Koutmos (my brother) and I (Alex Koutmos) have been hard at work on writing a book on how you can use Elixir ...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews