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

budgie
A little off-topic, but I feel like people here have a good head on their shoulders. I used to be quite good at making software. Was luc...
New
juhalehtonen
There has been a thread to discuss the Stack Overflow Developer Survey on this forum every year since 2018, so here’s yet another one for...
New
axelson
Hi there! :wave: @frigidcode and I (but mostly him) have been running an Elixir Book club, we’re almost done with Designing Elixir Syste...
New
budgie
I love Elixir. It’s one of 2 programming languages I’ve ever fallen in love with. But I don’t use it anymore. Serverless was the promis...
New
jtormey
Lately I’ve been thinking about how to organize components as a LiveView application grows. One of the pain points I’ve found (for myself...
New
Null-logic-0
What IDE or editor are you using for Elixir development? Personally, I use Zed, and I really like it, but sometimes I wish there were a ...
New
type1fool
I just stumbled on a newly redesigned elixir-lang.org. :tada: It looks like @Software_Mansion did the work, and I think it is generally a...
New

Other Trending Topics Top

KristerV
Hey. Is there anyone here who creates agents in their apps? Not talking about using agents, but creating them. I’m finding it pretty diff...
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
ausimian
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New
kip
In 2021 I started a new library called Tempo with the objective of modelling time as a set of intervals - not as instants. In 2022 I gave...
New
OndrejValenta
(I just needed to vent somewhere and LinkedIn is full of hope, or hype, I’m not sure which exactly) AI dream has many faces, but general...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews