●Stories
●Firehose
●All
●Popular
●Polls
●Software
●Thought Leadership
Submit
●
Login
●or
●
Sign up
●Topics:
●Devices
●Build
●Entertainment
●Technology
●Open Source
●Science
●YRO
●Follow us:
●RSS
●Facebook
●LinkedIn
●Twitter
●
Youtube
●
Mastodon
●Bluesky
Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!
Forgot your password?
Close
wnewsdaystalestupid
sightfulinterestingmaybe
cflamebaittrollredundantoverrated
vefunnyunderrated
podupeerror
×
59763389
story
Posted
by
Soulskill
ay 06, 2014 @07:11PM
from the port-quake-3-to-my-microwave dept.
An anonymous reader writes "I've been teaching myself to code recently. I've made good progress so far, and I've written a bunch of little scripts to make my life easier. Here's the problem: most project ideas I come up with now either seem pretty easy or pretty impossible. I'm having trouble thinking of a project that'll stretch my skills without overloading them. I've tried finding open source projects to read through, but I run into the same thing: either it's straight-forward, or it requires reading a half-dozen dependencies, each of which has dependencies of their own. Anyone have suggestions on some intermediate-skill projects to undertake? Or some project files in an online repo that go beyond the basics without getting overwhelming? My language of choice is Python, but other languages are welcome."
You may like to read:
Comcast: Destroying What Makes a Competitive Internet Possible
Dropbox and Box Leaked Shared Private Files Through Google
This discussion has been archived.
No new comments can be posted.
Load All Comments
Full
Abbreviated
Hidden
/Sea
Score:
5
4
3
2
1
0
-1
More
Login
Forgot your password?
Close
Close
Log In/Create an Account
●
All
●
Insightful
●
Informative
●
Interesting
●
Funny
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
bywb8nbs ( 174741 ) writes:
I would suggest getting an Arduino. There's tons and tons of example code out there at all levels of expertise. And it's fun.
twitter
facebook
byPopeRatzo ( 965947 ) writes:
I don't know dick about programming, and I've been having fun with my little Arduino.
It brings me back to my callow youth, playing with a breadboard and figuring out how to make LED's flash. Except this Arduino can actually do stuff.
Right now, I'm playing with making a sort of frankenstein controller for an old analog modular synthesizer. A cross between a Theremin and a Kaoss pad and percussion pads.
But it might end up as a cat torture device, if that damn thing doesn't stop chewing on my earbud cables.
Parent
twitter
facebook
byAnthonyRuffino ( 2824549 ) writes:
That was actually funny .. I think. ok it was. But it's starting to not be. ok now it's gone.
byAnonymous Coward writes:
You should believe him. He's an AI I wrote last year when I was learning to program in Python. Now I'm an excellent programmer.
Parent
twitter
facebook
byphillk6751 ( 654352 ) writes:
Even though I haven't yet tinkered with an Arduino I have to totally agree with this. As a professional programmer with similar experience here are a few reasons why:
1)I have had to work with machine automation in both of my programming jobs extensively. Knowing how to program 'realtime' devices is very useful in an industrial environment (Reading barcode readers, processing, output....or reading relay state/change, determining course of action, switching relay or sending notifications to a user...or com
byTechyImmigrant ( 175943 ) writes:
Programming isn't an end to itself. Well it can be but, generally we program to do something else - payroll, missile guidance, selling stuff over the internet, etc.
What else do you know? Are you an expert in newt farming? Write an application to automate the tedious aspects of new farming.
Once you have a problem to solve, it becomes attackable. Having to hunting around for the right sized problem suggests you aren't acknowledging the problems you already have.
twitter
facebook
byrwa2 ( 4391 ) * writes:
Now that you're an "intermediate" programmer, find an existing piece of code somewhere and modify it to do something you want. You'll cover a lot of ground, since you're already starting from a fairly capable codebase, and you'll learn a lot about what you like and don't like from trying to read other people's code. Python is a great "glue" language, so the code you're looking at using need not even be in the same language.
Back in the day I hacked up some 3D gnome tetris game in C to output game state to
byranton ( 36917 ) writes:
I would move past writing software for yourself. While "intermediate" is obviously subjective, you are very unlikely to be at that skill level if you have never sold software or written software for money. Writing software for yourself is so much easier. You can change your goals based on what is easier or what skills you already have. You don't have to figure out difficult problems just because that is what the customer wants.
Since it can be so hard to find work with no experience, and with no academic cre
byTapeCutter ( 624760 ) writes:
Agree, find a problem. Work out an algorithm/heuristic that solves it, then attempt to implement it. If you are not sure how to implement it then you have found a problem of suitable difficulty and you may then want to look at how others have attacked it.
AI, simulations, and number theory are (for my tastes) great places to find intermediate to difficult problems (and the algorithms that solve them), 25yrs as a commercial developer and I'm still finding new stuff in those fields. For example I started learning python (for work) by implementing my favourite intermediate "hello world" program, an n-body gravity simulation. I'm currently looking at CUDA (for fun) using my trusty "hello world" sim, they supply an optimised example of the same problem but I won't look at it until I have mine working.
Also it depends on what you call "intermediate". Python is a "batteries included" language, how much do you know about language independent data structures such as trees, vector, matrices? Take a look at "The art and science of programming" by Donald Knuth, it's examples are in Pascal but if you inhale the wisdom in the book you will understand when I say that the language it uses is irrelevant.
Here's an ancient problem I found in the early 80's that I still don't have a programmatic solution for, pretty sure algorithms exists to solve it but I don't want to look at any "spoilers", would much rather find an answer on my own.
1. Create a 6x6 magic square [wikipedia.org]
2. All columns, rows and diagonals must sum to 666
3. All 36 numbers in the square must be prime numbers
4. Marvel at the fact that Issac Newton solved it in his head! Ironically while hand-writing nearly a million words of drivel on the "number of the beast".
5. Bonus points if you find more than one solution.
Parent
twitter
facebook
byTapeCutter ( 624760 ) writes:
Bad form to reply to oneself and all that. If you (the submitter) are trying to drill down through the dependencies in an attempt to find the "bottom". There' isn't one, it just sort of fades into hardware in the same way life fades into chemistry at the cellular level. However a very practical idea is to consider C "the bottom" and work up as well as down. Programming requires the ability to mentally move through levels of abstraction, nobody truly "knows how to program" but there are plenty of people who
byGiganticLyingMouth ( 1691940 ) writes:
Take a look at "The art and science of programming" by Donald Knuth, it's examples are in Pascal but if you inhale the wisdom in the book you will understand when I say that the language it uses is irrelevant.
Just in case this confuses the submitter, the actual title is "The Art of Computer Programming". And IIRC the code examples aren't in Pascal, but rather in "MIX" assembly, which is a hypothetical language for a hypothetical machine. Also, be forewarned that it has a steep learning curve...
byZahrGnosis ( 66741 ) writes:
While I agree with parent in the case you actually are interested in newt farming, I actually code mostly just for the fun of coding, and focus on the type of code rather than the end product. To give an alternate approach, then, depending on what type of code you like there's probably a hackathon or a set of "challenges" or some competition that can provide motivation if you just want random problems to solve. I'm mostly an algorithms guy, so I do a lot in Kaggle [kaggle.com], and Project Euler [projecteuler.net]. Project Euler for ex
bySentrion ( 964745 ) writes:
I'm not going to condemn you for this. My own perceptions of what I would be doing with my engineering degree turned out to be so far off target that it's not even funny. I'm not working on the stuff that fascinated me. I'm working on the stuff my boss lets me do. I try to find the "joy of engineering" when and where I can, but it is very difficult to earn a living, raise a family, have the intrinsic qualifications and market demand to pursue one's very specific interests. I suspect that many other read
bybutalearner ( 1235200 ) writes:
I'm not going to condemn you for this. My own perceptions of what I would be doing with my engineering degree turned out to be so far off target that it's not even funny. I'm not working on the stuff that fascinated me. I'm working on the stuff my boss lets me do. I try to find the "joy of engineering" when and where I can, but it is very difficult to earn a living, raise a family, have the intrinsic qualifications and market demand to pursue one's very specific interests. I suspect that many other readers here would agree.
This is not to mention that working on the stuff that fascinates you doesn't mean it's all joy. I've found this even in my hobbies: I want to make video games, but there is a lot of tedium involved. At my day job, I've spent days hunting down intermittent software bugs, and just because I do it for rockets and missiles and satellites doesn't make it any more fun than doing it for industrial wastewater management systems.
bykhellendros1984 ( 792761 ) writes:
I would say petition for a law where everyone gets paid the same no matter what they do.
....I'd rather not. If a coworker is competent, then I don't really care why they're working with me, as long as they're doing good work.
byAnonymous Coward writes:
project Euler [projecteuler.net]
twitter
facebook
byPopeRatzo ( 965947 ) writes:
My wife the math professor loves that site. She cops stuff off there all the time that she ends up using.
IIRC, she's talked to the people from that site, to thank them and offer an idea or two. I'll ask her later.
Yes, Project Euler is the goods.
byddt ( 14627 ) writes:
Do a small piece of something impossible in such a way that you might be able to integrate it into the impossible thing later once your kung fu is strong enough. To tip the odds in your favour, do a piece of something that seems impossible but is something you're super passionate about. It'll help you overcome the hurdles more easily.
twitter
facebook
bys_p_oneil ( 795792 ) writes:
Seconded. All seemingly impossible projects can be broken down into manageable pieces. Break it down logically and tackle specific pieces that seem doable, then build on top of them.
bySentrion ( 964745 ) writes:
Yes, but if he tries he will learn a lot about software engineering and project management, skills that go way beyond basic coding; skills that employers are hiring for. Being totally self-driven would just be icing on the cake. I would however suggest a slight modification to the "break it down" strategy. And that is, write modular programs that can work with the other programs you write but could also each function as a stand-alone program. You still need to decide what direction you want to take your
bybraden87 ( 3027453 ) writes:
This is an excellent response. OP please put great weight on what ddt says.
As a professional I can't tell you how many times I've been programming w/rt subject matter I love and been amazed at how little effort seemingly impossible projects take to come together. I've also noticed when I'm not thrilled/interested/excited about a project I tend to view tasks as much more difficult than they end up being.
byQuirkz ( 1206400 ) writes:
I think this is a good answer. Dream big, start small. About a decade ago I decided I'd like to create a web-based computer game. I had some very beginner web, PHP, and MySQL skills. In theory that was enough of a foundation, as long as I continued learning, but it was a daunting task, because I didn't know many of the simplest things, like even how to keep track of values behind the scenes (such as with session variables). I started very small, coding little pieces, figuring out just enough. Some of the really early components were actually gambling mini games, because those have such strictly defined rules. Once I had a rock-paper-scissors game and a craps game, I'd picked up just enough that I felt I could also implement a simple store. After coding a store, I realized I knew almost enough that, with a little more research, I could code an equipment page that added and removed gear, without really paying any attention to the benefits on the gear. From that came the character sheet which displayed gear plus other stats, then some simple noncombat adventures which gave players equipment and money or increased stats ... and so on. Each new thing required some learning, but most of it was incremental enough, and the learning specific enough, that I could bite off one interface/interaction at a time and keep going.
Sure, it took me six months until I thought I had anything worth inviting play-testers, and a year to go into beta testing, plus a couple more of development, but eventually I had a complete game, a sprawling thing of size and complexity I couldn't remotely have imagined at the beginning. It wasn't only fun, but also somewhat profitable, and in retrospect it's one of the greatest creative efforts of my life. That's something which would have sounded silly to say as I was testing out code for those first couple of exercises with RPS and craps, but that's what they led to.
Parent
twitter
facebook
byAnonymous Coward writes:
I have found looking for things in my everyday life that could be made easyier or better with the use of programming such as general computer use and so on.
a good example is i wanted to lower power usage in my general computing so i recycled and old eee to use as a master machine to turn on and off my other computers as i needed them i used python php and shell script.
so i recommend just look at the things you do and try apply programming to it, hope this suggestion helps and lots of luck!!
byCramit ( 609487 ) writes:
You could build a small game in Pygame!
http://www.pygame.org/ [pygame.org]
A basic banner ad type game tutorial.
http://www.pygame.org/docs/tut... [pygame.org]
twitter
facebook
bydmbasso ( 1052166 ) writes:
pygame is a good recommendation. Once I found a nice game that was written by a beginner, so I took his code and made some improvements, just to show how it could be done. Perhaps the OP might find interesting the historic of this git repo: https://github.com/dmbasso/ent... [github.com]
byDerekLyons ( 302214 ) writes:
Don't sneer at the easy/simple/etc... Just because they seem so at first blush doesn't always mean they are so once you get into them. Not to mention, working on the basics never hurts no matter what you're trying to learn.
twitter
facebook
bynickittynickname ( 2753061 ) writes:
I agree. When I started off I did two things wrong that ended costing me a lot of experience. I didn't start off simple enough, and I didn't seek help when I really needed it. You need experience planning your program and going large at all will make planning difficult. If you do a larger project break it out into smaller projects, proof of concept each feature separately. When you feel you have a grasp on the pieces then try to put it together. You will find things you thought were simple take a long time.
bydysmal ( 3361085 ) writes:
As mundane as it is doing the routine "easy" projects, keep doing them! Practice. Practice. Practice!!!
During the routine projects you might come up with a more convoluted idea to do the same exact task which will require x5 the work and try to do it just because you can. It's when doing mundane tasks I've had many a brain storm to try a new method. Most of the time my brain storm was Hurricane Katrina (a disaster) but there were a couple of legitimately cool things I accidentally did in the process!
byAnonymous Coward writes:
Many websites offer lists of programming patterns http://rosettacode.org/wiki/Rosetta_Code I like rosetta code but there are many more websites, plus books to peruse. Try to find what fascinates you and see if any new ideas come out of it.
byAnonymous Coward writes:
Break up those "impossible" projects into manageable chunks. That's sure to be a helpful skill when you move into even larger projects.
byAnonymous Coward writes:
Games are a classic programming project. Depending on your level of interest, you could go with something fairly simple (like a card game) or an implementation of a classic video game (something like Breakout or Space Invaders). I've had friends who wrote simple role-playing games as well.
byNarcocide ( 102829 ) writes:
... and if that is all that stands between you and every single project that isn't "too easy" for you, then THAT is exactly what you should be working on.
However, you can learn SDL and fairly easily use it with C and/or C++ and make simple games and graphical apps with no or at least very few additional dependencies.
twitter
facebook
byAnonymous Coward writes:
and not just a offshoot, like say C to C++ or C#. Just a completely different one.
It may make the impossible seem possible. And a bunch of other new insights.
When all you ever used is a hammer....
bymfh (56) writes:
Study Zen. Not from a religious standpoint but from a philosophical one. Once you grasp these concepts, you are ready to become a programmer or anything else you want.
The first lesson is that an object falls into a pond directly. The object splashes directly. The object sinks directly. The sequence out of order is unnatural.
Okay so this idea informs you about security, and about data flow. More lessons await! :)
twitter
facebook
byphantomfive ( 622387 ) writes:
I literally have no idea what you are talking about. Explain please?
bymfh (56) writes:
This is an example of a koan [wikipedia.org].
What is the Buddha nature of programming? I see this only as to, with heart, effortlessly spawn systems.
The koan of the pebble as it is tossed into a pool is powerful and yet effortless.
From a programming standpoint, the server is the pond. The pebble is the data that will connect to and be placed into the server. The person tossing the pebble is the user. Each activity will take the shortest path, perhaps to the farthest depth. The pond can reject pebbles (frozen). :-)
Systems r
byphantomfive ( 622387 ) writes:
The system doesn't exist.
bymfh (56) writes:
I had never considered that the spoon in the film The Matrix could be also representative of the system itself.
byphantomfive ( 622387 ) writes:
The Zen master writes code that matches reality. There is no 'system' because it is part of the whole.
byfractoid ( 1076465 ) writes:
The first lesson is that an object falls into a pond directly. The object splashes directly. The object sinks directly. The sequence out of order is unnatural.
Aha! This koan is a warning against multithreading.
byLetterRip ( 30937 ) writes:
The two sites checkio and hackerrank can probably provide you some challenges. They will force you to learn some algorithms (trees, graphs, etc.) which will provide you with tools you need for more complex projects.
twitter
facebook
bylllz ( 3643993 ) writes:
checkio is a really fun game. For me it was the only place I could find to practice coding with real projects
bySB2020 ( 1814172 ) writes:
+1 for checkio, helped me move from 'knowing the syntax' to 'can do useful stuff'.
bypaskie ( 539112 ) writes:
Make a game. Or contribute to an existing open source game. You can easily set and adjust the scope and depth of the project so that it's fun and challenging. Chances are, you already play some games you like, and chances are you can get inspired for your own game project there. And perhaps others will even find it fun to play.
Somehow, when I get playing a game for any period of time, sooner or later I slowly switch to hacking the codebase as it ends up being even more fun. :-) If you're interested in b
byi.r.id10t ( 595143 ) writes:
Yup, simple implementations of games you know. I like cards - dealing a poker hand, determining what hand it is, comparing with other hands, determining winner. Then run it in a loop a few thousand times, recording results to a database, or a csv file, or ...
bywoboyle ( 1044168 ) writes:
Software is all about relationships between different bits of code, structures (classes), and behaviors. There are tools that can take a bunch of code and turn it into graphical models that help understand better how this stuff works together and is related. The modeling language is called UML. One great tool I use is called Enterprise Architect from Sparx Systems (an Australian company). I frequently use it to generate UML models from source code in order to better understand it. It isn't expensive (full p
bycrgrace ( 220738 ) writes:
When I was in graduate school I had to write a C program to simulate the operation of a small custom microprocessor. It was a truly fascinating experience (and not terribly difficult). You can start with something really simple like a MIPS variant and go from there. I actually had to write several simulators at different levels of abstraction (one only simulated the instruction set, another simulated down to the microcode, etc). Just simulating a small instruction set is a great way to get started.
The cool part of this kind of project is it gets you learning so many different things out of necessity. To run assembly code on my C-based microprocessor simulation I had to learn to write assembly language programs. Then I had to learn how to write an assembler (I did it in C but if I were doing it today I would use Perl or Python) to generate object code for my microprocessor simulation.. Then to debug the microprocessor I needed to write a disassembler and so on.
The microprocessor was microcoded so I also got to learn how to write microcode to verify fine details of the microprocessor. I got some great insight to computer arithmetic and really enjoyed it.
I can't tell you what a cool experience it is to see a simple assembly code you wrote run on a microprocessor simulation you wrote. This can lead to getting involved in emulation but I didn't do that. I'm in the chip design business now so I write simulations and models of all kinds of analog and digital circuits and it is a blast.
twitter
facebook
byFubari ( 196373 ) writes:
crgrace: r.e. micoprocessor simulator, that is a smashing idea... it sounds very cool.
orignal poster (an anonyous reader): Let's assume you're doing this for fun - as a hobby.
car analogy: I read that you don't need to know how an engine works to drive a car, but a good racers will know something about engines.
So... if you want to really learn programming, learn some assembler - doesn't have to be a lot, but every little bit you do learn will help you. Simpler chips are probably better to get started w
byAnonymous Coward writes:
One small project that also gives you a useful tool is building a really simple web front-end for a database. I'm not talking about anything complex like a CRUD layer, just an HTML form with a multi-line input box where you type your query; then when you submit the form, produce an HTML table with the result rows/columns.
To get started, you don't need a database server - you can just use SQLite. You also don't need a web framework - you can just do it as a CGI script initially. Then once you have somethi
byjrumney ( 197329 ) writes:
For kicks, enter ;DROP TABLE *; on the end of one of your input fields, and discover why you shouldn't attempt something like this in public without CRUD layers and web frameworks.
byharperska ( 1376103 ) writes:
Try adding new features to your existing simple projects. If for example you are a musician, your beginner project might have been a simple metronome app. You could then hone your UI skills by creating a new interface for easier dialing in a tempo rather than the simple text field widget you used initially. Or you could try enhancing it to accent the downbeat for various time signatures (for which you will also need to come up with more advanced UIs). Then you can enhance the beat generation code even furth
byjbolden ( 176878 ) writes:
I'd go for the classic medium and I want to get better SICP.
Online course: http://ocw.mit.edu/courses/ele... [mit.edu]
Online book + problems +... http://mitpress.mit.edu/sicp/ [mit.edu]
This book more than any other will take your programming to a new level.
twitter
facebook
byporsche911 ( 64841 ) writes:
If you are really trying to get to an "intermediate" level you could start doing simple data structures and algorithms. Learn the classic sorting routines, linked lists, etc. Once you understand those you can start seeing how they are used in large programs. Look at some of the annotated programs -- the Lion's book on Unix is a good collection of readings to see how an operating system is structured for example. Games are a great way to develop your skills but you may not have enough background yet to get v
byMurdoch5 ( 1563847 ) writes:
Grab a C compiler like GCC and program a simple game, a torrent defense game us a good challenge, After that grab a micro-controller and write a simple real time operating system.
byWrexs0ul ( 515885 ) writes:
You'll learn a ton, many of them no longer suck, and it can definitely speed-up the development time of future projects.
On the web I work primarily with PHP and for a long time the frameworks weren't any better than reusing my own class libraries. These days there's some very comprehensive ones that do things faster and simpler than I do already, and have been well worth my time to get better at.
A quick Google search shows there's some mature ones for different use cases of Python as well. Research a few an
byJMZero ( 449047 ) writes:
Specifically, try doing past algorithm competitions - probably starting with their High School level competitions (that may sound insulting, but there's some very good programmers in that division). Once you've done some TopCoder, the data manipulations and calculations you do in "normal" programming will seem really easy. And they always post good solution explanations (or you can look at other people's solutions) to get you started.
Algorithm work like this isn't the end and and be all of programming, bu
byplopez ( 54068 ) writes:
Its a good segue into Java, which is marketable, and advanced OO techniques. The name is unfortunate but it is very useful. It is in fact said it should have been named JavaScript, but the name was taken.
What does intermediate mean? I am not sure. But I would first ID what sorts of problems interest me and then start chipping away at simpler sub-problems related to those problems or problem domains. The as time went on take on more challenging problems in the same problem domain.
byraymorris ( 2726007 ) writes:
It's really hard to suggest specific projects because "intermediate" is such an imprecise term. Stay away from anything security sensitive, especially WEB FACING security sensitive applications. Web scripts get attacked several times per day.
Other than that, something that can really teach you a lot in a short time is to become familiar with a low-level language like C (not C++). Even if you don't USE C much, being familiar with it will let you understand your Python code so much better - you'll know WHY s
byAdam Colley ( 3026155 ) writes:
When I find my code in tons of trouble,
Friends and colleagues come to me,
Speaking words of wisdom:
"Write in C."
As the deadline fast approaches,
And bugs are all that I can see,
Somewhere, someone whispers:
"Write in C."
Write in C, Write in C,
Write in C, oh, Write in C.
LOGO's dead and buried,
Write in C.
I used to write a lot of FORTRAN,
For science it worked flawlessly.
Try using it for graphics!
Write in C.
If you've just spent nearly 30 hours
Debugging some assembly,
Soon you will be glad to
Write in C.
Write in C, Write in C,
Write in C, yeah, Write in C.
Only wimps use BASIC.
Write in C.
Write in C, Write in C
Write in C, oh, Write in C.
Pascal won't quite cut it.
Write in C.
Write in C, Write in C,
Write in C, yeah, Write in C.
Don't even mention COBOL.
Write in C.
twitter
facebook
byAnonymous Coward writes:
You misspelled Go.
byAdam Colley ( 3026155 ) writes:
There is no Go.
Probably just as well, someone might consider it harmful.
bygmhowell ( 26755 ) writes:
There is no Go.
Probably just as well, someone might consider it harmful.
Only v2.
bySoft ( 266615 ) writes:
You misspelled Go.
You mean Brand X [cowlark.com]?
byBilly the Mountain ( 225541 ) writes:
Hard to suggest because you don't have a stated goal.
I think you would be challenged by working with selenium and webdriver to control web browsers for developing web tests. This will involve learning xpath which is recommended knowledge if you don't know it. This skillset is marketable, I might add.
bymanu0601 ( 2221348 ) writes:
A nice way to learn is to fix bugs in software you use. You will get familiar with the software architecture, and if it is well written, you may get good habits.
byEmperorOfCanada ( 1332175 ) writes:
The two bits of advice that I have given to a zillion beginning and intermediate programmers are games and ProjectEuler. First project euler is great because it will exercise your math abilities and problem solving abilities in any given language. Few CS people realize how powerful properly applied mathematics can be. PU will get you in tune with that ability.
Secondly I recommend making some games. Pacman, space invaders, something 3D. They don't have to be good. But ideally you move onto multi player.
Basically if you can make a multi-player multi-platform pacman in an isometric view in OpenGL driven 3D with a server(SQL/NoSQL) driven leaderboard with a distrubution/installer module for each platform then you are done. There isn't a whole lot of programming that you can't do.
Not to mention your friends will think that you are a whole lot cooler making a game than when you try to explain the challanges of problem 132 in Project Euler.
Many people here are mentioning Arduino (which I love) it is a cool thing to add to your resume but unless you do something fairly strange then it won't expand your programming skills much. Arduino programming is usually fairly straight forward act / react. Although dealing with crappy sensor data and having motors not do exactly what you meant and then having to compensate is both frustrating and oddly satisfying.
twitter
facebook
bytomhath ( 637240 ) writes:
When I moderated a programming forum that had a fair number of beginners I was impressed by how many were implementing systems to keep track of their leagues - Bowling, Golf, Football (soccer), whatever. Pick one and write a system to manage the rosters, schedule, stats, etc.
byjones_supa ( 887896 ) writes:
A really basic and powerful thing to learn: grit! It has helped me tremendously. Continue humbly improving your project, source file after source file, and never give up. Learn to finish a project properly from start to beginning. You will need this skill anyway, when you ultimately delve into the bigger projects, as they tend to get rather complex. But complexity can be managed too, so don't worry about it too much.
byCharliemopps ( 1157495 ) writes:
Write a calculator.
Sounds easy right?
Good luck.
twitter
facebook
bythatkid_2002 ( 1529917 ) writes:
Stop thinking in terms of difficulty levels and programming problems. Go out there and just do stuff, easy or hard, with the objective of making something meaningful happen. Have another look at Open Source - maybe you don't grok open source and the ecosystem yet, but give it a bit more time and start with the simplest bugs rather than feature development.
Something that I have found particularly helpful is having a go at using open source tools and libraries and then when you find something hard to use (and with a lot of swearing, eventually understand it) go and write a tool or a library to make it easier. There's so many rough edges out there that you can smooth out and these problems tend to have a fairly confined complexity in my experience. You've already started this with your scripting so take it to the next level.
twitter
facebook
byrover42 ( 2606651 ) writes:
There are a number of problems that are often used as exercises. Textbooks at any level from high school to grad school have examples; here are a few off the top of my head:
Games: start with something really easy like tic-tac-toe, then try more interesting games.
8 queens: put 8 queens on a chessboard so that none of them checks any other. The easy version is to just find one solution. It gets a lot harder if you want to do it efficiently and/or find all possible solutions. Doing it in reasonable time fo
bydigitalhermit ( 113459 ) writes:
I'm trying to do a similar thing. I'm pretty decent with Perl (or at least used to be) and know enough C and Java to get myself in trouble. I'm trying to learn Python now.
So... my other hobby is video production. One of the things that's expensive to do is to track a camera so that that it can be replayed to CGI software. This allows almost seamless effects. For example, film an object against a green screen as the camera pans. In normal chromakey, it's quite obvious because the background doesn't track the
byrover42 ( 2606651 ) writes:
You want to use Python, which is a good language for text manipulation. That suggests various projects based on scanning through text.
Take any interesting large piece of open source software. How many switch() statements lack a default: case for error handling? You can get a first approximation with a few lines of shell & grep, but doing it right would need a language like Python and a moderate amount of work. What else would be easy to check?
Take text samples from several different news sources. Ho
bykeith_nt4 ( 612247 ) writes:
You didn't say directly which OS you're programming on but I'm going to infer it's Linux (common I think with python/open source types). Since one thing I did recently was root my galaxy nexus with the windows-only Wug's Nexus Root Toolkit [xda-developers.com] I would suggest creating something similar to this for Linux. It always seemed strange to me that so many Android rooting tools were windows-exclusive. Doesn't have to be for a galaxy or nexus device obviously, any/all models of android/I'll leave that up to you. This par
bygeminidomino ( 614729 ) writes:
It always seemed strange to me that so many Android rooting tools were windows-exclusive.
They're generally just front-ends for adb and fastboot (and possibly curl, if they fetch the files, too), because average windows users are afraid of command lines. The equivalent tool in linux would be little more than a very small shell script.
bymrzaph0d ( 25646 ) writes:
to start something you're not sure you can finish. i wrote a framework in perl to generate some pdf reports, complete with graphs and automated text. took me quite a while, and a lot of "i'll come back to this part later". i went from the script being used to piece together bash/shell commands, to it doing everything.
but the point is, i kept at it. taking a little part at a time and futzing around with it till it worked a little better.
bymveloso ( 325617 ) writes:
If you need an easy problem that quickly turns into a nightmare, try writing a program that allows the user to map one set of database/data structure/XML fields to another set of database/data structure/XML fields.
For bonus points the user can use javascript to do the transform, as well as using a nice GUI.
byFuzzNugget ( 2840687 ) writes:
You're asking the wrong question. Programming isn't an end in itself, it's a means to an end. Ask yourself what practical application you want to accomplish, then teach yourself the appropriate language.
Personally, I always liked website development. I like that I can keep my fingers in a few pies that I enjoy -- graphic design, sometimes photography, the occasional copy writing and the code to put it all together. So, naturally, I gravitated towards PHP, JavaScript, HTML and CSS (OK, those last two aren't really programming). I'll admit, I like the instant feedback and gratification of interpreted languages.
So come up with an end goal that interests you, then do some research to find the best language(s) suited to the task. If it seems too complicated, scale back your ambitions a bit until you find something suitably challenging without being overwhelming, then work your way up. You'll find that many of the skills and principles you learn from one language translate pretty quickly to others.
twitter
facebook
byCulture20 ( 968837 ) writes:
Make some character generators, weather generators, dungeon generators or the like. Slow or involved number crunching for your games that is drudgery on paper but easy with a program. Mass combat resolution using old D&D WarMachine rules and a spellbook generator were my first mid-range projects outside of school projects (which were much more involved).
byfrovingslosh ( 582462 ) writes:
Do the pretty impossible ones. It is a lot more fun and you will learn a lot more.
bySquiggle ( 8721 ) writes:
If you like Python you might like Ruby too (I love em both). I always wished I had learned Ruby with ruby warrior:
https://www.bloc.io/ruby-warri... [www.bloc.io]
https://github.com/ryanb/ruby-... [github.com]
byfunwithBSD ( 245349 ) writes:
I would suggest writing a DB app to organize your CDs.
Oh well.
byHorshu ( 2754893 ) writes:
How about a Core War [wikipedia.org] simulator? It's essentially writing a very, very simple operating system, so it's easier than a full OS or compiler-level project, it's graphical, so it's got visual feedback, is a game, so it's fun, has TONS of "unit tests" in the form of 30 years of programs.
byExtide ( 1002782 ) writes:
When I am learning a new language, I usually try to think of something cool to do, that would be pretty difficult, and then challenge myself to actually do it. Using the many resources available on the web you should be able to figure out any problem you run across. I am personally more into utility type apps, so that's the sort of things I have done, but if you are more into games or whatever you can do that too.
byFlyingGuy ( 989135 ) writes:
Write all the parts...:
●Insertion Function
●Deletion Function
●Traversal Function
●Search Function
●Sort Function
●Save to Disk Function
●Load from Disk Function
You can do this in C. C comes with EVERY Linux distribution so no additional parts or bits required. If you can do this, you really can do most anything and further more you will understand some of the more advanced concepts of computer programming, one of the most important is Memory Management. Now I know that with languages like Java you are far removed
byGhjnut ( 1843450 ) writes:
http://codegolf.stackexchange.... [stackexchange.com]
byKingOfBLASH ( 620432 ) writes:
Fractals [wikipedia.org] are complex images generated out of amazingly simple algorithms and math.
You can quite easily go from easy to sophisticated solution, you'll get exposure to different aspects of programming, and it's something you could spend as little or as much time as you'd like. They literally go on for infinity so in addition to the mandelbrot set and the julia set that you have probably seen a million times before, you can create many amazing different images from them.
Plus you'll get a "cool man" feeling when you print up a giant psychedelic sized poster and people visiting comment on how awesome it looks.
twitter
facebook
bysirlark ( 1676276 ) writes:
If you are into learning, and don't already have a specific goal you can work towards, I strongly suggest re-inventing the wheel, specifically the file manager wheel, it covers a LOT of ground and will earn you invaluable experience. After writing one you will have solid experience in
(一)File management, and filesystems
(二)GUI coding and almost all of the common widgets
(三)or you could do a text based file manager, up to you
(四)Basics like arrays (lists), mappings (dictionaries), structures (no real equivalent in python,
byjcomeau_ictx ( 696704 ) writes:
besides those already mentioned, codechef.com is good for a beginner; so, I understand, is spoj.com though I haven't tried them. topcoder.com isn't bad either.
byDan Askme ( 2895283 ) writes:
Grab yourself :
- Qt http://qt-project.org/ [qt-project.org]
- Bass API http://www.un4seen.com/bass.ht... [un4seen.com]
Get coding. Make it a simple MP3 player, or, expand on it until your hearts content.
Qt is great for making quick apps and learning a bit of C++ in the process.
The rest of time, you'll be learning "Qt functions", not a bad thing, as it pretty much contains everything you'll need to make a cross platform GUI program. Qt is quick to learn, very simple compared to most things out there.
If you prefer Visual Studio, or prefer mo
bymartin-boundary ( 547041 ) writes:
The best way to learn to swim is jumping into the deep end. It forces you
to find within you the means to do it, no matter what.
Same thing with programming. Forget that intermediate stuff bullshit. Jump into the deep end, and learn to code or sink trying. Either way, you'll know what your limits are, fast.
byRequired Snark ( 1702878 ) writes:
Learn a language that is different then other languages that you know.
Chances are that all of the software you know is written in an imperative language that is derived from C. It's pretty much any language that uses curly brackets: {} Note that even Python and JavaScript share a lot of concepts with C.
Try a Lisp family language to get exposed to functional programming. Scheme has already been mentioned via SICP. Or go further with functional programming and do ML, Ocaml, Haskell, F#, Scala.
Prolog. Dec
by140Mandak262Jamuna ( 970587 ) writes:
Find a open source project that you like. Down load the sources and build. Go through bug reports and start fixing bugs. Pretty soon you will be working on code with tons of dependencies, but most of them are already written and supported. By and by you would end up almost "owning" a serious chunk of code.
byKimomaru ( 2579489 ) writes:
I think the best answer is to start off asking yourself the question, "What are you interested in building". Technology and programming languages should be thought about after you figure out what you want to build. It doesn't make sense to think about what kind of building materials your interested in using before you know what kind of house you want to build, right? If you want to build an open source based dynamic web site, for example, then you will need to learn some Apache, PHP (probably), CSS, MySQ
byNewWorldDan ( 899800 ) writes:
The SpamBayes email filter hasn't been updated in forever. The actual filtering part works great. The problem that needs solving is that it needs to be updated for Outlook 2013 (using the Ribbon) and for 64 bit platforms. It's open source, and written in Python.
http://spambayes.sourceforge.n... [sourceforge.net]
byfzammett ( 255288 ) writes:
As someone who's been programming for right around 30 years, more than 20 of it professionally, and has written a number of books along the way, I get asked for advice fairly often. One of the questions I get asked most is a variation on this one... for me, the answer is always the same: WRITE A GAME!
What developers often don't realize is that few programming projects touch on as wide a range of topics and disciplines as games do. Things like data structures, AI, file handling, input processing, obviously
bydjchristensen ( 472087 ) writes:
I recently had to refresh my C++ skills, so I decided to write a sudoku solver. The neat thing about this particular problem is that it can be as complex as you want it to be. There are a large number of techniques available to solve increasingly difficult puzzles (check the sudoku wiki if you aren't an avid fan of sudoku), and you can implement as many of them as you want as optimizations before resorting to brute force. You can further challenge yourself by setting different requirements. For example,
byMrResistor ( 120588 ) writes:
Seriously. Every huge, impossible project is made up of a bunch of smaller projects that are totally doable, plus maybe a couple that are actually hard. Divide and conquer is one of the most important skills you can develop as a programmer. Start with the first easy thing you can think of that you'll need to do before you get to the big hard thing, and get some code on the screen. Keep doing that. Pretty soon you'll find you have most of it done.
And as for the reading thing, you should expect to be spending
bybzipitidoo ( 647217 ) writes:
I find a hexadecimal dump utility to be an easy starter project for a new language. You have to learn how that language handles file I/O, the program will be short, probably under 20 lines, and the utility can actually be useful. Can also whip up a program to do the reverse. Occasionally I've worked on bare bones UNIX systems like old versions of HP-UX that didn't have all kinds of handy utility programs, but did at least have a C compiler.
byAdam Colley ( 3026155 ) writes:
You're an arrogant fool and would be downvoted if I'd not already posted on this article.
I taught myself programming on Z80 and 6502 machines many years ago and I could lose and find a lot professional programmers these days. University graduates in particular seem to have no idea how the systems work, god knows why, you'd think they'd teach the basics but apparently not everywhere!
Do you wear a suit to work? You sound like you do.
There may be more comments in this discussion. Without JavaScript enabled, you might want to turn on Classic Discussion System in your preferences instead.
●
248 commentsAsk Slashdot: Do You Use AI - and Is It Actually Helpful?
●
192 commentsAsk Slashdot: Where Are the Open-Source Local-Only AI Solutions?
●
191 commentsAsk Slashdot: How Important Is It For Programmers to Learn Touch Typing?
●
181 commentsAsk Slashdot: Who's Still Using an RSS Reader?
●
179 commentsAsk Slashdot: What Would It Take For You to Trust an AI?
Dropbox and Box Leaked Shared Private Files Through Google
Comcast: Destroying What Makes a Competitive Internet Possible
Slashdot Top Deals
Slashdot
●
●
of loaded
●
Submit Story
If A = B and B = C, then A = C, except where void or prohibited by law.
-- Roy Santoro
●FAQ
●Story Archive
●Hall of Fame
●Advertising
●Terms
●Privacy Statement
●About
●Feedback
●Mobile View
●Blog
Do Not Sell or Share My Personal Information
Copyright © 2026 Slashdot Media. All Rights Reserved.
×
Close
Working...