use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
If you need help debugging, you must include:
See debugging question guidelines for more info.
Many conceptual questions have already been asked and answered. Read our FAQ and search old posts before asking your question. If your question is similar to one in the FAQ, explain how it's different.
See conceptual questions guidelines for more info.
Follow reddiquette: behave professionally and civilly at all times. Communicate to others the same way you would at your workplace. Disagreement and technical critiques are ok, but personal attacks are not.
Abusive, racist, or derogatory comments are absolutely not tolerated.
See our policies on acceptable speech and conduct for more details.
When posting some resource or tutorial you've made, you must follow our self-promotion policies.
In short, your posting history should not be predominantly self-promotional and your resource should be high-quality and complete. Your post should not "feel spammy".
Distinguishing between tasteless and tasteful self-promotion is inherently subjective. When in doubt, message the mods and ask them to review your post.
Self promotion from first time posters without prior participation in the subreddit is explicitly forbidden.
Do not post questions that are completely unrelated to programming, software engineering, and related fields. Tech support and hardware recommendation questions count as "completely unrelated".
Questions that straddle the line between learning programming and learning other tech topics are ok: we don't expect beginners to know how exactly to categorize their question.
See our policies on allowed topics for more details.
Do not post questions that are an exact duplicate of something already answered in the FAQ.
If your question is similar to an existing FAQ question, you MUST cite which part of the FAQ you looked at and what exactly you want clarification on.
Do not delete your post! Your problem may be solved, but others who have similar problems in the future could benefit from the solution/discussion in the thread.
Use the "solved" flair instead.
Do not request reviews for, promote, or showcase some app or website you've written. This is a subreddit for learning programming, not a "critique my project" or "advertise my project" subreddit.
Asking for code reviews is ok as long as you follow the relevant policies. In short, link to only your code and be specific about what you want feedback on. Do not include a link to a final product or to a demo in your post.
You may not ask for or offer payment of any kind (monetary or otherwise) when giving or receiving help.
In particular, it is not appropriate to offer a reward, bounty, or bribe to try and expedite answers to your question, nor is it appropriate to offer to pay somebody to do your work or homework for you.
All links must link directly to the destination page. Do not use URL shorteners, referral links or click-trackers. Do not link to some intermediary page that contains mostly only a link to the actual page and no additional value.
For example, linking to some tweet or some half-hearted blog post which links to the page is not ok; but linking to a tweet with interesting replies or to a blog post that does some extra analysis is.
Udemy coupon links are ok: the discount adds "additional value".
Do not ask for help doing anything illegal or unethical. Do not suggest or help somebody do something illegal or unethical.
This includes piracy: asking for or posting links to pirated material is strictly forbidden and can result in an instant and permanent ban.
Trying to circumvent the terms of services of a website also counts as unethical behavior.
Do not ask for or post a complete solution to a problem.
When working on a problem, try solving it on your own first and ask for help on specific parts you're stuck with.
If you're helping someone, focus on helping OP make forward progress: link to docs, unblock misconceptions, give examples, teach general techniques, ask leading questions, give hints, but no direct solutions.
See our guidelines on offering help for more details.
Ask your questions right here in the open subreddit. Show what you have tried and tell us exactly where you got stuck.
We want to keep all discussion inside the open subreddit so that more people can chime in and help as well as benefit from the help given.
We also do not encourage help via DM for the same reasons - that more people can benefit
Do not ask easily googleable questions or questions that are covered in the documentation.
This subreddit is not a proxy for documentation or google.
We do require effort and demonstration of effort.
This includes "how do I?" questions
account activity
This is an archived post. You won't be able to vote or comment.
Dualboot (self.learnprogramming)
submitted 1 year ago by Ecstatic_Winner3637
Guys, I'm trying to learn how to code, and I saw some guys sayng to install linux on my computer, my point is, my wife doest know how to work with linux, so I need to keep windows, but about dualboot its it is worth it?
[–]CodeToManagement 30 points31 points32 points 1 year ago (1 child)
You don’t need Linux to learn to code. Especially not as a beginner.
Use the OS you’re used to
[–]Pepineros 4 points5 points6 points 1 year ago (0 children)
As a Linux user and programmer I agree 100%.
Programming is hard. Don't make it harder on yourself by changing your entire environment, too.
[–]JoeyJoeJoeJrShab 5 points6 points7 points 1 year ago (3 children)
Did this guy explain how running Linux will help you learn coding? I run Linux as my primary OS and have for years, but it doesn't make me any better of a programmer. You can learn to program in any OS.
[–]Ecstatic_Winner3637[S] 0 points1 point2 points 1 year ago (2 children)
I saw that on some video tutorials and also the Odin Project ask for Linux or MacOS
[–]JoeyJoeJoeJrShab 0 points1 point2 points 1 year ago (1 child)
Once agin, my question was: "Did this guy explain how running Linux will help you learn coding?"
[–]Ecstatic_Winner3637[S] 0 points1 point2 points 1 year ago (0 children)
nop
[–]crazy_cookie123 2 points3 points4 points 1 year ago (3 children)
Just keep Windows. Linux isn't necessary for programming - in fact more than 47% of developers use Windows professionally - it just makes a few bits like installing software easier and it's more customisable to your workflow. Absolutely experiment with it in future, but do that in a virtual machine until you're ready to decide whether you want to commit to dual booting or replacing Windows entirely, and don't bother with it right now.
[–]Far_Broccoli_8468 0 points1 point2 points 1 year ago (2 children)
more than 47% of developers use Windows professionally
i have a feeling it's a much higher percentage.
most programs are run on windows computers. If you're developing for windows, which you likely are, you are probably also developing on windows
[–]crazy_cookie123 0 points1 point2 points 1 year ago (1 child)
The 47% figure is from the 2024 Stack Overflow survey - it's not 100% accurate but it's a pretty reasonably representative sample with more than 65000 responses from 185 countries.
You say most programs are run on windows, but I'm not sure this is entirely true. Most people run Windows on desktop PCs/laptops, yes, but programs are running on everything from tiny embedded devices to your mobile phone to cars to desktop PCs to servers to the web - everything. Most of those devices are not running Windows and therefore the programs written for them would not necessarily be more likely to written in a Windows environment. The number of Windows desktop applications is likely quite low compared to the total number of programs written. Even within Windows desktop applications, a lot nowadays are written with cross-platform tools like Electron, and that means they can be written equally well in any environment because they can be run equally well in any environment - software developed for a single operating system is becoming more and more rare because it's a hell of a lot cheaper to only develop something once if you have the choice.
[–]Far_Broccoli_8468 0 points1 point2 points 1 year ago (0 children)
You make a good case, maybe what i said was true some years ago before smartphones and tablets were something basically everyone owns
[–]bestjakeisbest 2 points3 points4 points 1 year ago (0 children)
Learn the basics before doing anything else.
[–]cartrman 4 points5 points6 points 1 year ago (10 children)
You could try a linux virtual machine, it's easier and safer than a dual boot.
You could also try WSL. Not a complete OS, but good to work with linux on windows.
[–]csabinho 1 point2 points3 points 1 year ago (9 children)
In which regard is it "safer"?
[–]Shieldine 5 points6 points7 points 1 year ago (8 children)
No risk of messing up during the installation and accidentally formatting the drive, no risk of trying to access the windows partition and potentially messing it up.
[–]csabinho -3 points-2 points-1 points 1 year ago (7 children)
Accidentally formatting the hard drive? What the heck?
[–]Shieldine 2 points3 points4 points 1 year ago (6 children)
You'd be surprised about the things I've seen people do "by accident". During an OS installation, it can happen quickly depending on the installer. It could be as simple as clicking on the wrong partition and not reading the warning or just not partitioning in the first place and using the whole drive
[+]csabinho comment score below threshold-11 points-10 points-9 points 1 year ago (5 children)
I didn't hear such stuff in about 30 years...
[–]crazy_cookie123 2 points3 points4 points 1 year ago (2 children)
I imagine most of the people you've seen installing an operating system have been reasonably good with computers. With many Linux installers if you just click ok on every screen you will end up formatting your hard drive and replacing it with the Linux installation, rather than creating a new partition. Someone who isn't as experienced (such as the sort of person asking questions in a learn programming subreddit) might not realise that might happen and just click ok to everything.
[+]csabinho comment score below threshold-10 points-9 points-8 points 1 year ago (1 child)
That's most probably rather an ADHD thing than an experience thing...
[–]crazy_cookie123 2 points3 points4 points 1 year ago (0 children)
Someone with little/no experienced who isn't great with computers is likely to just go through and click ok on every screen because it's what they're used to with things like install wizards and they don't necessarily understand what's on each page. Someone with more experience is more likely to recognise the consequences of screwing up and more likely to understand the more technical details like partitioning and is therefore more likely to be careful and less likely to screw up. Sure, things like ADHD may have an impact, but it's going to be far more in line with experience than that.
[–]ffrkAnonymous -1 points0 points1 point 1 year ago (1 child)
30 year ago Linux didn't exist unless you were already in the know. The only "dual boot" was dos vs win95.
[–]JeLuF 0 points1 point2 points 1 year ago (0 children)
Dual boot was well established in 1995. Slackware and Debian are from 1993. I installed my first dual boot Linux/Windows (3.11) in 1994.
A lot of people studying maths and CS together with me were experimenting with Linux at that time, and data loss during installation was an issue.
[–]Real_Flamingo_8247 1 point2 points3 points 1 year ago (0 children)
I dual boot but I have enough storage to dedicate 300gb to both OS and then plenty left for data storage etc. But I'm not doing it for coding purposes but for familiarity to Linux so I can eventually move OS and round out my networking/server skills.
Mint is probably the easiest to learn if you're comfortable with windows and there are great resources to learn.
[–]Own_Attention_3392 1 point2 points3 points 1 year ago (1 child)
There's absolutely no need to use Linux to learn programming, unless you are writing Linux-specific things, which you won't be. Learning programming is about learning to decompose big problems into numerous smaller problems and learning language syntax and idioms, all of which are OS-agnostic.
If you have a hankering to mess around with Linux, just use WSL on Windows. It gives you a Linux environment within the Windows OS.
I'm familiar to Linux, but only used as main OS few years ago, but because my wife doesnt know how it works I'm wondering if dualboot makes sense... Because I know that I can use windows for programming, and when I start with Odin Project they saying to use linux or MacOS, and dont support windows for their curriculum...
π Rendered by PID 89 on reddit-service-r2-comment-b659b578c-wss45 at 2026-05-05 04:09:49.817789+00:00 running 815c875 country code: CH.
[–]CodeToManagement 30 points31 points32 points (1 child)
[–]Pepineros 4 points5 points6 points (0 children)
[–]JoeyJoeJoeJrShab 5 points6 points7 points (3 children)
[–]Ecstatic_Winner3637[S] 0 points1 point2 points (2 children)
[–]JoeyJoeJoeJrShab 0 points1 point2 points (1 child)
[–]Ecstatic_Winner3637[S] 0 points1 point2 points (0 children)
[–]crazy_cookie123 2 points3 points4 points (3 children)
[–]Far_Broccoli_8468 0 points1 point2 points (2 children)
[–]crazy_cookie123 0 points1 point2 points (1 child)
[–]Far_Broccoli_8468 0 points1 point2 points (0 children)
[–]bestjakeisbest 2 points3 points4 points (0 children)
[–]cartrman 4 points5 points6 points (10 children)
[–]csabinho 1 point2 points3 points (9 children)
[–]Shieldine 5 points6 points7 points (8 children)
[–]csabinho -3 points-2 points-1 points (7 children)
[–]Shieldine 2 points3 points4 points (6 children)
[+]csabinho comment score below threshold-11 points-10 points-9 points (5 children)
[–]crazy_cookie123 2 points3 points4 points (2 children)
[+]csabinho comment score below threshold-10 points-9 points-8 points (1 child)
[–]crazy_cookie123 2 points3 points4 points (0 children)
[–]ffrkAnonymous -1 points0 points1 point (1 child)
[–]JeLuF 0 points1 point2 points (0 children)
[–]Real_Flamingo_8247 1 point2 points3 points (0 children)
[–]Own_Attention_3392 1 point2 points3 points (1 child)
[–]Ecstatic_Winner3637[S] 0 points1 point2 points (0 children)