Results 1 to 13 of 13

Thread: Its SO pretty now!

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2015
    Posts
    227

    Its SO pretty now!

    About a year ago, I stated using an indenter (Smart Indenter) to help format my code. Before hand, it looked SO messy! . Of course, that didn't affect its functionality and likely nobody except me will ever see most of it but it just makes me feel better to see it so nice!. Easier to maintain too!. I've also used Ulli's code formatter once in awhile.

    How about you?. Do you have a favorite code formatter or indenter?. Do you care?

  2. #2
    Hyperactive Member -Franky-'s Avatar
    Join Date
    Dec 2022
    Location
    Bremen Germany
    Posts
    371

    Re: Its SO pretty now!

    I use a VB6 AddIn that I wrote myself what feels like half a century ago.

  3. #3
    PowerPoster
    Join Date
    Feb 2017
    Posts
    5,436

    Re: Its SO pretty now!

    Quote Originally Posted by SomeYguy View Post
    How about you?. Do you have a favorite code formatter or indenter?. Do you care?
    I don't need one. I indent the code as I want it to be while I'm typing.

  4. #4
    PowerPoster Arnoutdv's Avatar
    Join Date
    Oct 2013
    Posts
    6,418

    Re: Its SO pretty now!

    Quote Originally Posted by Eduardo- View Post
    I don't need one. I indent the code as I want it to be while I'm typing.
    Same for me

  5. #5
    Fanatic Member
    Join Date
    Mar 2023
    Posts
    940

    Re: Its SO pretty now!

    Quote Originally Posted by SomeYguy View Post
    About a year ago, I stated using an indenter (Smart Indenter) to help format my code. Before hand, it looked SO messy! . Of course, that didn't affect its functionality and likely nobody except me will ever see most of it but it just makes me feel better to see it so nice!. Easier to maintain too!. I've also used Ulli's code formatter once in awhile.

    How about you?. Do you have a favorite code formatter or indenter?. Do you care?
    I do the indentation a la old school - by myself

  6. #6

    Thread Starter
    Addicted Member
    Join Date
    Feb 2015
    Posts
    227

    Re: Its SO pretty now!

    Quote Originally Posted by Eduardo- View Post
    I don't need one. I indent the code as I want it to be while I'm typing.
    Quote Originally Posted by Arnoutdv View Post
    Same for me
    Quote Originally Posted by nebeln View Post
    I do the indentation a la old school - by myself
    I envy you folks who do that . I just get to banging away so fast that it looks kinda messy and then the magic formatter fixes everything .

  7. #7
    PowerPoster
    Join Date
    Feb 2017
    Posts
    5,436

    Re: Its SO pretty now!

    Quote Originally Posted by SomeYguy View Post
    I envy you folks who do that . I just get to banging away so fast that it looks kinda messy and then the magic formatter fixes everything .
    I envy you if you can write good working code without indenting.
    For myself, I need to watch the indenting to be focused and clear in what part I'm writing.

    I saw some people that don't indent and they write large code bases. They must be geniuses, or their brains work very different to mine.

  8. #8
    Fanatic Member
    Join Date
    Jan 2015
    Posts
    626

    Re: Its SO pretty now!

    All the sources of VBIDEUtils (in my signature) are available and ca do indent and many more

  9. #9
    Fanatic Member HackerVlad's Avatar
    Join Date
    Nov 2023
    Posts
    674

    Re: Its SO pretty now!

    Quote Originally Posted by Eduardo- View Post
    I envy you if you can write good working code without indenting.
    For myself, I need to watch the indenting to be focused and clear in what part I'm writing.

    I saw some people that don't indent and they write large code bases. They must be geniuses, or their brains work very different to mine.
    I used to write too, sometimes quite a lot of code, without indentation! But it sometimes became more and more difficult to understand what was written, especially when there was more and more code... Such people are not geniuses, but simply have not learned beauty...

    Now I always indent through the Tab key, and the code has become more beautiful, like all normal people, and it is more convenient to read and understand everything myself.

    P.S. Automatic margins are not always a good thing. For example, sometimes I don't like how Twin Basic automatically indents where I don't need it, and I have to rewrite it.

  10. #10

  11. #11

    Thread Starter
    Addicted Member
    Join Date
    Feb 2015
    Posts
    227

    Re: Its SO pretty now!

    Quote Originally Posted by HackerVlad View Post
    Those who write without indentation are usually beginners who do not know and have not yet learned how to write structured code.
    Must be an exception here.....I started on a Commodore VIC-20.

  12. #12
    Wall Poster TysonLPrice's Avatar
    Join Date
    Sep 2002
    Location
    Columbus, Ohio
    Posts
    3,946

    Re: Its SO pretty now!

    Quote Originally Posted by Eduardo- View Post
    I envy you if you can write good working code without indenting.
    For myself, I need to watch the indenting to be focused and clear in what part I'm writing.

    I saw some people that don't indent and they write large code bases. They must be geniuses, or their brains work very different to mine.
    They are probably old COBOL programmers
    Please remember next time...elections matter!

  13. #13

    Thread Starter
    Addicted Member
    Join Date
    Feb 2015
    Posts
    227

    Re: Its SO pretty now!

    To be clear - I actually do write all of my code with indenting. No way that I could keep track if I didn't. But it isn't always industry-standard spacing and so most of the time isn't as uniform as could be. That is where the formatter comes in.....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width