What are 10 programs you should write in a language you're trying to learn? learn programming |
- What are 10 programs you should write in a language you're trying to learn?
- Actually good intro to coding resources
- Opinion on certain JavaScript Course
- Trying to learn Javascript, but nothing is sticking
- Course or books recommendations for UML language
- What is a good starter algorithm to use when sorting and searching data from multiple sources?
- Does anybody have a list of 30 projects to do in a language, so i can refresh my memory/learn programming? trying to do 30 days of code lol
- A generic class with diverging behaviour dependant on its <Type>? [OOP/Java]
- How to stay disciplined and focused when starting to learn programming?
- Which type of programming is easiest to learn and get a job?
- I tried using an example from a (pretty bad) learning app, but... it doesn't work. more details
- Looking for source code example
- Still learning, want to make a *Task List/Task Roulette app* for mobile, what would be the best language for this?
- Node.js coding
- Python or Java?
- IOS Developer Prospects
- Find Max Values In 2D Array? I'm lost. (Intro C++ Question)
- Count calls to method with Dependency Injection
- Learning programming in a Pure way?
- I'm trying to decide between Unity and Unreal. Unreal was winning until i saw C# in unity and C++ in unreal. Please help me understand this better.
- Flip middle image after Mosaic
- Not Able To Connect to MongoDB With My Admin Account But I Can With Added Users?
What are 10 programs you should write in a language you're trying to learn? Posted: 23 Nov 2021 05:36 PM PST Let's say you're an intermediate or advanced-level programmer trying to learn a new language. The best way to learn a language is to actually write something with it. But what programs should you write? There are so many to choose from! Choice overload can be overwhelming. So my open question to the community: If you had to suggest 10 familiar-feeling programs to lift someone from complete beginner to comfortable novice, what would those 10 programs be? Of course, the features of the language will matter. Is it object oriented? Is it functional? But for simplicity's sake, let's ignore specific language quirks and just stick to programs that can be written in most mainstream programming languages. I was trying to come up with an answer to this question. Here are my 10. Feel free to critique.
[link] [comments] |
Actually good intro to coding resources Posted: 24 Nov 2021 02:36 AM PST I am a highschool art teacher who's ended up being offered a computer science contract. I was excited about it because I have worked in a makerspace, done some projects with Processing, python, and raspberry pi. I've tinkered minimally with Arduino. And overall, I find the world of tech and computer science really exciting. But to be perfectly honest, I've barely learned any coding language enough to really understand what I'm doing. It's always been a lot of copy paste, Google, and help from fluent programmers around me. I have a family and am crazy busy, barely being able to do any self-teaching in my own time. But I want to find a project that really walks me through every aspect of coding, so I can get excited about it and teach it in a comprehensive way to my students. We've been making and learning about animation with Scratch. I plan to continue block coding with them in Minecraft. They're 11th graders, but none of them have any experience with coding either, and I deal with a lot of absences and apathy (large city public school) so I have to choose my projects for them with this in mind. But at the very least, I'd like to be knowledgeable. I've looked at code.org, Google's CS First, vidcode etc.... I guess I want a better tool that really walks you through an actual language with guided explanations. Does this exist? It feels like there is such a big disconnect from the world of block coding to the world of language coding (probably incorrect terminology, sorry, noob here). Am I wrong? Is there a clear reason for this? Or is this a gap in the marketplace? It seems that once people get really into programming, they lose the ability to understand the illiteracy of others (they struggle to teach others in a comprehensive way etc). Also: I don't have a big budget either. I don't think I'd be able to get enough Arduino kits or other microcontrollers for my classroom. [link] [comments] |
Opinion on certain JavaScript Course Posted: 24 Nov 2021 04:32 AM PST Hey guys, I am fairly new to programming and I have completed already a 2 month course on JavaScript Basics. I am up to start the next one in January. In the meantime I was wondering how to help myself and get up to speed even faster and stumbled on the following course on Udemy: https://www.udemy.com/course/the-complete-javascript-course/ I can see that it is heavily discounted and has a shitton on positive reviews so I figured it would be helpful. Has anyone bought the course and share an opinion on it and if not can you point me ot to some resources or courses to fill up the time until January? [link] [comments] |
Trying to learn Javascript, but nothing is sticking Posted: 24 Nov 2021 03:42 AM PST Just started to learn about Javascript but nothing is sticking like i get html and css but when I even look at Javascript its like a big hot mess in my eyes nothing follows any rules like html or css. Does it get any easier? Do i keep "at it" and it will eventfully "click"? [link] [comments] |
Course or books recommendations for UML language Posted: 23 Nov 2021 09:56 PM PST Sup! I've recently started using UML language to model class relations for work. I wonder, if there are any good courses or books to study the subject more in depth. I guess I'm looking, generally for a book/course on system's design/architecture, which makes hefty usage of all the different kinds of UML diagrams. It will be very helpful, if you have something in mind, which involves getting some sort of a feedback - either a book with answer's to some excercises (doubt they exist though), or a specific course. Thanks in advance for any response! [link] [comments] |
What is a good starter algorithm to use when sorting and searching data from multiple sources? Posted: 24 Nov 2021 01:28 AM PST So I am currently scraping and collecting data from more than 100 sites so that I can eventually investigate shoe buying patterns. I want to make the collected data usable by indexing and sorting it so that it is searchable by marketing departments to identify specific consumer buying patterns. These buying patterns will assist in the development of marketing campaigns targeted at appropriate buying populations. Ultimately, I want to design an algorithm that will allow marketing departments to search the data to identify these populations. I'm looking for a decent and maybe we'll documented algorithm to start off with. I am not trying to build a Google here, I just want something performant, maybe one of the classic algorithms, taught in academia and stuff which I can find books and support on to put up an mvp. I am more self taught than anything, which is why algorithms don't come easy for me. The scraping stuff is pretty straightforward. It's the conceptual parts and the optimizations that throw me off. Any help would be appreciated. [link] [comments] |
Posted: 23 Nov 2021 08:45 PM PST Exactly what the title says. i know hacker rank has this on their site. but i want to also do something on the side. maybe a calculator on day one and something else on day two. if you have a list please share! [link] [comments] |
A generic class with diverging behaviour dependant on its <Type>? [OOP/Java] Posted: 24 Nov 2021 03:32 AM PST I've been writing a simple data structure in Java, I want it to be homogenous, but still be able to handle different types, in the same way as e.g. an array. For one method, I need to compare a given element with an element contained in the data structure; and particularly for Strings, you can't simply do So I wrote a class like this; this isn't the actual code, but a chopped down version (the actual code's quite long and messy): This doesn't seem to work, and I can't seem to find anything on Google so I think I'm trying to do something wrong. The class itself is generic so I assumed I could just write a set of comparison methods using overloads, but apparently not. I also thought about using an Abstract base class and extending that for a given type e.g. <int> but that doesn't seem to work either. I think I'm probably doing something very silly, but I'm at a bit of a loss. Can someone please point me in the right direction? I'm new to Java and a novice with OOP, so please bear with me. Bonus points if you can also tell me if there's a way to deal with related types in one go, e.g. rather than having separate cases for numeric types (e.g. ints, doubles, etc.) just one that handles all of those, and a separate one for e.g. Strings. Thanks very much! Please ask clarifying questions if need be. [link] [comments] |
How to stay disciplined and focused when starting to learn programming? Posted: 24 Nov 2021 02:39 AM PST I was reading this other question, and someone wrote that if you don't have self-discipline, then programming will be difficult. This person also wrote that it helps to have a clear, specific goal, and a project you want to make happen. What are some examples of goals or projects that a beginner should have, to help build self-discipline while learning programming? [link] [comments] |
Which type of programming is easiest to learn and get a job? Posted: 24 Nov 2021 05:47 AM PST I'm at a young age and worried about the future, so I decided I wanted to start learning to prep myself for adulthood and getting a job. I'm interested in programming and development but have no experience myself. So I'm now wondering which programming language and job is the easiest to get into. [link] [comments] |
I tried using an example from a (pretty bad) learning app, but... it doesn't work. more details Posted: 24 Nov 2021 05:41 AM PST from what i understand, the code is meant to create a list of numbers from 10-19, but... it doesn't work. i tried everything i can think of, please note i don't understand how "Do...while" works, which is what this example is meant to teach me. but it's not very helpful when the example doesn't work. error code: missing ";" on line 7 "do (c < 20) {" error fix is adding ; after (c < 20), but obviously that doesn't work [link] [comments] |
Looking for source code example Posted: 24 Nov 2021 05:28 AM PST Hi. I am writing an assignment and there shows my lack of knowledge and that I suck at searching stuff. I need an exapmle of a source code which contains procedural, object-oriented and event-driven paradigms and can't find one that contains all 3. Can anyone help me please? TIA [link] [comments] |
Posted: 24 Nov 2021 05:25 AM PST Im mega bad in terms of procrastinating and am flunking my semester, im getting help but also I just need a projectg to work on outside of school :) So I thought to make something I'll actually use myself How would I go about making this? React or something else? I havent used React yet but gonna have to familiarize with it this semester eitherway. Mostly doing C++/arduino stuff (embedded software engineering) first semester [link] [comments] |
Posted: 24 Nov 2021 05:23 AM PST I'm trying to learn node.js, and I'm not sure what website I should use to help me with that. Normally I use online gdb, but that doesn't have this specific type of JavaScript. I've also downloaded a node terminal thing on my computer, but I don't find it helpful, seeing as I make a lot of mistakes (and they're hard to undo) and I want to be able to save my code for later. So, does anyone have a suggestion for where I can code with node.js? Thanks [link] [comments] |
Posted: 24 Nov 2021 05:18 AM PST Hi guys im wondering about continue learning Java or python. I want to do some backend stuff, and in school we are studying Java. I know that Java and python can both be used as backend but searching online i cant find any good resource for spring as much as python (Django or flask) Should i move to python for resources or continue searching resources for spring? (I like pretty much Java for oop but love python since its a Dynamic language) [link] [comments] |
Posted: 24 Nov 2021 01:32 AM PST Hiya folks, I have recently been bit by the Swift bug and want to ask if an IOS developer with about a years' experience can find a job, and how much the base pay will be at that job? I want to have a steady income as I am looking to shift my undergraduate studies to part time and get a full-time job. Ios just seems easier than Android and more fun than web development. Any help would be appreciated. Thank you. [link] [comments] |
Find Max Values In 2D Array? I'm lost. (Intro C++ Question) Posted: 24 Nov 2021 05:13 AM PST Hello, I've been working on one of my final assignments for this semester and I'm having a hard time with this one. I'm not posting the code I currently have, but rather a question regarding something in the textbook. I have a prefilled tables of values that represent days and miles. The columns alternate between days and miles. I need to retrieve the highest value via a loop, but I can't figure out what I'm doing wrong. This is the example the text gives regarding this loop: "The algorithms for finding the highest and lowest values in an array are very similar. First, let's look at code for finding the highest value in an array. Assume the following code exists in a program, and values have already been stored in the numbers array: const int SIZE = 50; int numbers[SIZE]; The code to find the highest value in the array is as follows: int count; int highest; highest = numbers[0]; for (count = 1; count < SIZE; count++) { if (numbers[count] > highest) highest = numbers[count]; } " I can't figure out how to modify and apply this to a 2D array, but the book gives no examples on this. I was able to set up nested for loops for an accumulator just fine, but anytime I try to find the highest value I get an error or I just get a single value from the table I already have. Could someone point me in the right direction so I can at least understand this better? I'd really appreciate it. [link] [comments] |
Count calls to method with Dependency Injection Posted: 24 Nov 2021 04:38 AM PST I'm trying to learn about dependency injection. I'm using .net 6.0 Razor Pages and i want to "count", the number of times a method is called via dependency injection. My Index is as following:
My "counter" class, is as following
And my interface
My Program.cs class
My View.
It's added as a Singleton in Program.cs. The site is updated via a button, and that "works", but it only updates to 1. But then it stops. It doesn't continue to "2, 3, 4" etc. when I push the button that uses the OnPostInfo method. What am i missing here? [link] [comments] |
Learning programming in a Pure way? Posted: 24 Nov 2021 04:24 AM PST I've been programming for 10 months now so i am new, I want to learn programming and there is a shared idea with professional programmers which is all languages are similar you just need to learn programming so you can use them properly, now my question is what is the best Language or way to learn that programming and flow which is exist in all languages in a pure way? I'm a bit hesitant about my future whether its software dev or web , cyber machine etc... so what is the most versatile way to start and switch easier to others? does this way even doable or exist? thank you, Buffalo [link] [comments] |
Posted: 24 Nov 2021 12:22 AM PST It seems coding in Unreal is pretty much useless. It is like a new language. I've been working with C++ for the past year. And i could take nothing coherent out of it. Whereas C# in Unity is clear, and you can see what you are doing, and i dont know C#. It seems there is little customization in C++ Unreal. Whereas C# Unity can do everything. Is Unreal 4 just for Blueprints? Is the C++ code actually useful? Or is it just a C++ script? The most important question... If you know C++, and C#... Why not just learn OpenGL or DX12? That is an actual graphics API that you learn that can be useful for a lot of things. Whereas Unreal C++ script is just for Unreal... [link] [comments] |
Flip middle image after Mosaic Posted: 24 Nov 2021 04:06 AM PST I am trying to setup a triple screen setup where the middle screen is in landscape (flipped). The 2 on the sides are in normal landscape mode. Is it possible to create something that flips the middle image again after using Mosaic to virtually create a 5760x1080 screen, so that the total is in normal landscape? The total will be 5760x1080. The first 1920x1080 should be untouched. The last 1920x1080 too. Only the part from 1920 to 3840 pixels wide should be flipped. I only have very little programming experience to make macros, but that won't help me here. [link] [comments] |
Not Able To Connect to MongoDB With My Admin Account But I Can With Added Users? Posted: 24 Nov 2021 03:43 AM PST I'm having a strange problem in MongoDB. I want to connect to a database with python, so I used the connection string (where you have to put your username and password). When I enter that connection string in my python program and run it, I get an '' authentication failed '' message. But then I tried going into my add users to database window (where you can add users to grant them access to your database. You assign a username and password). After making a new user, I entered that user's details into my connection string and suddenly it connects and is able to work. Why is it not working with my own admin account, but working with a secondary account? [link] [comments] |
You are subscribed to email updates from learn programming. To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google, 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States |
No comments:
Post a Comment