Talk:Logic error

Clarity

Example needs better explanation. I had to read it 3 or 4 times to understand what it was intended to do. (And I have 25 years programming experience! :-) --Uncle Ed 17:38, 16 November 2006 (UTC)[reply]

Responding to Yuser's msg on my talk page...
I would abstract out the essential part of the logic error, perhaps in a method rather than an entire program. --Uncle Ed 15:02, 17 November 2006 (UTC)[reply]

Logic vs. semantic error

Should it be mentioned that in some cases term "semantic error" means something very different than logic error? One phase in compilation is called "semantic analysis" (see [1]) and errors which occur in this phase are also called "semantic errors". —Preceding unsigned comment added by 81.175.179.250 (talk) 05:50, 12 May 2010 (UTC)[reply]

Concur. Writing x+1 where x-1 would be needed is a logic error, writing x+true is a semantic error (in strongly typed languages at least). —Ruud 14:29, 10 February 2012 (UTC)[reply]

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.