479 reputation
29
bio website
location
age 23
visits member for 1 year, 5 months
seen Apr 21 at 17:47
stats profile views 31

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?
Jul
13
comment Being relevant and hireable outside of my domain.
@JarrodRoberson: Hmm, I don't make the rules here, so you may close the question. But in my opinion, I can't think of a better place for this question. The posting rules on this site are too restrictive and should be eased a bit in my humble opinion. Besides too many people here tend to be more interested in the policies about a problem and less about the solution itself. Reminds me of the legal system.
Jul
13
asked Being relevant and hireable outside of my domain.
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 .
Feb
8
comment Why should identifiers not begin with a number?
@LarryGritz : What about single character identifiers starting with a number? Are they considered to be illegal? If so we'll have to complicate and redefine the language rules which state that an identifier can consist of one or more characters. Also, if you provision for identifiers which could start with a numeral, you'll have to specifically check for special cases involving all numbers and alphabet suffixes. In cases of languages like JS or Python where it's not necessary to declare a variable before using it, it'll be even impossible to tokenize identifiers consisting all numerals.
Feb
6
awarded  Nice Answer
Feb
5
comment Why should identifiers not begin with a number?
@Pubby : By ambiguity I meant that the compiler would not know in what context I'm using the variable name (even using lexical precedence). For eg, consider this code: int 3,a; 3=5; a=3; In the statement a=3, is 3 interpreted as an identifier or as a number? This causes ambiguity. Hope it's clear.