• Breaking News

    Tuesday, February 16, 2021

    A learn programming pro tip: If you want to get into the world of C# and complete .NET ecosystem, there are Microsoft's official tutorials which explains everything in plain English. learn programming

    A learn programming pro tip: If you want to get into the world of C# and complete .NET ecosystem, there are Microsoft's official tutorials which explains everything in plain English. learn programming


    A learn programming pro tip: If you want to get into the world of C# and complete .NET ecosystem, there are Microsoft's official tutorials which explains everything in plain English.

    Posted: 15 Feb 2021 04:09 AM PST

    If you want to learn:

    You may also supplement them with official video tutorials:

    Advanced Topics

    If you want to focus on:

    submitted by /u/mushi-master97
    [link] [comments]

    Finally starting a Software Engineer job next week after studying 3+ years. I think the concepts learned in tutorials are taught in the wrong order. Here is what I recommend.

    Posted: 15 Feb 2021 11:07 AM PST

    I'll be speaking to web development specifically, and packing the information as densely as possible. Even though this starts with a focus on the back-end, I'd recommend this path for anyone looking to be a front-end, back-end, or full stack developer as you'll need to understand these concepts to be competent in any role.


    How to use this guide: Pick a project, build it as you go along. If you find that you are STRUGGLING with a concept, adopt a smaller project to focus on just that one thing. When that smaller project is done, add it to your github and get back to your main project. When you come across a specific problem that you don't understand, look it up. Programming is just learning how to deal with 10,000 different problems in 10,000 different contexts.


    0) Pick a project, or a problem you want to solve with code. This should be ambitious beyond what you can possibly envision yourself achieving, and building it one step at a time will be how you learn everything else.

    • Think about the absolute bare minimum functionality it needs. If you're making the next Facebook, it needs to log in, post to your wall, and change user information. That's it. You don't need to add albums and photo uploads and a messenger app to have a full, complete social networking application. You can build it out as you need, but focus on getting the CORE functionality done.

    • "But but but but but I can't think of anything" – Ok you're going to build the next Facebook from the ground up. Yes, it should be THAT ambitious, even if you've never wrote a single line of code before. We're going to start big.

    • Every concept you learn from step 0 forward, should answer a question of "how can I get my application to do what I want?" or "how can I implement this idea into my app?"

    1) SQL - Structured Query Language

    • Why should you learn this at this stage? - Learn this first because it's a fundamental technology, it's used in every industry, most tutorials use a No-SQL database because there's no set up involved (and No-SQL was trendy three years ago but not anymore) so you likely won't see this until you seek it out. It's also very difficult to imagine what kind of web apps you can build if you don't have any idea how to store data or structure a DB. Also, it's pretty easy and it's good to get a quick win up front.

    • When should I move on to the next topic? – When you can do basic joins, with statements, unions, and understand the different data types.

    2) HTTP/ how the internet works

    • Why should you learn this at this stage? – Now you know how to store data but don't understand how the internet works. Building out a mental framework of how computers talk to each other is going to pay dividends going forward, and getting the basics is relatively simple.

    • When should I move on to the next topic? – When you can describe the HTTP lifecycle and the basic functions of a web server / browser. You know the difference between a GET, POST, PUT, and DELETE request, and the pieces of an HTTP request (headers, body, etc).

    3) Back end language – Whether C#, JavaScript, or Ruby (or others)

    • Why should you learn this at this stage? – Because it's going to be fundamental to getting data out of your database and into an application. It will be the layer that pulls everything together.

    • When should I move on to the next topic? – When you can use the language to assign variables, perform basic math, understand primitive data types, can create functions, understand comparison, and can create objects. It's very easy to get stuck in here, so leave before you think you're ready. You're not saying goodbye to this for the rest of this guide, or really the rest of your career, and you can learn as you go. Note that this is a major hurdle that will take a lot of time and effort to get through.

    4) Git or another version control system

    • Why should you learn this at this stage? – It is a tool that helps you experiment with code and features worry-free. It's relatively easy and will help you to be braver and bolder in experimenting with your code in the next steps. Plus it's essential and you need to know it no matter where you go. Plus, you can commit your code as you learn, and recruiters love lots of commits on your github.

    • When should I move on to the next topic? – When you are comfortable with the .gitignore file, git add, branching, and merging branches

    5) APIs – getting data out of a DB and into your code

    • Why should you learn this at this stage? - You have SQL, HTTP, and your back end language established as prerequisites, and a front-end is kind of useless if you can't connect it to a DB.

    • When should I move on to the next topic? – When you are comfortable creating a REST API in your backend language that can at least CRUD (create, read, update, delete) from a single table with a tool like POSTMAN

    6) The front end – HTML, JS, CSS

    • Why should you learn this at this stage? – You can store, retrieve, update, and delete the data you need for your application, now you need to build an interface for users to interact with it

    • When should I move onto the next stage? – When you can build a well-structured HTML page to display the content of the database you're retrieving from your API with JavaScript (hint: it's the fetch() API)

    7) The front end pt2 – Frameworks (React, Vue, Angular, or others)

    • Why should I learn this at this stage? – You need to understand basic front end technologies before you can start using a framework. Frameworks abstract away a lot of the annoying bits (you were probably hard coding which elements went in your HTML page but a framework can do that for you) and let you develop bigger, better things faster.

    • When should I move onto the next stage? – When your project from step 0 is done.

    8) Design Patterns in whatever back-end/ framework combo you chose

    • Why should I learn this at this stage? – It's time to hit the books and learn from the pros. You have a fantastic mental framework of how to do certain things but so far you've been doing a really bad job. There are all kinds of patterns and designs that the industry has been using for years that make mincemeat of the stuff that's been keeping you up at night, now that you understand the difficulties of developing software you'll be able to appreciate these patterns and have a lot of "ooooooooohhhh" moments.

    • When should I move onto the next topic? - You don't, this is your life now.

    9) Pick another project, even more ambitious, and repeat until you have a job.


    Hopefully that helps. I know that diving into HTML, CSS, and JS is all the rage but I think this path is much more project-focused and helps knowledge build on itself in a much more logical way.

    submitted by /u/rook218
    [link] [comments]

    Do pro programmers often Google for help?

    Posted: 15 Feb 2021 03:29 AM PST

    I have been learning coding for almost 6 months now, and every time I forget something or need help with the assignment, I try not to Google things and ask others. I get angry with myself that I forgot something, and I always think I should have known it since I covered it in class. I don't have background in CS, and I don't yet realize the importance of asking for help and collaborating on code. So for me the idea of looking things up online is very new. But I am trying to work on this.

    I often see programmers in forums mention that Google is their best friend, and even in professional environments programmers often Google stuff and ask for help. Is this really the case? Is this practice ok in the coding world, or is this somehow seen as 'cheating' or lack of knowledge?

    submitted by /u/Gatsby_DiCaprio
    [link] [comments]

    I want to learn how to code

    Posted: 15 Feb 2021 09:06 PM PST

    Hello, people of Reddit.

    I've always wanted to learn how to code. I really don't know much and it's just a bit overwhelming in the sense that I don't know really where to start. So, I'm seeking direction to any and all resources, guides, and material to learn how to code. I've always been interested in cybersecurity, though my knowledge of other programming fields is limited. Some specific questions I have are, what language should I start with if I'm interested in cybersecurity? Should I learn how to use Linux? What are some skills that are important for coding, but aren't necessarily just for coding? Where should I start? What is something you wished you had known before you had started coding/programming? Sorry if I didn't structure this well or if it's too vague of a post. If you have any questions I would be happy to clarify what I can in the comments.

    Any and all help is appreciated, thank you for your time

    submitted by /u/G00SE_kzw
    [link] [comments]

    How to Google effectively?

    Posted: 15 Feb 2021 06:19 PM PST

    I see on here all the time about how a programmer needs to become fluent in using Google and learn how to Google the right things, but I've never seen anything on how to Google the right things. Can anyone offer any insight as to how one can use Google in the most effective way for programming issues?

    submitted by /u/justanotherperson297
    [link] [comments]

    how to start a project?

    Posted: 15 Feb 2021 02:56 PM PST

    this is probably the most common question ever, I've seen so many recommendations on WHAT projects a beginner should do (snake, tic tac toe, etc.)... but like, HOW?

    I'm currently familiar with the basics of C++ (types, while and for loops, function basics, arrays basics), but I don't get HOW people take what they know and make a project out of this basic information. Do you watch tutorials to understand how to get started & google stuff you don't know, or what?

    I'm thinking of making a Snake game for fun, and creating the layout of the game makes sense to me, but controlling the snake with our keyboard and having the snake follow our commands seems confusing to me (no clue how to do that). I'm sorry if I sound really dumb/clueless, I've been coding for a little more than a month and I really want to start getting my hands dirty w projects so I can have projects on my resume for internships.

    Thanks :).

    submitted by /u/bubble112233
    [link] [comments]

    Learning code so I can become a self taught developer, are bootcamps still a way to go?

    Posted: 15 Feb 2021 04:44 PM PST

    Hello.! I'm 21 years old, and have no college education. I cannot afford it at the moment, and also not willing to take on the debt. I have been slowly learning coding languages, using an app called Mimo. Unfortunately, I can become very lazy at times. As of 2021, are bootcamps still worth it? To keep me on track and help me understand what I'm even doing? I enjoy coding- but my goal is to become a PROGRAMMER... as we know it's a completely different skill set. I also know that it's absolutely possible to become a programmer without a cs degree or college education, but does that vary from state to state? I bet it's way easier to do that in California, but I'm from Michigan. Thank you for taking the time to read this, any advice is appreciated.

    submitted by /u/Most_Cheesecake_5653
    [link] [comments]

    Recommendations for business oriented courses

    Posted: 15 Feb 2021 08:26 PM PST

    I'm looking for a short course that's more business people oriented / less technical, so I guess not programming specific and more general tech / computer science.

    A bit more context: I work as a management consultant and often have to work with tech people and come across jargons like tech stack, architecture, scrum, product owner etc. I've googled each word I don't know but feel like I want to learn from a more structured way so I have some basic knowledge when talking to a tech person.

    Ive tried looking on coursea etc but haven't found anything that relevant (or at least hard to tell from the surface).

    submitted by /u/k0rgr0
    [link] [comments]

    Is C# still being widely used in 2021?

    Posted: 15 Feb 2021 11:13 PM PST

    I've been coding in Python and C++ for 2+ years now and with the data science boom in the industry, all I've seen for a past couple of years is "Python".

    To people who have used and have been coding in C#, where is it useful?

    I've heard C# can be useful in backend web-dev stuff, but so are other frameworks in Python.

    submitted by /u/ZER_0_NE
    [link] [comments]

    I really could use some advice...

    Posted: 15 Feb 2021 10:56 PM PST

    Glad to finally be on Reddit. This isn't a direct programming question but just one that I feel the need to ask. I'm really confused and will need some advice. Thanks if you can!

    I'm currently a high school graduate - class of 2016. I was an Arts student - Government, English, and Literature - as I wanted to major in Law back then. I have already been involved in computers since I was 9 and built my first small website when I was 12. I learned HTML and CSS between ages 12-14 and practiced a lot. However, I considered Web Development a secondary interest and remained primarily focused on Arts classes in high school.

    Well, I graduated with good grades in 2016, and I decided to get some work experience before getting into college. I researched and decided to get into WordPress. This was when it all started.

    My love for Web Development and computers grew faster than I imagined. I was building sites every day and working with clients through their needs. I realized I had a passion for developing the web and decided to go deeper into the field. I enrolled in courses teaching programming languages and excelled in them. I also enrolled in courses teaching the basics of Software Engineering, namely Data Structures, Algorithms, Software Architecture, etc. I took Harvard's CS50 and several other courses I found online.

    Currently, I am employed full time in a WordPress-focused business since I know WordPress best at this point, and still learning to code. I am able to afford international college, albeit online so I could keep working. I want to study Computer Science and really get the hang of it so I could work my dream job - Software Engineering. It is not about the money, but that I love creating things.

    Here's my problem. My secondary school education was entirely in Arts. I have no science courses anywhere. I could take the GED and study to write the SAT or ACT - I am determined enough to give it my best shot! But I'm not sure what path is right for me and I do not want to do the wrong thing. But I will stop at nothing to get a Computer Science degree. If it helps, I'm not a US citizen and don't live there.

    Yes, I know many may think - why do you want to really get a Computer Science degree? I've watched tons of videos and they are all focused on "getting a job" and so they recommend coding bootcamps. I'm not focused on getting a job. I have one already, and I could level up if I want to. I'm also very entrepreneurial-minded. Well, I do need the degree for more reasons than I can actually discuss at this time.

    Please let me know what I could do and what my chances are. If you think by all means I don't need a degree, well, you can also let me know why you strongly think so.

    Thanks!

    submitted by /u/Vic-ky
    [link] [comments]

    VS java terminal showing extra thingalings

    Posted: 15 Feb 2021 10:55 PM PST

    Hey everyone,

    I am not sure if this is the correct place to ask but here I am.

    I'm using visual code for have programming. I figured out how to use the debit console to show my out put code. Unfortunately, it isn't able to take input from the keyboard it seems (looked on web and that's what my understanding is).

    So, back to the default Terminal. The issue is that it's hard to see what's in it because of all the stuff that's in it.

    Example: PS C:\Users........a massive amount of lines and extension info and all that.

    I can put up an image of need be. It also reappears after a ctrl+P/L

    So my question would be: is there a way to hide it or stop it from showing up?

    I just want a clean Terminal. I don't need to see where my program is originating from or what extensions I have.

    submitted by /u/habitat91
    [link] [comments]

    How to teach Cloud-Powered App Development Virtually

    Posted: 15 Feb 2021 08:22 PM PST

    Thought this may be of interest to those looking to teach others how to code and for those learning to build cloud powered apps. Paul shares how he accomplishes this as well as shares the GitHub repo of his curriculum. Further details can be found here: Cloud-Powered-App-Development-Curriculum

    submitted by /u/Wireless_Life
    [link] [comments]

    13 year old needs help with choosing path

    Posted: 15 Feb 2021 04:05 PM PST

    Hello dear stranger! This is my very first post of all time, so please be kind to me. I'm 13 years old (almost 14) and I've been programming for 1 and a half year now. But I have reached the point where I need to ask reddit for help. I don't know what path I should choose, what programming language I should main, or what I even would like to code. So now I'm asking you guys what you think would be the best for me. You don't need to be very specific, just give me an idea of what would be smart. Thanks! Maybe it helps if you can assess me better. So here is my self assessment:

    Python - solid understanding, also more advanced topics like metaclasses, generators, decorators; practical experience with discord bot coding, web scraper and backend for websites; i have spend most time with python

    C# - solid understanding, also more advanced topics like reflections, async tasks; practical experience with wpf and winforms, e.g gmail desktop application

    C & C++ - solid understanding; not really any practical experience

    Java - solid understanding; some practical experience with minecraft plugin coding, but not much

    JavaScript - solid understanding; practical experience with websites (html, css, js, js) and discord bots (nodejs)

    submitted by /u/xeatrix
    [link] [comments]

    Is Looking at other peoples script and coding them but knowing what they do is okay for learning?

    Posted: 15 Feb 2021 04:55 PM PST

    Hello so I started learning Python and I decided to use GitHub. I found a lot of begineer friendly projects and Intermediate projects. I open my Pycharm and I put The code next to me. I just type it without copy and pasting it. If I am doing anything wrong please do feel free to criticise me.

    submitted by /u/ZreaozTR
    [link] [comments]

    Anyone got any tips for learning algorithms?

    Posted: 15 Feb 2021 02:40 PM PST

    I don't know why but my brain just goes completely blank on interview questions. I think if it wasn't a interview question, and if it was linked to something I was actually interested in, it would be easier. Does anyone know how to make it more interesting to learn? How do you stop your brain from going blank to the point where you can't comprehend anything.

    submitted by /u/dbear239
    [link] [comments]

    How do you keep track of notes when learning?

    Posted: 16 Feb 2021 12:04 AM PST

    I struggle for an efficient way to keep all of my learning together in one easy to digest place. Any tips?

    submitted by /u/DANAU5TIN
    [link] [comments]

    Notepad++ or Sublime?

    Posted: 15 Feb 2021 11:48 PM PST

    Which text editor do you recommend for HTML5? I am planning to self study HTML and I am looking for a nice text editor. I noticed that the two are some of the popular options and I am wondering which of them should I use.

    If you know a better text editor than the two, please let me know too. Thank you. :)

    submitted by /u/idkw_username_to_use
    [link] [comments]

    How to use fsanitize with gcc?

    Posted: 15 Feb 2021 11:47 PM PST

    Hello

    I am trying to use fsanitize with gcc but it doesnt output anything although the code is clearly wrong(use of ptr after free)

    int main(void) { char* str = malloc(5); free(str); strcpy(str, "abcdeffhijklmnopq"); return 0; } 

    Compiled with: gcc foo.c -o foo -fsanitize=address Also tried:

    gcc foo.c -fsanitize=address -o foo gcc foo.c -o foo -fsanitize=address -lasan gcc foo.c -fsanitize=address -o foo -lasan 

    What is the correct approach?

    submitted by /u/technical_questions2
    [link] [comments]

    I want to get into coding but it seems like a rabbit hole...

    Posted: 15 Feb 2021 08:00 PM PST

    I wanna start by saying I read the FAQ for getting started and it still doesn't satisfy my curiosity. I have a degree in a non science field (psychology)have a pretty dead end job that makes alright money. I don't have much debt so I'm not too financially tied down and my job really isn't too taxing on me oh and I turn 24 this year, so still pretty young.

    Coding has always intrigued me and I know it's not worth much but I do love computers, I'm a big gamer and I've built PC's and am very familiar with them. I know its fairly common to be able to start a career in coding without having a CS degree but I just don't know where to start, what language do you start with? Is it REALLY possible to get a job/ career in programming without a CS/Science degree?

    Thank you!

    submitted by /u/iwillgeta168
    [link] [comments]

    (C#) Ref vs pass by reference?

    Posted: 15 Feb 2021 05:41 PM PST

    If I pass a variable using the ref keyword, I can assign that variable inside the function to a new value and it will affect the original.

    If I pass a reference-type variable without the ref keyword, this doesn't work, but I can still make other types of modifications to the variable, such as adding values to a list, and it will affect the original.

    Why is this?

    submitted by /u/Aggravating-Cat2236
    [link] [comments]

    Starting learning Machine Learning and GAN

    Posted: 15 Feb 2021 07:40 PM PST

    Hi there, I come from a software engineering background but I'm quite new to machine learning and deep learning. At the end of this year, I wish to complete a GAN project on my own and want to know what knowledge I need before working on a GAN project. Any effective resources like videos or books will be appreciated. Cheers.

    submitted by /u/pete704
    [link] [comments]

    This might be more of a physics question

    Posted: 15 Feb 2021 05:16 PM PST

    Nonetheless, I came across a previous implementation of a gravity simulation using Newton's law of gravitation. They graphed the potential energy and the kinetic energy of the system and I noticed that the total energy was not constant, this is not supposed to happen right? As when a body is "flung" out by other objects it should convert entirely all of it kinetic energy into potential as it slows down to rest relative to the centre of mass, in absence of external forces. However the total energy of the system increases over time?

    Here is the implementation:

    https://github.com/pmocz/nbody-python

    submitted by /u/JambleJumble
    [link] [comments]

    [C++] Problem filling and outputting a dynamic 2D array

    Posted: 15 Feb 2021 11:11 PM PST

    What is your code supposed to do?

    I am trying to write a program that creates a 2D array with a size based on the user's inputs, fill that array with numbers, and then output that array. Eventually, I will modify the fillInGrid function to input other kinds of data into the array but at this point, I am just trying to get a boilerplate version working.

    What is your code doing instead?

    After taking the user's inputs for rows and columns of the 2D array, either the fillInGrid function does not fill in the array with values, or my for loop is not outputting the array. I can't tell which is occurring. After the initial input, nothing happens.

    Is there an error message of some kind? If so, include it.

    I am not receiving any error messages so I'm assuming it is bunk code.

    I am uncertain if I am passing the array to the fillInGrid function correctly and since I am new to C++, I am very confused by pointers, and this dynamic array stuff is throwing me for a loop.

    I have gotten to this point through textbooks and googling how dynamic 2d arrays work. In this code, I have a 2D array that is sized based on the user's choice of rows and columns.

    #include <iostream> typedef int* IntArrayPtr; void fillInGrid(int **m, int r, int c){ for (int i = 0; i < r; i++){ for (int j = 0; j < c; j++){ std::cin >> m[i][j]; } } } int main() { int r, c; std::cout << "Enter the rows and columns of the array:\n"; std::cin >> r >> c; std::cout << "Done inputting"; IntArrayPtr *twoDArray = new IntArrayPtr[r]; int i, j; for (i = 0; i < r; i++){ twoDArray[i] = new int[c]; // twoDArray is a r-by-c array fillInGrid(twoDArray, r, c); } for (int x = 0; x < r; x++){ for (int y = 0; y < c; y++){ std::cout << twoDArray[x][y] << " "; } } for (i = 0; i < r; i++){ delete[] twoDArray[i]; } delete[] twoDArray; return 0; } 

    When I run this, I get:

    Enter the rows and columns of the array: 5 5 Done inputting 

    Expected output:

    Enter the rows and columns of the array: 5 5 Done inputting 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 // or something to this effect 

    I hope I am just doing something completely wrong and it's glaringly obvious to someone a little more experienced than I am.

    submitted by /u/Rimbya
    [link] [comments]

    Best way to learn C++? (1 year of programming)

    Posted: 15 Feb 2021 01:10 PM PST

    Hi guys!

    I'm looking to learn C++ for some projects I'll have this semester. I know Python, C and Java and I've been programming for a year and a half already (but I'm very rusty on C). So with all that in mind, where is the best place or what's the best way to learn C++? I'm looking for something that will teach me more about the language (in a modern context, updated) rather than the way of thinking and stuff like that.

    submitted by /u/squalexy
    [link] [comments]

    What projects to put on GitHub with only Java knowledge?

    Posted: 15 Feb 2021 10:45 PM PST

    Hey guys.

    I've completed MOOC Java course a few weeks ago, now taking Spring course by Chad Darby.

    I want to land a job as a Backend Java Developer, and I think it's time for me to start building portfolio on github, but I'm not familiar with any frameworks, only pure Java. Should I continue learning and stop worrying about portfolio for now, until I learn enough about Spring, SQL etc. ? Or to not waste any time, start building side projects and work on them? If yes, what would be a good project to put on github, so when I'll try to get employed it would have some weight. I don't think employers would be impressed with some calculator or hotel room booking program.

    submitted by /u/foolwya
    [link] [comments]

    No comments:

    Post a Comment