- Joined
- Apr 3, 2022
Im starting to learn C# so I downloaded Microsoft Visual Studio to be my text editor. In most of the C# tutorial videos they have a different starting template than I do. So I'm wondering which template is better?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
for you, the older one. the new templates are starting to abstract parts of the code into other files to avoid boilerplate, but as a learner you want to understand those concepts first by practicing with them.Im starting to learn C# so I downloaded Microsoft Visual Studio to be my text editor. In most of the C# tutorial videos they have a different starting template than I do. So I'm wondering which template is better?View attachment 3421738
Thanks dudefor you, the older one. the new templates are starting to abstract parts of the code into other files to avoid boilerplate, but as a learner you want to understand those concepts first by practicing with them.
I can't believe they finally decided to revisit this nonsense boilerplate inherited from the Java tradition, but went way too far and eliminated your control over the entry-point function altogether (if you choose to use this feature). I mean, I see what they're going for ("write C# like it's a script!") but it would have been nice to finally have a C-like main function at top level.the new templates are starting to abstract parts of the code into other files to avoid boilerplate
I make my living with PHP so I'm a bit biased, but yes, it's fine. Trendy languages and frameworks come and go while PHP keeps on powering a good chunk of the Internet despite its uncoolness.Is PHP a bad language to write a frontend to another website? The curl extension can kind of be slow in some cases but I decided to write in it because integrating it into a webserver and testing was easier
PHP is fine for small web apps. If you're not building anything crazy, the drawbacks of PHP likely won't affect you at all.Is PHP a bad language to write a frontend to another website? The curl extension can kind of be slow in some cases but I decided to write in it because integrating it into a webserver and testing was easier
YesIs PHP a bad language
Old for sure.Im starting to learn C# so I downloaded Microsoft Visual Studio to be my text editor. In most of the C# tutorial videos they have a different starting template than I do. So I'm wondering which template is better?
C is still the best language for embedded programming and teaches the fundamentals that permeate to most modern programming languages.From my self study there is really no reason to teach in C
God help your soul if you're using the same books tailored to Indians whose only fates in computer science is fighting to make a living on Fiverr while living in a 12-person shack in Mumbai then, later, use a connections at a US-basked companu (another Indian who climbed the managerial ladder) to beat you out of a job.Java and python are just as easy, but from what ive found its mostly due to the book makers catering to indias students.
One of the biggest problems ive seen as a computer forensics student is how outdated the course material is, like in my C class were expected to utilize out as fuck dated crap, like the graphics.h. From my self study there is really no reason to teach in C, when C++ is just as relevant and more useable. Java and python are just as easy, but from what ive found its mostly due to the book makers catering to indias students.
yep, the MANDATORY book we use, uses it. But i did get it to work in VS code lolWait. wait. wait. Graphics.h? Like borland turbo C for dos graphics.h?
yep, the MANDATORY book we use, uses it. But i did get it to work in VS code lol
Theres a few tutorials on YT, you have to set up a few things in C/C++ Ui configurations from the command palette and add in command arguments. Its a massive pain in the ass. I saved the properties and task jsons for future use, makes it easierDude, that's not computer forensics, that's computer archeology.
Seriously though - how did you get it running through VS code. The compiler is 16 bit real mode if I remember right.
yep, the MANDATORY book we use, uses it. But i did get it to work in VS code lol
What do you want to code?I'm looking to not be a waggie anymore and get a job programing someday any advice on where to start? Starting from pretty much zero dont really know where to start language wise or what to aim for to get a job without a degree.
That's the secret, it's wageslavery all the way down. It's just a question of whether sitting on your ass writing code is better than lugging shit around a warehouse all day (YES).Also, lol at thinking programmers aren't wagies too.
You need to set aside a year or more to build your background. Focus on learning basic programming, then learn CS fundamentals. Data structures (lists, trees, sets, maps, graphs, hash tables etc) and algorithms (sorts, searches, seminumerical algorithms, etc) are fundamental and you will be tested on them by most companies.I'm looking to not be a waggie anymore and get a job programing someday any advice on where to start? Starting from pretty much zero dont really know where to start language wise or what to aim for to get a job without a degree.