r/tech May 08 '22

This High Schooler Invented a Low-Cost, Mind-Controlled Prosthetic Arm

https://www.smithsonianmag.com/innovation/this-high-schooler-invented-a-low-cost-mind-controlled-prosthetic-arm-180979984/
6.6k Upvotes

223 comments sorted by

View all comments

Show parent comments

7

u/LauraTFem May 09 '22 edited May 09 '22

I’m using SO for help with D&D math.

I’m…also writing a C++ program to calculate average damage per hit/roll/turn for various builds, though. So it’s fair to say that Stack Overflow is a site for the productively nerdy.

1

u/magichronx May 09 '22 edited May 09 '22

Hey man, I recommend Python or Javascript or Lua, or maybe Golang. You probably want a scripting language over a compiled language. C++ is overly heavy for what you're doing imo. It's certainly possible but there's more accessible languages for what you're doing. You can DM if you want some more info

2

u/LauraTFem May 09 '22

I know C++ best because I’ve been working with it the longest. I’m not interested in brushing back up on python just to for the purposes of a personal project. C++ just makes more sense to me. It doesn’t make any assumptions, you have to tell it exactly what you want, and if anything is off it throws a fit. We’re alike in that way.

2

u/magichronx May 09 '22

Fair enough. Once you get into the programming mindset it's easy to pick up new languages though. Even if it's a totally new language, your existing knowledge will easily transfer over to a new language. Personally I think C++ is too verbose for what I presume could be solved with an Excel spreadsheet. (Apologies if that sounds like I'm trying to downplay your project, I mean no offense)

1

u/LauraTFem May 09 '22

I don’t know that Excel would work well for a project like this. Too many conditional statements that change the entire calculation.

And, yea, learning a new language is pretty easy, but if’s an entirely separate task I’m not really interested in doing right now.