Show HN: I'm 17 and wrote a guide on how to build your own programming language
41–50 of 73 posts
Re: Show HN: I'm 17 and wrote a guide on how to build your own programming language
#42[stub for offtopicness]
Totally unrelated to the content of your post but labeling posts with "I'm [a teenager] and X" has always irked me. It either serves to undermine the content (older people immediately questioning the authority of a teenager) or people respond with meaningless praise ("Wow, great job! I was playing video games when I was your age!"). It also harkens back to the 2000s and 2010s when the industry was obsessed with "teen…
Re: Show HN: I'm 17 and wrote a guide on how to build your own programming language
#43Very cool. Someone correct me if I am wrong but I dont think this is accurate. >Minimally, should have the following features: variables, looping (think: for/while loops), conditional branching (think: if/else statements) and some form of recursion (think: functions). Why? These are what make a programming language Turing-complete.
Re: Show HN: I'm 17 and wrote a guide on how to build your own programming language
#44Very cool. Someone correct me if I am wrong but I dont think this is accurate. >Minimally, should have the following features: variables, looping (think: for/while loops), conditional branching (think: if/else statements) and some form of recursion (think: functions). Why? These are what make a programming language Turing-complete.
In fact, NAND gates are enough to build a Turing complete machine. ;-)
17 78 19 23 29 77 95 77 1 11 13 15 1 55
-- -- -- -- -- -- -- -- -- -- -- -- -- --
91 85 51 38 33 29 23 19 17 13 11 2 7 1
That computes prime numbers.Iterate through the list (start with n = 2) and iterate through until the fraction is an integer. Repeat with the new number.
For this, after 2, the next value is 15 (when it gets to 15/2). Then it will be 825 (15 * 55/1). Then it will be 725 (825 * 29 / 33) and so on. At some point, n will be 2^x where the sequence of when the number is just a power of 2 will be: 2^2, 2^3, 2^5, 2^7, 2^11 and so on... the exponents of 2 are the prime sequence.
2, 15, 825, 725, 1925, 2275, 425, 390, 330, 290, 770, 910, 170, 156, 132, 116, 308, 364, 68, 4, 30 ...
https://news.ycombinator.com/item?id=35966537
https://softwareengineering.stackexchange.com/questions/2201...
https://web.archive.org/web/20150923211455/http://www.cs.vu....
Re: Show HN: I'm 17 and wrote a guide on how to build your own programming language
#45Earlier quoted context omitted.
Totally unrelated to the content of your post but labeling posts with "I'm [a teenager] and X" has always irked me. It either serves to undermine the content (older people immediately questioning the authority of a teenager) or people respond with meaningless praise ("Wow, great job! I was playing video games when I was your age!"). It also harkens back to the 2000s and 2010s when the industry was obsessed with "teen…
This comes up every time someone posts like this, and it's not really very helpful.
Re: Show HN: I'm 17 and wrote a guide on how to build your own programming language
#46Earlier quoted context omitted.
Totally unrelated to the content of your post but labeling posts with "I'm [a teenager] and X" has always irked me. It either serves to undermine the content (older people immediately questioning the authority of a teenager) or people respond with meaningless praise ("Wow, great job! I was playing video games when I was your age!"). It also harkens back to the 2000s and 2010s when the industry was obsessed with "teen…
This comes up every time someone posts like this, and it's not really very helpful.
When I was 17 I was working on a programming language, and I promised myself I would find the time to finish it during college. But during college I didn't have the time.
I have two friends who founded a startup at 16, one of which was quite succesful. I can think of two seperate friends who started a Minecraft hostar at 16, both of which makes up the majority of minecraft servers hosted in the Netherlands currently and one of them is now a generic hostar with his own datacenter.
And this isn't a problem in and on itself, but phrasing it like this discourages older people to work on pet projects. I started working as a Cyber Security TA at a private IT school and older students keep telling me "I'll never be as good as you because I didn't start so young" and it's a harmful mindset. Because it only took me a few years to learn what I know. Stating your age everywhere as a young developer reinforces this mindset in people.
If you want to see a teen/student do cool stuff. I suggest checking Adam McDaniel on GitHub. That dude really is impressive.
Re: Show HN: I'm 17 and wrote a guide on how to build your own programming language
#47[stub for offtopicness]
Totally unrelated to the content of your post but labeling posts with "I'm [a teenager] and X" has always irked me. It either serves to undermine the content (older people immediately questioning the authority of a teenager) or people respond with meaningless praise ("Wow, great job! I was playing video games when I was your age!"). It also harkens back to the 2000s and 2010s when the industry was obsessed with "teen…
Re: Show HN: I'm 17 and wrote a guide on how to build your own programming language
#48Very cool. Someone correct me if I am wrong but I dont think this is accurate. >Minimally, should have the following features: variables, looping (think: for/while loops), conditional branching (think: if/else statements) and some form of recursion (think: functions). Why? These are what make a programming language Turing-complete.
Trivially, you can get Turing completeness out of a Turing machine, which does not have these features, so no, it is not accurate to say they're absolutely necessary. There's a practical side to this, though. What sort of syntactic conveniences should you provide such that anyone might actually want to use your language? That's probably what it should say. The mov instruction is Turing complete, but you likely want s…
Re: Show HN: I'm 17 and wrote a guide on how to build your own programming language
#49Very cool. Someone correct me if I am wrong but I dont think this is accurate. >Minimally, should have the following features: variables, looping (think: for/while loops), conditional branching (think: if/else statements) and some form of recursion (think: functions). Why? These are what make a programming language Turing-complete.
Trivially, you can get Turing completeness out of a Turing machine, which does not have these features, so no, it is not accurate to say they're absolutely necessary. There's a practical side to this, though. What sort of syntactic conveniences should you provide such that anyone might actually want to use your language? That's probably what it should say. The mov instruction is Turing complete, but you likely want s…
Re: Show HN: I'm 17 and wrote a guide on how to build your own programming language
#50[stub for offtopicness]
Totally unrelated to the content of your post but labeling posts with "I'm [a teenager] and X" has always irked me. It either serves to undermine the content (older people immediately questioning the authority of a teenager) or people respond with meaningless praise ("Wow, great job! I was playing video games when I was your age!"). It also harkens back to the 2000s and 2010s when the industry was obsessed with "teen…