It is currently Sun May 25, 2025 1:30 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
Offline
 Post subject: Tag alignment
Post #1 Posted: Wed May 12, 2010 9:03 am 
Judan
User avatar

Posts: 5546
Location: Banbeck Vale
Liked others: 1104
Was liked: 1457
Rank: 1D AGA
GD Posts: 1512
Kaya handle: Test
I'd like to see closing delimiters in the same column as opening delimiters. ( In this instance, I think that means at the beginning of a new line. )

This is ok:


TAG_TYPE_1
misc stuff
TAG_TYPE_2
more misc stuff which might be a really really really long sentence.
CLOSE_TAG_2
other misc text
more misc stuff which can be arbitrarily long but doesn't affect readability.
CLOSE_TAG_1


This is a pain in the rear:


TAG_TYPE_1
misc stuff
TAG_TYPE_2
more misc stuff which happens to be very long so you don't see the closing tag. CLOSE_TAG_2
other misc text
more misc stuff which also happens to be rather long. CLOSE_TAG_1


The two posts have the same logic, but the first is much easier to read. I can write a post in the first style, and when I edit it, the editor transposes it into the second style. :sad:

_________________
Help make L19 more organized. Make an index: https://lifein19x19.com/viewtopic.php?f=14&t=5207

Top
 Profile  
 
Offline
 Post subject: Re: Tag alignment
Post #2 Posted: Wed May 12, 2010 9:46 am 
Lives in sente
User avatar

Posts: 921
Liked others: 401
Was liked: 164
Rank: German 2 dan
I actually like this better:


Code:
    TAG_TYPE_1
      misc stuff
      TAG_TYPE_2
        more misc stuff which happens to be very long so you don't see the closing tag. CLOSE_TAG_2
      other misc text
      more misc stuff which also happens to be rather long. CLOSE_TAG_1
 



However, I think that the "source code" of the postings should simply not be changed, so that anyone can have it his way.

(On a related but off topic note, I think that XML-style named close tags are completely redundant and superfluous, anyway. Just to be clear, the original design of HTML should have been like this:


Code:
    <TAG_TYPE_1|
      misc stuff
      <TAG_TYPE_2|
        more misc stuff which happens to be very long so you don't see the closing tag.>
      other misc text
      more misc stuff which also happens to be rather long.>
 



in my opinion.)

_________________
A good system naturally covers all corner cases without further effort.

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group