#indentation — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #indentation, aggregated by home.social.
-
Интеграция утилиты Artistic Style в скрипт сборки прошивки
Есть утилита для автоматического выравнивания отступов в исходных кодах. Называется astyle.exe. В этом тексте я покажу, как работать с утилитой Astyle.
-
Интеграция утилиты Artistic Style в скрипт сборки прошивки
Есть утилита для автоматического выравнивания отступов в исходных кодах. Называется astyle.exe. В этом тексте я покажу, как работать с утилитой Astyle.
-
Интеграция утилиты Artistic Style в скрипт сборки прошивки
Есть утилита для автоматического выравнивания отступов в исходных кодах. Называется astyle.exe. В этом тексте я покажу, как работать с утилитой Astyle.
-
Интеграция утилиты Artistic Style в скрипт сборки прошивки
Есть утилита для автоматического выравнивания отступов в исходных кодах. Называется astyle.exe. В этом тексте я покажу, как работать с утилитой Astyle.
-
I'm falling in love with this weird curly-braces style. I don't know what to call it. The indentation in 2 characters wide.
void weirdy()
..{
....printf("I know I'm weird\n");
} -
Yes..
#Python s #indentation craze is annoying
Had to fix a code renderer recently cause py will no longer work without its beloved "my precious" indents ..
https://www.quora.com/What-are-the-reasons-for-people-complaining-about-Pythons-indentation-based-syntax-Is-there-a-more-modern-language-that-they-could-be-using-instead
:neocat_think: :blobcatfacepalm:
#repost •acws #acws -
#Development #Techniques
Responsive ‘tab-size’ · Code indentation meets responsive design https://ilo.im/168dkg_____
#Tabs #Indentation #Code #Content #Blog #ResponsiveDesign #WebDesign #WebDev #Frontend #CSS -
I'm researching for a rewrite of our OData tutorials in our SAP Developer Centre and came across this example of an Atom feed (you know the connection, right?). I cannot unsee the absolute randomness of indentation here, so I thought it only right that I share it here. #XML #Indentation #Atom #OData
-
What's a command-line tool to hard-wrap a file but preserve #indentation ?
(No, I'd never hard-wrap anything willingly, but sometimes you have to bow to evil in order to achieve greater good.)
-
What's a command-line tool to hard-wrap a file but preserve #indentation ?
(No, I'd never hard-wrap anything willingly, but sometimes you have to bow to evil in order to achieve greater good.)
-
What's a command-line tool to hard-wrap a file but preserve #indentation ?
(No, I'd never hard-wrap anything willingly, but sometimes you have to bow to evil in order to achieve greater good.)
-
What's a command-line tool to hard-wrap a file but preserve #indentation ?
(No, I'd never hard-wrap anything willingly, but sometimes you have to bow to evil in order to achieve greater good.)
-
What's a command-line tool to hard-wrap a file but preserve #indentation ?
(No, I'd never hard-wrap anything willingly, but sometimes you have to bow to evil in order to achieve greater good.)
-
I have #legacyCode with #indentation switching arbitrarily between 1 and 2 spaces
I shit you notI do not love my job every single day.
-
This is what I imagine people's code looks like when they complain about the forced indentation in #python.
And yes, this code is correct.
#programming #c #formatting #indentation #tabsvsspaces #whitespace #developers #developerexperience #debugging #fail #goodluck
-
I wrote a GNU Emacs Scheme mode tutorial for adding new indentations for a syntax. I am not an expert, so I might have made a bunch of errors.
https://kaka.farm/posts/adding-extra-syntax-indentation-to-gnu-emacs-scheme-mode.html
#cowsay
#emacs
#gnu
#gnuemacs
#indentation
#letitbeletitbeletitbeletitbewhispermoosofwisdomletitbe
#scheme -
#Development #Pitfalls
Lessons from plain text · “Plain text might not always be as straightforward as it appears.” https://ilo.im/160erg_____
#Programming #Tools #TextEditor #CodeEditor #Newline #Indentation #Wrapping #WebDev #Frontend #Backend -
There is an ongoing underground global war where you have chose a side: either TAB or SPACE
I was on the TABS side, for many years
I cannot tell you how i have been caught, I have no memories left, no trace of my former life where TABS was my default indentation key, whatever the language
I assure you the <Space> people are really friendly. They have not hurt me. I just no longer use the TAB key, that is the only difference
Now, I have been told there is a growing schism between 2-space indentation and the 4-space indentation
Given the galactically-known wisdom of the bipedal cousins of the chimpanzees, we can be sure they will bury the axes of war
PEP8 advises to stand with space-4 as the prefered pythonic way of indenting
-
Coding indentation styles. I'm a K&R man, myself.
https://en.wikipedia.org/wiki/Indentation_style
If you are a Horstmann person, please unfollow.
#developers #programming #coding #dev #indentation #format #coders
-
Spicy take: If your software development team is using Prettier, you should set it to indent with tabs, not spaces.
That makes it easy for everyone to set whatever indentation depth they want, and even adjust it if they feel the need. Someone who can pick out a 4-column indent better than 2 will have trouble reading that "indented with 2 spaces" stuff, but tabs let everyone coexist.
#SoftwareDevelopment #coding #programming #webdev #code #Prettier #indentation
-
Googled "#vim heuristic #indentation", wasn't disappointed. 🤯
-
That's very #strange. To me the #links are complete after #loading and the #indentation works for me too. Can I have a #personal #question? Can you please tell me what #reader you are using? Ideally and operating #system or at least one of the above. I'd be happy to #fix it, but I can't bring up the #errors. I've tried two readers at the same #time and it's #always been ok..
-
If you could only indent your code with either tabs or spaces from now on, which would you prefer to use?
Without considering the norms/preferences in specific languages, which one do you personally prefer to work with?
Reply with your reasoning if you'd like - please keep the discussion civil though 😅
-
@mattwilcox Oof, this hits hard, because my interest in #accessibility completely agrees with you, but this is such an unpopular opinion that making such a transition will be a long and tricky process (not to say it's not worthwhile), and I'll have to work out how to configure various linters and code formatters to do the right thing.
Have you found code formatters can usually be configured to use tabs without too much trouble?
(In particular, I've not yet worked out if I can make autopep8 or similar go against its grain and *not* just do 4-space indents.)
#indentation #tabs #spaces #tabsOverSpaces -
Do you prefer your #YAML lists indented or not?
```
a:
- foo
- bar
b:
- foo
- bar
```(please boost to gather more replies to the poll!)
-
I was once a strong believer in spaces over tabs for indentation. I'd map my tab key to 4 spaces. I had vim auto-convert tab characters to 4 spaces, etc.
Then it was brought to my attention how awful spaces are when it comes to accessibility for those with visual impairments: https://adamtuttle.codes/blog/2021/tabs-vs-spaces-its-an-accessibility-issue/
I now prefer tab indentation over spaces with the exception of languages that require spaces for indents.
-
TIL: threaded conversations on Mastodon web are not rendered in any way that makes sense. #indentation
-
For code #indentation, I consider tabs to be superior to spaces. They're useful, elegant and just make sense.
Still, I seem to use spaces in my projects. Why?Certainly due to useful, elegant, and sensible code having no business in my projects
-
Suis-je le seul à beaucoup trop galérer à comprendre comment fonctionne l'#indentation sur #vim ? 🤔
-
@mattwilcox Oof, this hits hard, because my interest in #accessibility completely agrees with you, but this is such an unpopular opinion that making such a transition will be a long and tricky process (not to say it's not worthwhile), and I'll have to work out how to configure various linters and code formatters to do the right thing.
Have you found code formatters can usually be configured to use tabs without too much trouble?
(In particular, I've not yet worked out if I can make autopep8 or similar go against its grain and *not* just do 4-space indents.)
#indentation #tabs #spaces #tabsOverSpaces -
@mattwilcox Oof, this hits hard, because my interest in #accessibility completely agrees with you, but this is such an unpopular opinion that making such a transition will be a long and tricky process (not to say it's not worthwhile), and I'll have to work out how to configure various linters and code formatters to do the right thing.
Have you found code formatters can usually be configured to use tabs without too much trouble?
(In particular, I've not yet worked out if I can make autopep8 or similar go against its grain and *not* just do 4-space indents.)
#indentation #tabs #spaces #tabsOverSpaces -
@mattwilcox Oof, this hits hard, because my interest in #accessibility completely agrees with you, but this is such an unpopular opinion that making such a transition will be a long and tricky process (not to say it's not worthwhile), and I'll have to work out how to configure various linters and code formatters to do the right thing.
Have you found code formatters can usually be configured to use tabs without too much trouble?
(In particular, I've not yet worked out if I can make autopep8 or similar go against its grain and *not* just do 4-space indents.)
#indentation #tabs #spaces #tabsOverSpaces -
@mattwilcox Oof, this hits hard, because my interest in #accessibility completely agrees with you, but this is such an unpopular opinion that making such a transition will be a long and tricky process (not to say it's not worthwhile), and I'll have to work out how to configure various linters and code formatters to do the right thing.
Have you found code formatters can usually be configured to use tabs without too much trouble?
(In particular, I've not yet worked out if I can make autopep8 or similar go against its grain and *not* just do 4-space indents.)
#indentation #tabs #spaces #tabsOverSpaces