Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a21ee3e86fe07089

Jump to content

Talk:Logic error

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
Latest comment: 14 years ago by Ruud Koot in topic Logic vs. semantic error

Clarity

[edit]

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

[edit]

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 ) 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