Live data from Hacker News

Show HN: I'm 17 and wrote a guide on how to build your own programming language

easel.hackclub.com

31–40 of 73 posts

Re: Show HN: I'm 17 and wrote a guide on how to build your own programming language

#31
Very 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

#32
post #7

Earlier quoted context omitted.

This comes up every time someone posts like this, and it's not really very helpful.

What are HN's guidlines on young people mentioning their age in a Show HN like this post here? Should we take it graciously, admit they are young and encourage them for what they did or should we point out not to mention their age? IMO, if we take the age out, some of show HN's might not look very interesting. Same goes for a Show HN where someone mentions they are not a programmer and yet built a thing.

For whether age should be mentioned: Does there need to be a guideline? There are plenty of things that have no specific guideline, things which are fine to do or not do.

For whether there should be comments about age being mentioned: existing guidelines already denounce low value commenting especially at the root level.

Re: Show HN: I'm 17 and wrote a guide on how to build your own programming language

#33

Very 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.

Either an infinite for/while and if or unbounded recursion are necessary but you don't need both for Turing completeness.

[1]: https://en.wikipedia.org/wiki/Turing_completeness#Examples

Re: Show HN: I'm 17 and wrote a guide on how to build your own programming language

#34
post #20

Earlier quoted context omitted.

Then why don't you make it irrelevant in a civilised way by ignoring it...

Ignoring what someone puts on a stage would be uncivil.

smart answer, but I think you know what I meant: ignoring the thing about age and let her enjoy what she wrote more

Re: Show HN: I'm 17 and wrote a guide on how to build your own programming language

#35
post #28
post #7

Earlier quoted context omitted.

This comes up every time someone posts like this, and it's not really very helpful.

I guess the point is that saying you are a teenager in the title can seem like an unfair way to game your post ranking by garnering awe/sympathy. Lots of middle aged people build cool things too, but they can't pull the age card to boost their rank on the front page (at least, not until they are at the other extreme - like 80 or 90 years old)

Is it truly an unfair ranking boost if it's highlighting a substantially rare circumstance? I think many people prefer to discover rare things.

Re: Show HN: I'm 17 and wrote a guide on how to build your own programming language

#36

Very 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.

On the practical side, I can think of one Turing-complete language people actually use that doesn't have loops or variables: Erlang.

Re: Show HN: I'm 17 and wrote a guide on how to build your own programming language

#37

Very 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.

Either conditional looping (like the for loop in C) or recursion is enough for Turing completeness. Practically speaking, conditional looping generally requires mutable variable bindings, but I can imagine a SSA-based language where variables are unnecessary. With recursion, you have no need for mutability as the function call primitive gives you the variable rebinding you need.

Re: Show HN: I'm 17 and wrote a guide on how to build your own programming language

#38

Very 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. ;-)

Re: Show HN: I'm 17 and wrote a guide on how to build your own programming language

#40
post #29
post #14

Earlier quoted context omitted.

I think there have been fewer young technology founders because I think technology has become less and less accessible. There is so much more to sift through to get from an idea to a project or product than there was 10-20 years ago. I'm saying this as someone who is relatively young, so keep that in mind.

For some parts of the landscape like mobile app development, yes. Its hard to say if they are doing it with hidden intention, or if they sincerely believe enforcing their "best practices" on everyone yields greater good. Probably a bit of both. The part where you build a demo/prototype showcasing if an idea works, I believe it should be much easier than before as long as you postpone understanding/deciphering the imp…

> However, ensuring the correctness and actually deploying them for planet-scale [...]

I think this is specifically a big part of the problem. Not everything needs to be planet scale to be good. People didn't focus on being planet scale 10 years ago. 20 or so years Mark was worried about getting The Facebook available at one or two schools.

Worrying about getting things working for the world has made it way harder for us to get things working for indoviduals or small groups.

Post reply on HN