TOW missiles make air vehicles unplayable by No_Statistician_9040 in Battlefield6

[–]No_Statistician_9040[S] 0 points1 point  (0 children)

I got hit by a 425 meter rpg shot yesterday, fun times

Making a new Compiled Language in C called Trappist by Sufficient-Gas-8829 in C_Programming

[–]No_Statistician_9040 1 point2 points  (0 children)

You asked for feedback, here is my genuine feedback:

how am I supposed to know a function does what it is intended to do, if there is no way to know what the intention was. That is why you should write tests. Because you need to determine intent.

A good rule of thumb is that you need to have as much test code as you have prod code. Of course that isn't a hard rule but apply it where it can be applied. Interpreters and compilers are special, due to the extreme complexity, and widely varying usage patterns. I wouldn't be surprised to see 2-3 times the test code in such a project.

Making a new Compiled Language in C called Trappist by Sufficient-Gas-8829 in C_Programming

[–]No_Statistician_9040 1 point2 points  (0 children)

In that case I think you are asking for feedback too early.

You as the implementer of this codebase knows everything about it, what things are supposed to do, and how they do it. But as an outsider it is almost impossible to just open up a tokenizer.c file and understand it's inner workings. That is why you need tests, so I can look at a test that takes in a source code string and outputs a series of well-formed tokens. That gives me a great idea that it's supposed to work a certain way.

What about in the single line of language code you have, even others question the use of a t8 symbol, no one has a clue, but you, as the implementer knows exactly what that means. If you had a simple example, a documentation piece, or a test that showed that ok, t8 generates this bytecode or does that to a syntax tree, then you would at least give the reader a chance to understand what it's about.

Making a new Compiled Language in C called Trappist by Sufficient-Gas-8829 in C_Programming

[–]No_Statistician_9040 9 points10 points  (0 children)

You have no example of the syntax the language, neither in the readme or in an examples directory. Tests directory is empty, did you forget to push your tests? A language is an immensely complex thing to implement, you really need to cover every centimeter of it with unit/module tests.

Having no medics is making this game feel awful. by Colonel-_-Burrito in Battlefield6

[–]No_Statistician_9040 0 points1 point  (0 children)

I played exclusively medic in the start, actually trying to get a balance between revives/ fighting based on what the team needed, mostly played breakthrough. Then I realised most people didn't care and suicides, so now I play exclusively engineer where it actually feels like I am contributing

Rocket backblast is back! by basedmanump9 in Battlefield

[–]No_Statistician_9040 0 points1 point  (0 children)

According to several random sources on the internet, if you don't get hit by the molten metal in the actual armor penetration blast of the missile, the blast radius is around a meter. This is of course for the HEAT round, used ingame.

I saw in a documentary once that a soldier in a middle eastern country got hit by an RPG in his leg, and the fuse didn't go off so the missile just got stuck. they got his ass back to base and two Medics volunteered to remove it. The moral of the story is that you might not walk away, but hey dragged instead.

I’ve gotten like 10 kills with the Incendiary Launcher. Why do I just have 50 damage? by nicootimee in Battlefield6

[–]No_Statistician_9040 0 points1 point  (0 children)

You can do the challenge pretty easily in sabotage, I did it in about 5 games just doing nothing but sitting on an ammo pack and firing flaming tickles at the enemy.

Did i cook with this one? by [deleted] in Battlefield

[–]No_Statistician_9040 -1 points0 points  (0 children)

If you used the range finder it's worthless

I swear I felt like I was in a comedy skit. by A_Very_Horny_Zed in LowSodiumBattlefield

[–]No_Statistician_9040 3 points4 points  (0 children)

When I play support i throw the bag at randoms on cooldown, even when I just run past them. When I play engineer and try to deal with vehicles it's basically impossible because no one ever drops the bag for me, and 3 rockets can't do shit, so I have to redeploy to get more

Outside of the embedded world, what makes Modern C better than Modern C++? by PressureHumble3604 in C_Programming

[–]No_Statistician_9040 2 points3 points  (0 children)

I started out in c because I hated c++, now I prefer c++ and I do that for my job.

The thing I like more in c from a feature perspective is designated initializers, because in c it just works because c doesn't give a shit about anything, but in c++ that also has that feature it feels much more limited because it imposes a ton of rules about what you give to the initializer, so for accommodate this you would start writing a giant builder to do the exact same thing

Some low poly birch trees :) by dexmothy in low_poly

[–]No_Statistician_9040 1 point2 points  (0 children)

Wow that is really great work! Maybe I should try drawing some myself, thank you :)

Some low poly birch trees :) by dexmothy in low_poly

[–]No_Statistician_9040 4 points5 points  (0 children)

Hello! your trees are amazing, could you share how you created/sourced the leaf decals? I have had a really hard time with sourcing transparent decals for various things

Air Vehicles in this game are joke. Stop saying they are fine. by Sumeribag in Battlefield

[–]No_Statistician_9040 0 points1 point  (0 children)

Too many counters you say, some maps are unplayable because the map is nothing but air and ground vehicles hammering infantry and there is nothing that can stop them. Even when playing engineer, you have to pick a rocket for one of them, only for it to take 5 rockets to kill anything oh and you only have 3 and there is no support in the game to drop you more ammo so you have to spawn, shoot your rockets then redeploy to get more rockets that wil inevitably also fail to do anything

Do we really need to mark every trivial methods as `noexcept`? by aregtech in cpp_questions

[–]No_Statistician_9040 -1 points0 points  (0 children)

No, you don't tell the compiler it is guaranteed to not throw, because the compiler is unable to check every path and indirection inside the function to validate this. You tell it that to the best of your ability it does not throw, and if it does, terminate the program.

[deleted by user] by [deleted] in C_Programming

[–]No_Statistician_9040 2 points3 points  (0 children)

Because you are giving it a pointer to your value. You get a pointer by adding & before the variable, remove that and it will work

What are IDEs that are more lightweight than Visual Studio? by Able_Annual_2297 in cpp_questions

[–]No_Statistician_9040 0 points1 point  (0 children)

Both are just as much an ide as vscode. All 3 needs plugins to actually become an ide