this post was submitted on 21 Nov 2023
76 points (87.3% liked)
Programmer Humor
32380 readers
1179 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Sum asterisk or something? 🙃
sigma star.
if you haven't heard about theory of computation, let me define some keywords:
now, sigma has powers. Σ² is set of all strings of length 2. e.g.: {aa, ab, bb, ...}. you can generalise this to Σ^n.
Σ* is union of all powers of sigma. i.e., Σ¹ + Σ² + ...
so, a language is basically a subset of Σ*.
as for why theory of computation even exists, you basically try to define what a computer can/cannot do.
and you try to mathematically define a computer. then you try to define what a language is(in case of programming , you need it to form languages and compilers). hence the need for this.