5,935 reputation
1128
bio website
location Manor, TX
age 49
visits member for 3 years, 4 months
seen 19 hours ago

Professional software developer since 1990. Primary development experience is high-level application logic using C and C++ on a variety of platforms, mostly Unix or linux. Some professional experience with Java and various flavors of SQL and RDBM systems.


Feb
19
answered “All software has an expiration date by which time it must be rewritten from scratch.”
Feb
2
comment Do I need to understand pointers to use C++?
@RandallSchulz: Indirection is a fundamental concept in programming, though, whether it's accomplished through array indexes or offsets from an address or some other means; there are indirect addressing modes at the assembler level. C and C++ are unique in that they provide distinct pointer types, but pointer operations are pretty universal.
Jan
16
comment Why are there so few comments in C/C++ code?
The first law of inline documentation is "don't document the obvious"; the corollary to that law is "write obvious code". Of course, "obvious" is in the eye of the beholder; I've written code that I thought was perfectly transparent, yet left everyone who read it scratching their heads.
Jan
13
answered Dynamic initialization, how does it work?
Jan
13
comment Dynamic initialization, how does it work?
@RizwanSA: The question was tagged "C", so it's assumed the question was about C. If it's really about C++ and Java, it needs to be tagged with those languages. In C++, b has auto storage, meaning it will be allocated in exactly the same manner as a (whether that's on a hardware stack or not is up to the implementation). In Java, both objects are primitive types, so they aren't allocated from the heap.
Jan
8
comment Why do C++ and Java both use the notion of “reference” but not in the same sense?
@TobiasBrandt: Java uses pointers all over the place; heap objects are referenced through something that for all practical purposes is a pointer. It's just that Java doesn't expose any operations on pointer types to the programmer.
Dec
27
answered Is it a good idea to const-qualify the fields of structure in C?
Dec
21
awarded  Yearling
Dec
15
awarded  Necromancer
Dec
11
answered Usage of magic strings/numbers
Nov
11
answered Why does the instruction “do” require a “while”?
Nov
11
answered The keyword const and the linker file
Nov
9
awarded  Nice Answer
Nov
7
awarded  c
Nov
6
answered Why do we use to talk about addresses and memory of variable in C?
Oct
24
comment What are the tools required to build a compiler?
The only tool that's required for building a compiler is ... another compiler. Tools that make writing a compiler easier are lexer/parser generators (lex/yacc, flex/bison, antlr).
Oct
21
revised Can anyone explain representation of float in memory?
deleted 8 characters in body
Oct
21
comment Can anyone explain representation of float in memory?
@BryanOakley: see edit.
Oct
21
awarded  Nice Answer
Oct
21
revised Can anyone explain representation of float in memory?
added 118 characters in body