Reputation
478
Top tag
Next privilege 500 Rep.
Access review queues
Badges
3 13
Impact
~14k people reached

Sep
1
awarded  Popular Question
Dec
16
awarded  Yearling
Dec
5
awarded  Popular Question
Sep
19
awarded  Popular Question
Jun
13
awarded  Critic
Dec
16
awarded  Yearling
Nov
15
comment Worth it to Learn an Archaic Language?
Haha excellent point, the lucky to program in Java point. Up voted you just for that. I recently joined my first job as an ABAP programmer and now Java looks like heaven :D
Sep
13
asked How do software patches and updates work?
Jun
8
awarded  Constituent
Jun
8
awarded  Caucus
Mar
17
accepted Can NoSQL databases be used in e-commerce companies for order management?
Mar
16
comment Can NoSQL databases be used in e-commerce companies for order management?
I have rephrased my question to remove possible ambiguities.
Mar
16
revised Can NoSQL databases be used in e-commerce companies for order management?
Rephrased the question to make it more clear.
Mar
16
comment Can NoSQL databases be used in e-commerce companies for order management?
What I was thinking was eventual consistency is okay in case of non critical data, like say your tweets on Twitter. But, in case of a system like Amazon, where payments are involved, can they afford to have eventual consistency? If not, isn't it mandatory to have a relational ACID database? My question is motivated by the fact that Amazon does a lot of work in the are of NoSQL databases which may be useless in certain areas of their business like order management.
Mar
16
asked Can NoSQL databases be used in e-commerce companies for order management?
Feb
27
comment Why should identifiers not begin with a number?
@ruakh , larry, Pubby : I have elaborated my answer. Hope any confusion in my original answer has been cleared.
Feb
27
revised Why should identifiers not begin with a number?
elaborated the initial answer
Feb
16
comment Why should identifiers not begin with a number?
@ruakh ,I have worked with lexers as well (flex and my own FSM based lexer). I wasn't talking about the identification of tokens per se. When you allow for tokens which can start with a numeral, you complicate the language rules reg identifiers. Also checking for special cases will be a pain; I had mentioned this in my previous comments. Btw, I would be very interested in knowing about any languages that allow identifiers starting with numbers while still disallowing numbers as identifiers. Could you post some links to resources? Cheers! :)
Feb
15
comment Why should identifiers not begin with a number?
@ruakh , The var as identifier example is taken care of during the lexical analysis phase, since var being a keyword cannot be added to the symbol table. But the same cannot be used for detecting numbers from being used as identifiers. This is because numbers constitute valid tokens by themselves. Therefore the error is generated at the later phases (using the abstract syntax tree).
Feb
8
comment Why should identifiers not begin with a number?
... If there are single character identifiers which can start with a number, you'll not be able to tokenize them is certain cases. eg. in the JS code if (3=5) 3 is supposed to be an identifier which I'm using for the first time. There is no possible way to determine that unless I disallow single character identifiers altogether or disallow identifiers to start with numbers .