|
I've heard that there are some things one cannot do as a computer programmer, but I don't know what they are. One thing that occurred to me recently was: wouldn't it be nice to have a class that could make a copy of the source of the program it runs, ...
Started by Ziggy on
, 24 posts
by 24 people.
Answer Snippets (Read the full thread at stackoverflow):
That's how....
With XML technology, the use of code generators canSure it is.
That has many opportunities to write code that generates further code, the way that a language like possible to write code generators.
|
|
Pre-dating the internet myself, I'm wondering how much of a reliance is placed on the Internet as a resource to find algorithms, code examples, ask questions, etc...
If the internet was not available, would you have the skills, knowledge and ability to...
Answer Snippets (Read the full thread at stackoverflow):
People seemed to manage writing code in Fortran, Basic and C well before the Internet due to being unable....
Of the Internet is always useful, I still refer to books, peers' code samples and just conversation, as is written material.
|
|
Hi guys,
I want to change this code into assembly code, working on mac, how to do this?
while (a --) { *pDest ++ += *pSrc ++; }
Started by Yuhui on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
The specific....
Let Touch), and by using SSE on Intel.
No, your problem has nothing to do with this code.
I am working on a program that uses this code in a thread the calculation is too heavy for iPhone.
It's intel mac, and on iPhone.
|
Ask your Facebook Friends
|
The drumbeat of writing terse CSS code has been beaten into my head for years. For example:
Do this: .foo,.bar{ color:#f00; }
Not this: .foo{ color:#f00; } .bar{ color:#f00; }
With GZIP compression isn't it irrelevant how I write the above CSS? Since ...
Started by Christopher Altman on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Otherwise, I'd write the CSS in a logical fashion so.
If that makes sense, go for it.
Remember: Source code is for humans to read, and only incidentally for machines to run.
As it will be marginally smaller.
|
|
I'm working on moving as much logic out of a custom control as possible so that it can be unit tested to reduce manual testing burden. I'm having trouble with situations where a method under test produces a complex result; writing a test case that calculates...
Started by OwenP on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
If ....
For example, I often write tests with positive input, negative input, and zero input to 0, etc.).
You generally want to write one test for each "state" of the code.
In production code, but essential to good unit tests.
|
|
I am asking this question because I know there are a lot of well-read CS types on here who can give a clear answer.
I am wondering if such an AI exists (or is being researched/developed) that it writes programs by generating and compiling code all on ...
Started by tkotitan on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
That this is not a complete survey of automatic programming techniques ( code generation (CG) from Model.
|
|
I've come up with what I believe are realistic problems to work on during an interview. Frequently I have candidates respond that they cannot code under the pressure of me watching them code (via Live Meeting or Locally). Is this a valid excuse for inability...
Started by Jim McKeeth on
, 35 posts
by 35 people.
Answer Snippets (Read the full thread at stackoverflow):
That's just to write code under observation can be due to the critics he'is be getting from you on the very first line....
That they will be able to write some code even if they got two minutes of sleep the night before though.
|
|
Many people, Joel included suggest that a person who wants a job as a developer is asked to write code right in the interview.
I think it is perfectly reasonable. If employed he will have to write lots of code and therefore the interviewer would want ...
Started by sharptooth on
, 18 posts
by 18 people.
Answer Snippets (Read the full thread at stackoverflow):
Many developers complain today if they have to write code on paper, as they are really comfortable by heart, but rely....
If the code is non-trivial, you.
Other than that, no.
To write code, since you can't evaluate it.
|
|
Is there any problem using the '@' while writing the code? and what is the mechanism behind it?
Started by Ashraf Sufian on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
EDIT: Since a commenter asked debugging the code rather difficult if you have no errors to work with, only use it on code you know need to know about, but it slows....
Obvious problem is that it makes your code more difficult to debug.
|
|
Hello
I have whole page HTML in my database and i want write that html code in to an aspx page. Means it replace old html code from new one.
Is there any other way to write html code in to aspx page.
Started by Pankaj Mishra on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Be sure to map the handler with a route in web.config
CODE: PageWriter HttpHanlder using the Render event of the page and write....
Could create an .ashx HttpHandler and do a Response.Write() to write the HTML back to the response stream.
|