AstonJ
Trending in Discussions
As the title says, please share what you’ve been up to with Elixir. Whether that’s been learning it, looking into it, making stuff with i...
New
I want to open this thread for you all to discuss and help those who really like Ash but are still hesitant to use it in a real project. ...
New
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
I’m posting this in response to Jose’s recent tweet (Cr. link) :
People are sleeping on Elixir for a coding harness:
Hot-code swappi...
New
Hello,
I wrote Stop My Hand, a Scattergories-like web application using Phoenix/LiveView as my learning project for Elixir (after readin...
New
It would be helpful to have a list of companies worldwide that hire engineers without prior experience in Elixir. Often, it can be quite ...
New
Anyone running long-lived stateful processes on BEAM? We’re building an AI agent runtime and would love to compare notes.
We’re a small ...
New
Other Trending Topics
Hobbes is a low-level distributed database for the Elixir programming language.
Hobbes provides a simple, safe, and scalable storage lay...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve.
They are GUI (Emerge) and State management (S...
New
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
There are three potential reasons for members of this forum to have a look at https://vutuv.de
You are tired or annoyed of LinkedIn.
Yo...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #blog-post
- #elixirconf-us
- #elixir-ls
- #ai
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #hex
- #security
- #metaprogramming










Showing Posts 11 to 20- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
sztosz
You really made me think about it very, verrry hard. And I think i understand now, i don’t type like professional typist, and although i use most of my fingers my left hand is on far left side of keyboard, instead being closer to the middle. If I had my hands on keyboard like I should I would not be using tab key so much probably, because space is much more accessible.
Now I understand why people would use space key for indenting.
rvirding
The thing you should NOT do is to change the tab size, this is what is really really evil. All the issues in the “Tabs are evil” come from this. If tab size is always the same then mixing tabs and spaces is not problematic. Also a lot of things assume that tab size is 8, printers for example.
Setting tab size and using that to indent will guarantee 2 things:
So don’t change tab size. If you don’t like using tabs, with tab size 8, then set so you only use spaces. Please.
Robert
kblake
LOL. This is so good! #spacesftw
thinkpadder1
Hmm, I am probably gonna make to switch to spaces then. Just gonna use TAB a shortcut for 8 spaces in my editor.
Thank you for the insights everyone.
mgwidmann
@chrismccord You really hit the spacebar 4 times when defining a function? Seems like the tab key might be a productivity boost for you
chrismccord
Not often when your editor correctly maintains indentation levels
Qqwy
Let’s all go back to punching programs in punchcards. Then we didn’t have this problem…
sotojuan
There was once an article that showed the % of projects on GitHub that used tabs or spaces for different languages. The one for Ruby was like 98% spaces—I’d love for Elixir to have the same % so we can stop bikeshedding!
PatNowak
I think the best solution is to use two spaces. It’s like in Ruby, but it’s a rule from a community guide.
Eiji
so tabs are not bad
Spaces and tabs have their advantages and disadvantages that is necessary to know before choosing them, so everyone can choose spaces or tabs, paying attention to style of code that he/she prefer.
I prefer to use tabs. I am writing code that looks good with them and I have no problem with readability.