Try our "Help Me AI"
Results 1 to 5 of 5

Thread: Controversy between "Tabs" and "Spaces"

  1. #1
    Status
    Offline
    Assassin's Avatar
    Reputed Member
    Join Date
    Apr 2018
    Location
    Somewhere in this Universe!!
    Posts
    646
       Rep Power
    16

    Controversy between "Tabs" and "Spaces"

    Has there been a continuous debate over the years, if the source code lines were returned using tabular or spatial characters? In general, most people do not bother to read code that is consistently returned by tabs, or in code that is consistently entered using spaces. Complications occur when some of the lines are bled with the cards and others are bled with spaces. In these cases, the code will be displayed correctly if the reader has the same tab settings as the authors and all authors have used consistent patterns.

    Which is most comfortable for you?

  2. #2
    Status
    Offline
    Shana's Avatar
    Reputed Member
    Join Date
    Apr 2018
    Posts
    757
       Rep Power
    16
    Quote Originally Posted by assassin View Post
    Has there been a continuous debate over the years, if the source code lines were returned using tabular or spatial characters? In general, most people do not bother to read code that is consistently returned by tabs, or in code that is consistently entered using spaces. Complications occur when some of the lines are bled with the cards and others are bled with spaces. In these cases, the code will be displayed correctly if the reader has the same tab settings as the authors and all authors have used consistent patterns.

    Which is most comfortable for you?
    I'm completely a tab person. Actually, before I watched Silicon Valley, I didn't know there was so much controversy in Tab vs Spaces. I prefer Tabs because I can't keep on tapping the space bar to make my code readable.

  3. #3
    Status
    Offline
    Assassin's Avatar
    Reputed Member
    Join Date
    Apr 2018
    Location
    Somewhere in this Universe!!
    Posts
    646
       Rep Power
    16
    Quote Originally Posted by Shana View Post
    I'm completely a tab person. Actually, before I watched Silicon Valley, I didn't know there was so much controversy in Tab vs Spaces. I prefer Tabs because I can't keep on tapping the space bar to make my code readable.
    Yes it is, but when I using MySQL there is an error occurred when I used tabs to leave space between data values to insert into table, and it cause error because of these tabs. I wasted too long to short out this, but visibly there is no change or error on the code. So what do you think about it?? How to solve this type of issues??

  4. #4
    Status
    Offline
    Shana's Avatar
    Reputed Member
    Join Date
    Apr 2018
    Posts
    757
       Rep Power
    16
    Quote Originally Posted by assassin View Post
    Yes it is, but when I using MySQL there is an error occurred when I used tabs to leave space between data values to insert into table, and it cause error because of these tabs. I wasted too long to short out this, but visibly there is no change or error on the code. So what do you think about it?? How to solve this type of issues??
    In MySQL I don't think you need a lot of tabs to make your code readable, coz we don't get to write the code in 15 to 20 lines in SQL at a single time, do we? It's just maximum 5 lines. So I go with spaces here.

  5. #5
    Status
    Offline
    Assassin's Avatar
    Reputed Member
    Join Date
    Apr 2018
    Location
    Somewhere in this Universe!!
    Posts
    646
       Rep Power
    16
    Quote Originally Posted by Shana View Post
    In MySQL I don't think you need a lot of tabs to make your code readable, coz we don't get to write the code in 15 to 20 lines in SQL at a single time, do we? It's just maximum 5 lines. So I go with spaces here.
    Yes it is, But by mistakenly if I used tabs it can't be identifiable there that's the issue for me. Need Tabs and Spaces indicated separately.

Similar Threads

  1. Replies: 1
    Last Post: 11-18-2019, 12:58 PM
  2. What event divided your life into "before" and "after"?
    By Bhavya in forum General Discussion
    Replies: 1
    Last Post: 09-03-2019, 12:08 PM
  3. Replies: 1
    Last Post: 03-22-2019, 09:40 AM
  4. Replies: 2
    Last Post: 09-11-2018, 09:47 AM
  5. Chrome's "Site Isolation" feature going to consume the system memory!
    By Adiza in forum Trending Tech News Updates
    Replies: 0
    Last Post: 07-16-2018, 05:37 PM

Tags for this Thread

Bookmarks

Posting Permissions

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

The Hub Sri Lanka is an online community portal for all the Sri Lankan digital Citizen's to enthusiastically learn and connect with the society by enormously increasing their knowledge and careers through an extensive collaborative marketplace.

Join us
RSS RSS 2.0 XML MAP HTML