Skip to content
HN On Hacker News ↗

Copper

▲ 204 points • 130 comments • by bogdanoff_2 • 6d ago • HN discussion ↗

Pangram verdict · v3.3

We believe that this entire text is human-written.

0 %

AI likelihood · overall

Human
100% human-written 0% AI-generated
SEGMENTS · HUMAN 1 of 1
SEGMENTS · AI 0 of 1
WORD COUNT 125
PEAK AI % 0% · §1
Analyzed
Nov 1
backend: pangram/v3.3
Segments scanned
1 windows
avg 125 words each
Distribution
100 / 0%
human / AI fraction
Verdict
Human
Pangram v3.3

Article text · 125 words · 1 segments analyzed

Human AI-generated
§1 Human · 0%

Copper is a programming language that I use as a replacement to C. The main differences are:Minimalism is the most important feature, the language is intended to be simple so that someone with limited brain power such as me could fully understand it. The syntax is simple, almost everything is explicit and most constructs are common.A simple example beyond the pointless "hello world".class Point attr x: Int attr y: Int def init(x: Int, y: Int) self.x = x self.y = y end def translate(dx: Int, dy: Int) self.x += dx self.y += dy end end func main: Int var pt: Point! pt.init(3, 5) pt.translate(1, 0) println("x = \a, y = \a", pt.x, pt.y) return 0 end import "std" Copper is released under the BSD license.