flat assembler
Message board for the users of flat assembler.

Index > Heap > UPPERCASE Or lowercase


UPPERCASE Or lowercase
UPPERCASE
13%
 13%  [ 2 ]
lowercase
86%
 86%  [ 13 ]
Total Votes : 15

Author
Thread Post new topic Reply to topic
Adam Kachwalla



Joined: 01 Apr 2006
Posts: 150
Adam Kachwalla
I am designing a programming language based on XML. Since XML is case sensitive, I want to know what you think. Should I use UPPERCASE or lowercase for tags?

By UPPERCASE and lowercase tags, i mean:

<TAG ATTRIBUTE="VALUE"></TAG>

<tag attribute="value"></tag>
Post 14 Sep 2008, 08:47
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17279
Location: In your JS exploiting you and your system
revolution
It is not a matter of what you "should" do, but what makes sense to you in your project. The computer doesn't care, it will happily cope with either and also mixed case.

However, most XML that I have seen uses predominately lower case. I also think all uppercase is a bit like shouting.
Post 14 Sep 2008, 09:09
View user's profile Send private message Visit poster's website Reply with quote
JN
Guest




JN
revolution wrote:
I also think all uppercase is a bit like shouting.
I think so, too.


On my opinion, lowercase looks clearer then UPPERCASE.

Poor MSDOS users, they have no real lowercase on the command line Wink
Post 03 Oct 2008, 14:07
Reply with quote
MazeGen



Joined: 06 Oct 2003
Posts: 975
Location: Czechoslovakia
MazeGen
I use only lowercase for all my XML projects. Uppercase looks TOO HUGE for me.
Post 03 Oct 2008, 19:25
View user's profile Send private message Visit poster's website Reply with quote
drhowarddrfine



Joined: 10 Jul 2007
Posts: 535
drhowarddrfine
I don't know anyone who uses uppercase for XML. I've forgotten what the W3C has to say about that.

EDIT: Now I remember. I'm actually thinking of XHTML where lower case is used because it's actually XML. Being case sensitive, it's recommended to use lower-case for xhtml.
Post 03 Oct 2008, 19:48
View user's profile Send private message Reply with quote
Borsuc



Joined: 29 Dec 2005
Posts: 2466
Location: Bucharest, Romania
Borsuc
Personally i think xml sucks Razz

Well it doesn't but people use it when it's not necessary. Stuff like:
Code:
<Value1>500</Value1>    
is annoying when you could use a simpler language like
Code:
Value1 = 500    
or something
Code:
Value1 500    
seriously...
Post 06 Oct 2008, 11:57
View user's profile Send private message Reply with quote
MazeGen



Joined: 06 Oct 2003
Posts: 975
Location: Czechoslovakia
MazeGen
What kind of language is that? How would you parse it into different formats?

I mean, XML and XSL is well defined, easy to parse and supported by many free tools around (at least for version 1.0). I'm sure that I could rewrite my x86reference.xml using the language you suggested and it would be as half as big in size, but it would suck Razz
Post 06 Oct 2008, 13:47
View user's profile Send private message Visit poster's website Reply with quote
Borsuc



Joined: 29 Dec 2005
Posts: 2466
Location: Bucharest, Romania
Borsuc
MazeGen wrote:
I'm sure that I could rewrite my x86reference.xml using the language you suggested and it would be as half as big in size, but it would suck Razz
Why would it suck? Confused

it looks better and more clean IMO.

_________________
Previously known as The_Grey_Beast
Post 07 Oct 2008, 14:12
View user's profile Send private message Reply with quote
MazeGen



Joined: 06 Oct 2003
Posts: 975
Location: Czechoslovakia
MazeGen
I would force users to learn that language. And how would I parse it? How would others parse it?
Post 07 Oct 2008, 14:59
View user's profile Send private message Visit poster's website Reply with quote
S8AHQY



Joined: 08 Oct 2008
Posts: 6
S8AHQY
the question is more:
case or
no case?

case:

abcd
ABCD


no case:

abcdABCD12247|||+-/*586*;:!(-'à)@
Post 08 Oct 2008, 22:13
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
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 vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.