AlgorithMage Ω(n) Θ(n×p)
Switching to C# and curious if there's anything I could improve on in this very basic math script.
I'll look into all of your suggestions, and fair point for #1. Is there anything else you would add before I move on from this thread?
20 replies
Switching to C# and curious if there's anything I could improve on in this very basic math script.
do you want to keep the code simple? do you have any other constaint?...My apologies, I really did provide horrific context didn't I. The only goal of this exact "project" is to explore the different areas of C# that Python doesn't offer and felt that some more experienced programmers than myself would shed some light into what parts of the language they'd recommend. I don't intend to make use of anything I'm doing beyond pure enjoyment for what it's worth. My only prior programming experience is Python and some very basic C in university, but I am more interested in learning as a personal interest but will be working with lots of math and problems involving things like Bayes algorithm and the explore/exploit dilemma and other similar problems. To be specific on 3 points I'd choose: 1) What ways could the way I am writing script right now come to be problematic in the future? 2) How would someone in a more experienced situation approach the methods and classes and why would they do it that way? 3) What resources would be better than the Microsoft C# docs for reference if any?
20 replies
Switching to C# and curious if there's anything I could improve on in this very basic math script.
Thanks for your time I appreciate it. It will take a bit for me to consider everything everybody has said, it's difficult to chat between work and home life.
20 replies
Switching to C# and curious if there's anything I could improve on in this very basic math script.
Thanks for your reply, I think what you've provided is what I was looking for, a direction to start with to improve my usage of C# and the various paradigms/design patterns. I have 3 years of experience writing in Python and have an undergrad in CS. In general I'd say I'm a novice/beginner nearing intermediate programmer.
For the specific script in question I was hoping for general critique which you've provided nicely.
20 replies