• Breaking News

    Friday, July 10, 2020

    Is there a website that can show you examples of concepts implemented in real world projects on GitHub? learn programming

    Is there a website that can show you examples of concepts implemented in real world projects on GitHub? learn programming


    Is there a website that can show you examples of concepts implemented in real world projects on GitHub?

    Posted: 09 Jul 2020 07:54 PM PDT

    One of the things I'm trying to focus on as I learn more about programming is bridging the gap between all the small programs I've built and tutorials I've watched to the real world where projects are actually being used and providing value to people. I love reading other people's code, especially popular projects because it gives me invaluable insight into industry standards as well as best practices. Additionally it helps me understand how all the different pieces fit together so to speak. So my question is does a website exist that can show you real projects that other people built with all the different concepts and technologies? For example right now I'm learning MVC and it would be awesome if there was a quick way to view different projects that use the MVC design pattern.

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

    How to continue learning without actually coding?

    Posted: 09 Jul 2020 07:19 PM PDT

    I am learning to program. I enjoy it, and when I enjoy things I prefer to immerse myself in it. How can I continue immersing myself in the world of code without actually programming at the computer? What are the best books to read, the best podcasts to listen to, and maybe even the best non-coding resources that will continue to enable me to think like a programmer? Any helpful tips would be appreciated.

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

    Lost interest in programming and development

    Posted: 09 Jul 2020 03:16 AM PDT

    After I have my experience at XYZ company, I have lost interest in programming. Prior to this, I am very eager to learn everything.

    But when I have had to work in actual and existing projects.

    I also lost my confidence. I think I have learn nothing, felt really dumb and incompetent, especially in Java programming language. I mean, even in other web development stack.

    I literally lost my interest in everything related.

    I always self-doubt myself when applying to different companies now.

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

    Best C++ books for intermediary programmers?

    Posted: 09 Jul 2020 08:39 PM PDT

    Hi so Im a college student. I've been programming for awhile now and I've tried to learn c++ maybe 3 times now. Each time I gave up because it became too difficult to understand. This is my 4th time trying to master the language and I am having a lot of problems with file streams, operators overloads, templates and the thought process behind writing good C++ code.

    Im not new to programming and Im not 'new' to c/c++ either but I wouldnt say they are my strongest languages either (I usually program in Python).

    I need a book that isn't babying me but is also clear enough that I can finally get through this block I am having with this language.

    Any recommendations are welcome! (books primarily but online tutorials are encouraged)

    Thank you guys in advance!

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

    You don't have to be a software developer just because you learned to code.

    Posted: 09 Jul 2020 10:15 AM PDT

    I give guest lectures at several of the coding bootcamps in my area. A few questions never fail to come up: "Which language should I learn next?", "How can I prepare for technical interviews?", "Are you hiring?"

    But I got one question last year that threw me: "What if I don't want to be a software developer?"

    That question came back to me this year when I left my job as the CTO of a startup to start my own writing business. I realized that there are tons of things people can do with a software development background that aren't traditional software engineering roles.

    Here are the roles I came up with (I'm sure it's not exhaustive)

    I also wrote a longer piece on FreeCodeCamp about it if you want to really dive in.

    Anyway, I hope this encourages some of you who may have started coding or gotten your first job only to be disappointed by the reality of software development. I think it's a great profession for the right people, but it isn't for everybody. I wish we'd all acknowledge that.

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

    How to link one C project (library) to another?

    Posted: 09 Jul 2020 07:01 PM PDT

    Hey everyone, I'm working on a project in C that relies on another project: a game engine made by myself. However, I've been copying and pasting the source and header files from the engine into the game or whatever it is I'm making (into a lib/ folder for instance), and building the code that way. However, this is cumbersome. I know that you can generate dll files and .a files for C programs and whatnot but I'm not sure how to do this. All I want is to be able to keep my engine source code separate from my game code, without having to completely restructure my project (I.e. only having to modify the make file). Any help would be appreciated!

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

    An attempt to make CS more fun: An animated story for Object-Oriented Design Pattern (Factory Patterns)

    Posted: 09 Jul 2020 10:08 AM PDT

    Hi friends!

    Ever since I was in college (I graduated and have been working for a few years now), I have this belief that lots of computer science concepts can be way more fun than the way they are being taught in school.

    I always enjoyed sharing with friends CS-related concepts with real-life analogies and stories.

    So I decided to give this a try hoping to make CS more fun and approachable.

    I created an animated video related to factory patterns and the design principles behind it.

    https://www.youtube.com/watch?v=xe7IbnX53E0

    This is my first time creating videos and animations.

    I made lots of mistakes and there were lots of room for improvements. Nevertheless, I want to share with you and see how you think about this format and if this is something you think might be useful/entertaining. All feedback are welcome! Thanks!

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

    I want to learn how people hack consoles

    Posted: 09 Jul 2020 09:25 PM PDT

    I have always loved video games and recently I've been amazed what crazy things people can do with consoles, overclocking, homebrew, installing Linux, making a Switch work as an android phone to stream games via Steam. And as I've been studying programming, now with a more technical knowledge, I wanted to know how do people do these things.

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

    What do you do as a last resort?

    Posted: 09 Jul 2020 09:49 PM PDT

    I do not know where I am going with this.

    I am trying to teach myself python, I am using automate the boring stuff as well as solo learn. My goal is to go into data analysis (Yes, I am also using data camp) . However, I have no idea wtf I am doing. I cannot seem for the life of me to figure out how to implement a program myself. The other day I was trying to make a password generator and I couldn't figure out how to go about it. I made the 'variables' and that's it. Aside from solo learn, I've been using other apps in the AppStore. On solo learn I made it as far as exceptions and files. However, oftentimes I found myself guessing answers. Heck, I cannot even figure out while loops; I understand where they're supposed to be used (I think) but again suck at implementation. Honestly, I suck, and at this point, I just want to give up because there's nothing else I can possibly do it's like you have to be smart and I'm relatively stupid. I read other people's posts and I am confused because all it took for them to figure it out was watching videos on syntax and they took off from there. Mind you they have done that within a couple days. I've been watching videos and looking and trying to break down other people's code and I am stuck at this point I don't even know what I know. I'm trying to watch videos and I keep getting lost, I don't understand what they are saying. And if I do I get annoyed because I know what they're talking about and I hate repeated things. So it's like I'm stuck between what I do and don't understand. I'm tired of watching people do things and becoming confused, I'm tired of trying to learn through apps and guessing. Idk wtf I'm doing and I'm borderline giving up.

    What can I do as a last resort?

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

    How to visually design an app/game before coding?

    Posted: 10 Jul 2020 12:47 AM PDT

    I am fairly new to programming and wanna know what software can I use to visually design an app for how I want it to look after I have done building it? (like a rough sketch)

    submitted by /u/Vaibhav-Gogia
    [link] [comments]

    Is there a resource to learn about real world software architecture? Do you design your projects?

    Posted: 09 Jul 2020 08:23 PM PDT

    I want to learn more about software architecture. I think there was a blog which talked about software architectures of big companies but I cannot find it for the life of me. What are some good resources out there?

    Also what is your experience with planning out hobby projects? How do you estimate the time it will take and control the scope?

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

    Human languages vs programming languages as a hobby

    Posted: 09 Jul 2020 11:21 PM PDT

    As someone with multiple interests, I've always wanted to learn a second language. Another interest of mine is learning programming. My question is, knowing the amount of dedication required over years to learn a language like spanish, italian, etc.. to any level even remotely proficient, should I not instead learn programming if I am equally interested in both subjects?

    Where I live, there really aren't any other foreign language speakers. Of course, I'm sure I'll run into people and it's always good to enrich one's world view, but practically speaking, I keep thinking learning a language, for me is just not going to be worth it in the way that learning how to program would be.

    Thoughts? I've found myself dabbling in Spanish and I'm the type of person who craves mastery. Maybe I'm just looking at the glass as half empty vs full, but without growing up speaking Spanish, I know it'll be a hell of a challenge and without daily use or people to speak it with, not much daily practice to keep my skills sharp.

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

    Beginners who are currently learning Java, what course/textbook are you using right now? Is it good?

    Posted: 09 Jul 2020 08:53 PM PDT

    I'm learning with the mooc.fi Java course, I wanna know what other are using.

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

    Replacing characters inside a matrix array

    Posted: 09 Jul 2020 10:36 PM PDT

    Hello,

    I was working on some algorithms tonight and ran across one that really stumped me.

    Given a grid like the following:

    A B C

    D - E

    F G H

    Every row and every column that contains a "-" should be replaced with "-"

    so the result would be

    A - C

    - - -

    F - H

    Does anyone know how i could solve this in Javascript?

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

    Is 35wpm good enough for a programmer?

    Posted: 09 Jul 2020 10:15 PM PDT

    I know programing I more thinking than typing, but I feel like I'm a bit slow

    submitted by /u/21fckers
    [link] [comments]

    Learn to code?

    Posted: 09 Jul 2020 10:08 PM PDT

    I really want to learn programming and computer science, but with so many ways to go about doing it, I don't know where to start. Does anyone have suggestions? It would be greatly appreciated, thank you

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

    I can't understand why it's not working.

    Posted: 09 Jul 2020 09:22 PM PDT

    I start learning c ++ only 1 day ago so please be patient. Exercise - you got 4 numbers, you need to count how many are of it is negative.

    include<iostream>

    using namespace std; int main() { int a, b, c, d, e; cin >> a, b, c, d; e = 0; if (a < 0) e = e +1; if (b < 0) e = e +1; if (c < 0) e = e +1; if ( d < 0) e = e +1; cout << e; return 0; }

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

    Best time for learning programming?

    Posted: 10 Jul 2020 01:06 AM PDT

    Hi! I'm interested in programming and I decided to learn C++, C# and Python. Which time of the day should I learn? Morning, afternoon or evening? Why?

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

    Future CS Student, Where to start?

    Posted: 10 Jul 2020 12:38 AM PDT

    I'm 31 and decided to do a career shift. My Goal is to end up in the Gameindustry as a Programmer.

    My Plan now is 1 Year of prep shool to be allowed to study and also refreshing the stuff I need at the university.

    So the Language I want to end up most proficent is c++

    The first year of prep shool is pretty easy and light on hours. I will have a lot of time to learn to code.

    Is c++ the right language to start? Even if it's one of the harder ones?

    How do I learn it? I'm a bit lost on how to tackle it. Courses? Which ones etc etc..

    I started my programming expirience last year with unity and c# and quit after 4Months because I was to frustrated with tasks beeing to easy..and on the other hands everything way to complicated and ending up following tutorials that felt like just doing what they tell me to do.. Felt like copy-paste..

    Started then like 3Months ago with c++. Pretty good start.. Did also a lot of beginner excercise.. But ended up with everything is to easy.. And the harder ttäasks way to hard without explaining anything how to even solve it..

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

    Would you guys say that you felt you had to master a programming language before you could move on to the next?

    Posted: 09 Jul 2020 03:53 PM PDT

    For example, if you started to learn python, did you feel like you had to master it before you could move on to a different programming language? I guess I'm just looking for second inputs.

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

    C++ Vector of derived classes

    Posted: 09 Jul 2020 02:41 PM PDT

    Hi there,

    I was wondering whether anyone could help me understand something that's come up recently. I'm currently following a dev-along with the roguelikedev sub and I'm using c++. It's going fairly well, but I'm new to c++ (hence the upcoming question). I'm trying to implement a GameState stack to manage different menus and what not. The idea being I'd push the start menu state and it'd define how it's rendered and what the keypresses do. Then once the player selects start game, I push the character creation state and so on. I'd only render, update and gather/process input from the last entry on the stack.

    Anyway, my issue is that I have an abstract base class (GameState) which contains virtual methods for rendering, updating, getting key events and so on. So far so good. I made a derived class to represent the StartMenuState and gave it an int index to track which menu option was highlighted. When I created and pushed a pointer to this state onto my GameState vector, subsequent operations complained that GameState has no member index.

    Edit: It turns out shift+return submits the post. Bear with me. :D

    GameState.h

    class GameState
    {
    public:
    virtual
    ~GameState() = 0;
    virtual void render() = 0;
    virtual void update() = 0;
    virtual enum KeyPress getKeyPress() = 0;
    };

    StartMenuState.h

    class StartMenuState : public GameState
    {
    public:
    StartMenuState(Renderer* renderer);
    ~StartMenuState();
    void render();
    void update();
    enum KeyPress getKeyPress();
    private:
    int index;
    };

    In the .cpp file, I give definitions for the rendering, updating and handling input. In my main loop, I then having the following.

    std::vector<GameState*> stateStack;
    StartMenuState* startMenu = new StartMenuState(_renderer);
    stateStack.push_back(startMenu);
    ...
    while(isPlaying)
    {
    stateStack.back()->render();
    keyPress = stateStack.back()->getKeyPress();
    processKeyPress(keyPress);
    stateStack.back()->update();
    }

    When I try to access stateStack.back()->index, I get the error that GameState has no member index.

    From what I've read this is possibly known as object slicing, but everything I've seen suggests that using a pointer should solve the problem, so I suspect something else is going on here.

    Any help would be greatly appreciated!

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

    What do I need to install on my MacBook to start coding in python? And how do I do it?

    Posted: 10 Jul 2020 12:05 AM PDT

    I've started taking CS classes in school and they're going to be using python, but they haven't given clear instructions to install python or other required software (compilers and stuff). So basically I'm looking for an article or guide to install python and any other software I'll need to start coding in python on my MacBook (the 2019 Pro model In case that matters).

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

    I was offered a stipend to take any certification / class / program I want... but I have to choose only one.

    Posted: 09 Jul 2020 11:37 PM PDT

    Quick background:

    I am not a programmer. I've had 5+ years of experience in technical support, 2 years in product management, 1 year in quality assurance. Social anxiety struck me hard when I did product which prompted me to consider a career shift late into my 30's.

    I've done programming when I was in college but for whatever reason, I kept avoiding it as a career. I let fear get to me. I toyed around with Visual Basic .NET and C# in college, HTML / CSS / JS in the past year, and Python in the past few months. I am not an expert by any means. I can read code, but I can't save the planet in code if I wanted to.

    Today:

    I'm unemployed due to COVID-19. I've been blessed with a gift of choosing a program of my choosing (money is nearly no object) through the State of Texas because I am disabled. Their goal is to get me employed as quickly as possible.

    My Options:

    1. Use the stipend for only a coding boot camp.
    2. Specialize in a programming language on my own and use the stipend on something technical (for example, AWS cloud services or DevOps)
    3. Specialize in a programming language on my own and use the stipent on something management-related (for example, Certified Product Owner or Project Management)
    4. Use the stipend for something pretty amazing that I'm not aware of.

    My conflicts:

    I'm good at a lot of things but I'm not an expert in any. I think I need to be focused on one skill or a skill set. Something tells me I should focus on boot camp entirely. At least I will feel obligated to doing the course work.

    I have had people tell me that doing coding boot camp tells employers that I can't do the work on my own. That I would appear as if I lack self-initiative. Some say I would be devaluing my skills or candidacy. But I've seen people get fast tracked to interviews just because they've done boot camps from a reputable organization such as an accredited university.

    I don't know if this is true at all. I do know a portfolio speaks louder than a piece of certification. But I also want to make sure I make the most effective use of that stipend.

    What would you do? Thank you for any thoughtful responses.

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

    No comments:

    Post a Comment