General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
Anony Mousse
Computerphile
comments
Comments by "Anony Mousse" (@anon_y_mousse) on "Creating Your Own Programming Language - Computerphile" video.
RPN is such a cop out. When I was in high school I wrote a BASIC interpreter that had a similar interface to the C64 and I wrote it in C. You have to learn operator precedence to do math, so if you want to do any real programming, just learn it. Given how few operators there are, I don't want to hear any complaints about it being difficult. We should be stamping out laziness in programming, not making it worse.
3
@quintrankid8045 If you're qualifying the opposite side of that as laziness then perhaps we need to define the terms better for a proper conversation. Tedious tasks should naturally be pared from programming. Tasks that maintain clarity should not. To be more explicit, I frequently define arrays in C using Type a[] = { ... }; and to determine the length of the array, I have a macro that simply does: sizeof( a ) / sizeof( *a );
1
@talideon If a high school student can do it in C without a teacher's help, then surely a university professor can do it using Python, and surely in 20 minutes.
1
@olbluelips No, it's not. It enhances clarity and speeds up interpretation of the language as written. And as I've already said, if a high school student can do it on their own, surely a university professor could as well. Of course, this was pre-internet times, so maybe the internet has just rotted most people's brains.
1
@olbluelips I know none of you have ever bothered to even attempting writing a parser, but it doesn't take 100 to 200 lines of code to deal with operator precedence. Look into recursive descent, maybe find a copy of Jack Crenshaw's tutorial, either way, go learn from a better source than Computerphile. And seriously, if any of this is too much for you, then you're not watching this video to learn, you're doing it for entertainment.
1
@olbluelips That's okay, you'll get better and maybe next time you'll do better than the high school student did.
1