Reputation
3,412
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
5 15
Newest
 Nice Answer
Impact
~222k people reached

  • 0 posts edited
  • 0 helpful flags
  • 32 votes cast
2d
awarded  Nice Answer
Feb
11
comment Why did BASIC use line numbers?
It's called "making lemonade". Since line numbers were the sensible way to edit, they were also make elements of the language. Same as in Fortran, except the line numbers were optional in Fortran.
Feb
10
answered Why did BASIC use line numbers?
Feb
10
comment Why did BASIC use line numbers?
Screen? What screen? In my first Basic, the "screen" was a roll of paper.
Aug
29
comment How to *detect* if open source software is used in a commercial product?
This might give you an idea, but someone who wanted to be sneaky could trivially alter the source so this wouldn't work; and someone who forgot to be sneaky could trivially produce other programs, with source, which would provide false positives.
Aug
22
comment Checking array size in C/C++ to avoid segmentation faults
The op's request is to help prevent trashing arrays allocated by C. The first step is to avoid bad practices such as losing track of what part of the program "owns" the memory in question. Writing code that uses an anonymous chunk of memory it is passed is laying landmines.
Aug
20
comment Checking array size in C/C++ to avoid segmentation faults
If you are in the habit of allocating chunks of memory then using parts of it in ad hoc ways that lose contact with the original pointer, you need better methodology.
Aug
19
answered Checking array size in C/C++ to avoid segmentation faults
Aug
19
awarded  Nice Answer
Aug
9
awarded  Yearling
May
24
answered How do I deal with the following technical issue?
May
22
answered How to determine if set of ordered coordinates form a simple curve?
May
21
answered Is it worth to rewrite the logic that already done client side on the server side or vice versa?
May
7
answered How to work on a program from any computer that is connected to the internet?
May
1
answered How to add a property to an object you can't change?
Apr
6
awarded  Nice Answer
Mar
15
answered Do bare computer systems (without OS installed) use (executable) files?
Mar
11
comment Enums in java switch-statements and completeness
Likewise, because classes are compiled independently, the enum class can be extended and recompiled long after the switch was compiled, which could create an undefined result if there were no default clause in the switch.
Mar
11
comment Enums in java switch-statements and completeness
enums can not only be null, but switch(enum) will get a null pointer exception if it is.
Feb
11
answered Are websites hosted in distant servers slower?