我该如何学习编写程序?

时间:2021-03-03 00:16:36

I want to learn how to program computers. I like to think I'm more experienced with computers than the average person, I use the command prompt every day and I know how to access the command line in the command prompt but I have no idea what programs I should start with and what language to use. Would I be better off downloading a language or using one of the programs on my computer like the command line or vbscript?

我想学习如何编程计算机。我觉得我对计算机比一般人更有经验,我每天都使用命令提示符,我知道如何在命令提示符下访问命令行,但我不知道应该从哪个程序开始,用什么语言使用。下载某种语言或使用我的计算机上的某个程序(如命令行或vbscript)会更好吗?

I downloaded C# this morning and already wrote two programs. They were small console programs but I'm learning fast and getting familiar with the language.

我今天早上下载了C#,已经编写了两个程序。他们是小型的控制台程序,但我学得很快,熟悉这门语言。

21 个解决方案

#1


Assuming you're running Windows, Microsoft now offers Express versions of their VisualStudio products. I suggest you take a look at those and download and start with one that you feel comfortable with. In my opinion, you should probably start with C# since that's a little easier than C++, but just as powerful and there are a lot of great tutorials and sample code out on the net. Plus, the express versions of VisualStudio are partially designed for learning/introduction to the application and programming in general, so they come with a lot of "getting started" documentation.

假设您正在运行Windows,Microsoft现在提供其VisualStudio产品的Express版本。我建议你看一下这些并下载并开始一个你觉得舒服的。在我看来,你可能应该从C#开始,因为它比C ++更容易,但同样强大,网上有很多很棒的教程和示例代码。此外,VisualStudio的快速版本部分设计用于学习/介绍应用程序和编程,因此它们附带了大量“入门”文档。

Once you have done a few tutorials, join an open source project in an area that you're interested in, or just start writing small applications for your own use. Practice, practice practice :)

完成一些教程后,加入您感兴趣的区域中的开源项目,或者开始编写小型应用程序供您自己使用。练习,练习:)

You can find the VisualStudio express downloads here, along with a lot of other good resources.

您可以在此处找到VisualStudio快速下载以及许多其他优质资源。

#2


In my opinion, the best way to learn coding on your own is to make something you actually want to use. I find it is easy to lose your momentum when your only motivation is trying to learn something.

在我看来,自己学习编码的最好方法是制作你真正想要使用的东西。当你的唯一动机是试图学习某些东西时,我发现你很容易失去动力。

Find something you're interested in making - like a game, a website, a browser extension, IRC bot, whatever - and from there, do research on how to make what you want.

找到你感兴趣的东西 - 比如游戏,网站,浏览器扩展,IRC机器人,等等 - 从那里开始研究如何制作你想要的东西。

Taking a class is also good, if your school offers them.

如果你的学校提供​​课程,上课也很好。

#3


It's really wise to take a class if you're ready to learn programming from scratch.

如果你准备从头学习编程,那么上课是非常明智的。

You're always going to be self-learning when you're a programmer, but it's easy to develop some bad habits if you don't have the fundamentals presented to you.

当你是一名程序员时,你总是会自学,但是如果你没有提供给你的基础知识,就很容易养成一些坏习惯。

Some people will say to learn C first, some say learn a scripting language first. My advice is get in the habit of learning whatever tool is right for the situation, and get in the habit of not being stuck on one language or solution.

有些人会先说学习C,有人说先学习脚本语言。我的建议是养成学习任何适合这种情况的工具的习惯,并养成不被困在一种语言或解决方案上的习惯。

If your high school doesn't have a programming class, then ask your mom (or whoever) to help you research community college classes you could take.

如果您的高中没有编程课程,那么请您的妈妈(或任何人)帮助您研究您可以参加的社区大学课程。

Last... make sure you do some other things. Computer entertainment + programming can suck up your whole life. Learn how to do some other things too so you can live a well-rounded life.

最后......确保你做了一些其他事情。电脑娱乐+编程可以吸收你的一生。学习如何做其他事情,这样你就可以过上全面的生活。

#4


Get one of the HeadFirst Series books. They are really fun to read and you ll be surprised at how much you learn.

获取HeadFirst系列丛书之一。阅读起来真的很有趣,你会对你学到多少感到惊讶。

http://oreilly.com/store/series/headfirst.csp

#5


Have a look at Processing

看看Processing

It's very cool, was designed as a learning-friendly environment but is capable of producing Hollywood production level graphics effects (and has been). Very easy to get going in, loads of tutorials and example as well as advanced projects to inspire. It also uses Java syntax (so everything you learn will be useful when you do CSS later). One of my main ongoing regrets is I don't have as much time to play around with it myself as I would like.

它非常酷,被设计为一个学习友好的环境,但能够产生好莱坞生产水平的图形效果(已经)。非常容易进入,大量的教程和示例以及高级项目激发灵感。它还使用Java语法(因此,当您稍后执行CSS时,您学习的所有内容都将非常有用)。我的主要遗憾之一就是我没有足够的时间自己玩,就像我想的那样。

Processing is an open source programming language and environment for people who want to program images, animation, and interactions. It is used by students, artists, designers, researchers, and hobbyists for learning, prototyping, and production. It is created to teach fundamentals of computer programming within a visual context and to serve as a software sketchbook and professional production tool. Processing is an alternative to proprietary software tools in the same domain.

Processing是一种开源编程语言和环境,适用于想要编程图像,动画和交互的人。它被学生,艺术家,设计师,研究人员和业余爱好者用于学习,原型设计和制作。它的创建是为了在视觉环境中教授计算机编程的基础知识,并作为软件速写本和专业制作工具。处理是同一域中专有软件工具的替代方案。

Compared to every other suggestion you'll see Processing is your best chance of both teaching yourself good coding skills and allowing your imagination a chance to produce something that could turn heads - it delivers an amazing amount of bang for buck and you can display your labours online. Take a look though the examples - there are some amazingly cool, imaginative, programs there.

与其他建议相比,您将看到Processing是您最好的机会,既可以教自己良好的编码技巧,也可以让您的想象力有机会产生可以扭转头脑的东西 - 它可以带来惊人的收益,您可以展示您的工作线上。看看这些例子 - 那里有一些非常酷,富有想象力的节目。

#6


(assuming you are running windows)

(假设您正在运行Windows)

Pick a language

选择一种语言

  • I'ld go for Microsoft.NET C#.
  • 我去的是Microsoft.NET C#。

  • You can choose to make a console (command line), web or windows application
  • 您可以选择创建控制台(命令行),Web或Windows应用程序

  • The free IDE (basically a fancy editor) is awesome. http://www.microsoft.com/Express/
  • 免费的IDE(基本上是一个花哨的编辑器)很棒。 http://www.microsoft.com/Express/

  • You can choose VB.NET as well, some people find it easier to start there.
  • 您也可以选择VB.NET,有些人发现从那里开始更容易。

  • It's VERY easy to interact with databases (Access or SQL Server).
  • 与数据库(Access或SQL Server)交互非常容易。

  • You won't spend hours installing and configuring web servers or learning compiler command switches
  • 您不会花费数小时来安装和配置Web服务器或学习编译器命令开关

Pick a book

选一本书

  • Try something like Sams Teach Yourself ASP.NET 3.5 in 24 Hours or Learning C# to get you up to speed
  • 尝试像Sam在24小时内自学ASP.NET 3.5或学习C#这样的东西,让你加快速度

  • If you cannot afford a book, check out your local library.
  • 如果您买不起书,请查看当地的图书馆。

  • Spend a couple weeks working through the book and then you can start thinking about your own project.
  • 花几周时间完成本书,然后你就可以开始考虑自己的项目了。

#7


An alternate approach to the "try visual .net" comments here, there is a cross-platform scheme system and associated book that has been targeted particularly at people like you with some success. The book How To Design Progams is available free on the web and printed also, and the Dr. Scheme system is open source.

另一种“尝试视觉.net”的方法在这里评论,有一个跨平台的方案系统和相关的书籍,特别针对像你这样的人取得了一些成功。 “如何设计Progams”一书可以在网上免费获得并打印出来,Dr. Scheme系统是开源的。

The upside of this sort of approach is that it is a nice clean small design with some powerful tools to get you started, plus a vastly better textual approach that your typical "teach yourself X in Y days" technical book.

这种方法的优点在于它是一个很好的干净小巧的设计,有一些强大的工具可以帮助你入门,另外还有一个非常好的文本方法,你的典型“自学X天”技术书。

The downside is that you'll be starting off in a language (scheme) that while very nicely designed is not mainstream, and has a different approach that the c- family and related languages that dominate industry programming today. So while you'll be learning with a much nicer language (pedagogically speaking) you won't have so many sources of info.

缺点是你将开始使用一种语言(方案),虽然设计得很好并不是主流,并且有一种不同的方法,即c系列和相关语言在当今的行业编程中占主导地位。因此,虽然你将学习一种更好的语言(教学上讲),但你不会有这么多的信息来源。

If you follow this track you'll probably become a better programmer faster, but you'll be a bit isolated. When you do learn a more mainstream language or two, you won't make many of the same newbie mistakes as most.

如果你按照这个轨道你可能会更快地成为一个更好的程序员,但你会有点孤立。当你学习一种或多种主流语言时,你不会像大多数人那样犯很多相同的新手错误。

I guess it depends a lot what your long and short-term goals are.

我想这取决于你的长期和短期目标。

#8


Why the lucky stiff created a platform to teach kids ruby:

Hackety Hack

I think it's the best kid-friendly programming tutorial I've ever come across.

为什么幸运的僵硬创建了一个教孩子ruby的平台:Hackety Hack我认为这是我遇到的最好的儿童友好编程教程。

#9


A lot of universities and educational institutions tend to start their students off in script languages like JavaScript. Within this language you can practice techniques used in Object Oriented Programming. Once you start understanding the theory you can look at taking that theory over to Java and then maybe start on C/C++.

许多大学和教育机构倾向于以JavaScript等脚本语言开始学生。在这种语言中,您可以练习面向对象编程中使用的技术。一旦你开始理解这个理论,你就可以把这个理论带到Java上,然后再开始学习C / C ++。

A core understanding in the foundations of good solid programming you will be able to use and take into other languages and you will find the curve less steep as you progress.

在良好的可靠编程基础上的核心理解,您将能够使用并使用其他语言,随着您的进步,您会发现曲线不那么陡峭。

I would say above all though that I cannot recommend a career in programming highly enough.

我首先要说的是,我不能推荐足够高的编程职业。

That is only my opinion though,.

这只是我的看法。

:-)

Andrew

#10


A few years ago, I'd have said C++ too, but now I think C#, particularly given the vast range of free training material on the net.

几年前,我也说过C ++,但现在我认为是C#,特别是考虑到网上广泛的免费培训材料。

Visual Studio 2008 Express Editions

Visual Studio 2008速成版

It'll give you a good understanding of Object Orientation, developing in a UI and Intellisense will help.

它将使您对面向对象有很好的理解,在UI中进行开发并且Intellisense将有所帮助。

Enjoy !!

#11


I found that reading programs others have written really helped me learn how to write my own code.

我发现其他人编写的阅读程序确实帮助我学习了如何编写自己的代码。

#12


start with c, then on to c++

从c开始,然后到c ++

if you master these 2, you can adjust yourself to any programming concept / language, be it java, be it c#

如果你掌握了这两个,你就可以适应任何编程概念/语言,不管是java,不管是c#

note by master i do not mean you should be knowing by heart each and every syntax, method, etc available in these languages, but i mean master the concepts of programming, like OOPS, inheritance, patterns, messaging, memory management, etc

主人注意我并不是说你应该全心全意地了解这些语言中提供的每一种语法,方法等,但我的意思是掌握编程的概念,如OOPS,继承,模式,消息传递,内存管理等等。

basically, if your foundations are strong, they would go a long way into becoming an excellent programmer versus a good programmer

基本上,如果你的基础很强大,那么与优秀的程序员相比,他们将成为一名出色的程序员


also keep yourself subscribed to rss of good sites like stack overflow :-) keep asking programming questions, read a lot of blogs, books.

还保持自己订阅堆栈溢出的好网站的rss :-)不断询问编程问题,阅读很多博客,书籍。

#13


Check out this related SO question. It has a ton of links for beginning programmers. Some will, no doubt, provide you with ample info on languages and what you can do with them.

看看这个相关的SO问题。它有很多初学程序员的链接。毫无疑问,有些人会为您提供有关语言的充分信息以及您可以使用它们做些什么。

I like C/C++/C#, but that's me. You can't go wrong by learning them, but there is a world of other things out there.

我喜欢C / C ++ / C#,但那就是我。学习它们不会出错,但那里还有其他的东西。

Good luck!

#14


Whichever language you pick -- C is the best to start with for a serious aspiring programmer, or you could start with VB, Java, whatever you can get access to -- start with the Hello World program, understand everything that is going on when that simple program executes. Then try and add to it, prompt user for a name and make it a Hello "User Name" program etc. and then explore the chosen language to make it a feature-rich program.

无论你选择哪种语言 - 对于一个认真的有抱负的程序员来说,C是最好的,或者你可以从VB,Java开始,无论你能访问什么 - 从Hello World程序开始,了解当时发生的一切。那个简单的程序执行。然后尝试添加它,提示用户输入名称并使其成为Hello“用户名”程序等,然后浏览所选语言,使其成为功能丰富的程序。

Once you've mastered the basic syntax, move on to programming examples from a good beginners programming book. Do things like printing numbers in different patterns, odd/even, pyramids etc. then move on to strings and that should get you started nicely.

一旦掌握了基本语法,就可以从一本优秀的初学者编程书中继续编写示例。做一些事情,比如打印不同模式的数字,奇数/偶数,金字塔等,然后转到字符串,这应该让你开始很好。

Most importantly don't forget or be afraid to experiment and constantly ask yourself why something works and something else doesn't.

最重要的是不要忘记或害怕尝试并不断问自己为什么有些东西可以运作而其他东西却没有。

#15


I have found that the best way to learn programming is to write programs. The most fun programs to write are often games, because they are motivating, interesting and the end result is something you don't tire of immediately. It is after all, a game.

我发现学习编程的最好方法是编写程序。最有趣的程序通常是游戏,因为它们是激励性的,有趣的,最终结果是你不会立即厌倦的东西。这毕竟是一场比赛。

I'm not talking of learning to program by building the next 3-D rendering engine for an FPS shooter. I'm talking about building simple applications like mathematical games, quiz applications, horoscope calculators, etc.

我不是说通过为FPS射击游戏构建下一个3-D渲染引擎来学习编程。我正在谈论构建简单的应用程序,如数学游戏,测验应用程序,星座计算器等。

#16


You really should check out Microsoft's "Small Basic"... This is a great learning environment. I wish I had had something this cool when I got started.

你真的应该看看微软的“小基础”......这是一个很好的学习环境。我希望当我开始时我有一些很酷的东西。

Microsoft Small Basic

Microsoft Small Basic

I also strongly recommend you find a mentor.

我也强烈建议你找一位导师。

#17


this is a free cource from microsoft Link the good stuff starts at tier 2 where you can chose to watch VB.net videos or c# videos (i recomend c#) it is abou 16 video that will get you started and at the end you will create a complete application

这是一个来自microsoft Link的免费资源,好的东西从第二层开始,你可以选择观看VB.net视频或c#视频(我推荐c#)这是一个可以帮助你入门的视频,最后你会创建完整的申请

#18


While it's certainly tempting to begin by learning one of the popular languages, I would advise against it as a first experience. Of course, they are the easiest ones to find help about, but they are also the languages with the most idiosyncratic ways, limitations and twists due to the way things evolved with industrial use, etc. That's a lot of confusing stuff, and it's difficult to have a critic eye without the perspective of experience.

虽然从学习一种流行语言开始肯定是诱人的,但我建议不要将它作为第一次体验。当然,他们是最容易找到帮助的人,但他们也是最特殊的方式,限制和扭曲的语言,因为工业用途的方式发展,等等。这是很多令人困惑的东西,而且很难没有经验的观点就有批评的眼光。

In contrast, the more exotic languages are often cleaner and simpler to understand, especially if you don't have pre-made ideas about programming. The communities are small, but that also means they are more fun and welcoming.

相比之下,更具异国情调的语言通常更清晰,更易于理解,特别是如果您没有预先制定的关于编程的想法。社区很小,但这也意味着他们更有趣和热情。

So I think it's better to learn the bases first with a very high-level language and an interactive environment. You could go through How to Design Programs, it's an excellent book which goes from simple math to advanced stuff. Also have a look at Smalltalk, with Squeak or Pharo. Processing is probably not a bad idea to experiment with either.

所以我认为最好先用高级语言和交互式环境来学习基础知识。你可以通过如何设计程序,这是一本很好的书,从简单的数学到高级的东西。还可以看看Smalltalk,还有Squeak或Pharo。处理也可能不是一个坏主意。

Then when you want to go to more popular languages, there is Ruby, Python, Javascript, and the Web languages like HTML and CSS. C will be nice when you wonder how things really work with the hardware. Reserve Java and C# for when you need a job, they are not that fun anyways :)

然后,当你想要更流行的语言时,有Ruby,Python,Javascript以及HTML和CSS等Web语言。当你想知道硬件是如何工作的时候,C会很好。保留Java和C#,当你需要一份工作时,他们不是那么有趣:)

#19


I think you should google "Hello World" programs. After seeing how to do them in different languages, choose whichever you like best and write a bit more advanced version of a Hello World program. Then you can follow a 20 min tutorial on that language. There are a bunch of tutorials like that online.

我认为你应该google“Hello World”节目。在看到如何使用不同语言进行操作后,请选择您最喜欢的方法并编写更高级的Hello World程序版本。然后,您可以按照该语言进行20分钟的教程。网上有很多这样的教程。

#20


I'm a vbscript programmer among other languages but that is a dead end. If you want to write simple but powerfull programs real quick choose a functional language like Python of in your case still better Ruby. You can write usefull stuff in just a few lines of code and won't be limited. Dont forget the multi OS factor, so don't restict yoyself to .net solutions but skip java for the moment.

我是其他语言的vbscript程序员,但这是一个死胡同。如果您想编写简单但功能强大的程序,请快速选择像Python这样的函数式语言,更好的Ruby。您可以在几行代码中编写有用的东西,并且不受限制。不要忘记多操作系统因素,所以不要将自己重新安置到.net解决方案,但暂时跳过java。

Nowadays knowing just one language as a programmer is not enough, you have to choose the right language for the right job, so i would say until you are a few years older and still interested in programming you will have used at least five languages. Luckily once you know a few the rest comes as naturally.

如今只知道一种语言作为程序员是不够的,你必须为正确的工作选择合适的语言,所以我想说,直到你年龄大了几年,仍然对编程感兴趣,你将使用至少五种语言。幸运的是,一旦你知道了一些其余的自然而然。

You should take a look at the rosetta stone programming site http://rosettacode.org/wiki/Category:Programming_Tasks . It has a collections of tasks with solutions in many languages, it learns you a lot about style and difficulty.

您应该查看rosetta stone编程站点http://rosettacode.org/wiki/Category:Programming_Tasks。它拥有许多语言解决方案的任务集合,它可以让您了解很多关于风格和难度的知识。

#21


GOOGLE IS YOUR FRIEND!!! start with http://www.python.org/

谷歌是你的朋友!从http://www.python.org/开始

#1


Assuming you're running Windows, Microsoft now offers Express versions of their VisualStudio products. I suggest you take a look at those and download and start with one that you feel comfortable with. In my opinion, you should probably start with C# since that's a little easier than C++, but just as powerful and there are a lot of great tutorials and sample code out on the net. Plus, the express versions of VisualStudio are partially designed for learning/introduction to the application and programming in general, so they come with a lot of "getting started" documentation.

假设您正在运行Windows,Microsoft现在提供其VisualStudio产品的Express版本。我建议你看一下这些并下载并开始一个你觉得舒服的。在我看来,你可能应该从C#开始,因为它比C ++更容易,但同样强大,网上有很多很棒的教程和示例代码。此外,VisualStudio的快速版本部分设计用于学习/介绍应用程序和编程,因此它们附带了大量“入门”文档。

Once you have done a few tutorials, join an open source project in an area that you're interested in, or just start writing small applications for your own use. Practice, practice practice :)

完成一些教程后,加入您感兴趣的区域中的开源项目,或者开始编写小型应用程序供您自己使用。练习,练习:)

You can find the VisualStudio express downloads here, along with a lot of other good resources.

您可以在此处找到VisualStudio快速下载以及许多其他优质资源。

#2


In my opinion, the best way to learn coding on your own is to make something you actually want to use. I find it is easy to lose your momentum when your only motivation is trying to learn something.

在我看来,自己学习编码的最好方法是制作你真正想要使用的东西。当你的唯一动机是试图学习某些东西时,我发现你很容易失去动力。

Find something you're interested in making - like a game, a website, a browser extension, IRC bot, whatever - and from there, do research on how to make what you want.

找到你感兴趣的东西 - 比如游戏,网站,浏览器扩展,IRC机器人,等等 - 从那里开始研究如何制作你想要的东西。

Taking a class is also good, if your school offers them.

如果你的学校提供​​课程,上课也很好。

#3


It's really wise to take a class if you're ready to learn programming from scratch.

如果你准备从头学习编程,那么上课是非常明智的。

You're always going to be self-learning when you're a programmer, but it's easy to develop some bad habits if you don't have the fundamentals presented to you.

当你是一名程序员时,你总是会自学,但是如果你没有提供给你的基础知识,就很容易养成一些坏习惯。

Some people will say to learn C first, some say learn a scripting language first. My advice is get in the habit of learning whatever tool is right for the situation, and get in the habit of not being stuck on one language or solution.

有些人会先说学习C,有人说先学习脚本语言。我的建议是养成学习任何适合这种情况的工具的习惯,并养成不被困在一种语言或解决方案上的习惯。

If your high school doesn't have a programming class, then ask your mom (or whoever) to help you research community college classes you could take.

如果您的高中没有编程课程,那么请您的妈妈(或任何人)帮助您研究您可以参加的社区大学课程。

Last... make sure you do some other things. Computer entertainment + programming can suck up your whole life. Learn how to do some other things too so you can live a well-rounded life.

最后......确保你做了一些其他事情。电脑娱乐+编程可以吸收你的一生。学习如何做其他事情,这样你就可以过上全面的生活。

#4


Get one of the HeadFirst Series books. They are really fun to read and you ll be surprised at how much you learn.

获取HeadFirst系列丛书之一。阅读起来真的很有趣,你会对你学到多少感到惊讶。

http://oreilly.com/store/series/headfirst.csp

#5


Have a look at Processing

看看Processing

It's very cool, was designed as a learning-friendly environment but is capable of producing Hollywood production level graphics effects (and has been). Very easy to get going in, loads of tutorials and example as well as advanced projects to inspire. It also uses Java syntax (so everything you learn will be useful when you do CSS later). One of my main ongoing regrets is I don't have as much time to play around with it myself as I would like.

它非常酷,被设计为一个学习友好的环境,但能够产生好莱坞生产水平的图形效果(已经)。非常容易进入,大量的教程和示例以及高级项目激发灵感。它还使用Java语法(因此,当您稍后执行CSS时,您学习的所有内容都将非常有用)。我的主要遗憾之一就是我没有足够的时间自己玩,就像我想的那样。

Processing is an open source programming language and environment for people who want to program images, animation, and interactions. It is used by students, artists, designers, researchers, and hobbyists for learning, prototyping, and production. It is created to teach fundamentals of computer programming within a visual context and to serve as a software sketchbook and professional production tool. Processing is an alternative to proprietary software tools in the same domain.

Processing是一种开源编程语言和环境,适用于想要编程图像,动画和交互的人。它被学生,艺术家,设计师,研究人员和业余爱好者用于学习,原型设计和制作。它的创建是为了在视觉环境中教授计算机编程的基础知识,并作为软件速写本和专业制作工具。处理是同一域中专有软件工具的替代方案。

Compared to every other suggestion you'll see Processing is your best chance of both teaching yourself good coding skills and allowing your imagination a chance to produce something that could turn heads - it delivers an amazing amount of bang for buck and you can display your labours online. Take a look though the examples - there are some amazingly cool, imaginative, programs there.

与其他建议相比,您将看到Processing是您最好的机会,既可以教自己良好的编码技巧,也可以让您的想象力有机会产生可以扭转头脑的东西 - 它可以带来惊人的收益,您可以展示您的工作线上。看看这些例子 - 那里有一些非常酷,富有想象力的节目。

#6


(assuming you are running windows)

(假设您正在运行Windows)

Pick a language

选择一种语言

  • I'ld go for Microsoft.NET C#.
  • 我去的是Microsoft.NET C#。

  • You can choose to make a console (command line), web or windows application
  • 您可以选择创建控制台(命令行),Web或Windows应用程序

  • The free IDE (basically a fancy editor) is awesome. http://www.microsoft.com/Express/
  • 免费的IDE(基本上是一个花哨的编辑器)很棒。 http://www.microsoft.com/Express/

  • You can choose VB.NET as well, some people find it easier to start there.
  • 您也可以选择VB.NET,有些人发现从那里开始更容易。

  • It's VERY easy to interact with databases (Access or SQL Server).
  • 与数据库(Access或SQL Server)交互非常容易。

  • You won't spend hours installing and configuring web servers or learning compiler command switches
  • 您不会花费数小时来安装和配置Web服务器或学习编译器命令开关

Pick a book

选一本书

  • Try something like Sams Teach Yourself ASP.NET 3.5 in 24 Hours or Learning C# to get you up to speed
  • 尝试像Sam在24小时内自学ASP.NET 3.5或学习C#这样的东西,让你加快速度

  • If you cannot afford a book, check out your local library.
  • 如果您买不起书,请查看当地的图书馆。

  • Spend a couple weeks working through the book and then you can start thinking about your own project.
  • 花几周时间完成本书,然后你就可以开始考虑自己的项目了。

#7


An alternate approach to the "try visual .net" comments here, there is a cross-platform scheme system and associated book that has been targeted particularly at people like you with some success. The book How To Design Progams is available free on the web and printed also, and the Dr. Scheme system is open source.

另一种“尝试视觉.net”的方法在这里评论,有一个跨平台的方案系统和相关的书籍,特别针对像你这样的人取得了一些成功。 “如何设计Progams”一书可以在网上免费获得并打印出来,Dr. Scheme系统是开源的。

The upside of this sort of approach is that it is a nice clean small design with some powerful tools to get you started, plus a vastly better textual approach that your typical "teach yourself X in Y days" technical book.

这种方法的优点在于它是一个很好的干净小巧的设计,有一些强大的工具可以帮助你入门,另外还有一个非常好的文本方法,你的典型“自学X天”技术书。

The downside is that you'll be starting off in a language (scheme) that while very nicely designed is not mainstream, and has a different approach that the c- family and related languages that dominate industry programming today. So while you'll be learning with a much nicer language (pedagogically speaking) you won't have so many sources of info.

缺点是你将开始使用一种语言(方案),虽然设计得很好并不是主流,并且有一种不同的方法,即c系列和相关语言在当今的行业编程中占主导地位。因此,虽然你将学习一种更好的语言(教学上讲),但你不会有这么多的信息来源。

If you follow this track you'll probably become a better programmer faster, but you'll be a bit isolated. When you do learn a more mainstream language or two, you won't make many of the same newbie mistakes as most.

如果你按照这个轨道你可能会更快地成为一个更好的程序员,但你会有点孤立。当你学习一种或多种主流语言时,你不会像大多数人那样犯很多相同的新手错误。

I guess it depends a lot what your long and short-term goals are.

我想这取决于你的长期和短期目标。

#8


Why the lucky stiff created a platform to teach kids ruby:

Hackety Hack

I think it's the best kid-friendly programming tutorial I've ever come across.

为什么幸运的僵硬创建了一个教孩子ruby的平台:Hackety Hack我认为这是我遇到的最好的儿童友好编程教程。

#9


A lot of universities and educational institutions tend to start their students off in script languages like JavaScript. Within this language you can practice techniques used in Object Oriented Programming. Once you start understanding the theory you can look at taking that theory over to Java and then maybe start on C/C++.

许多大学和教育机构倾向于以JavaScript等脚本语言开始学生。在这种语言中,您可以练习面向对象编程中使用的技术。一旦你开始理解这个理论,你就可以把这个理论带到Java上,然后再开始学习C / C ++。

A core understanding in the foundations of good solid programming you will be able to use and take into other languages and you will find the curve less steep as you progress.

在良好的可靠编程基础上的核心理解,您将能够使用并使用其他语言,随着您的进步,您会发现曲线不那么陡峭。

I would say above all though that I cannot recommend a career in programming highly enough.

我首先要说的是,我不能推荐足够高的编程职业。

That is only my opinion though,.

这只是我的看法。

:-)

Andrew

#10


A few years ago, I'd have said C++ too, but now I think C#, particularly given the vast range of free training material on the net.

几年前,我也说过C ++,但现在我认为是C#,特别是考虑到网上广泛的免费培训材料。

Visual Studio 2008 Express Editions

Visual Studio 2008速成版

It'll give you a good understanding of Object Orientation, developing in a UI and Intellisense will help.

它将使您对面向对象有很好的理解,在UI中进行开发并且Intellisense将有所帮助。

Enjoy !!

#11


I found that reading programs others have written really helped me learn how to write my own code.

我发现其他人编写的阅读程序确实帮助我学习了如何编写自己的代码。

#12


start with c, then on to c++

从c开始,然后到c ++

if you master these 2, you can adjust yourself to any programming concept / language, be it java, be it c#

如果你掌握了这两个,你就可以适应任何编程概念/语言,不管是java,不管是c#

note by master i do not mean you should be knowing by heart each and every syntax, method, etc available in these languages, but i mean master the concepts of programming, like OOPS, inheritance, patterns, messaging, memory management, etc

主人注意我并不是说你应该全心全意地了解这些语言中提供的每一种语法,方法等,但我的意思是掌握编程的概念,如OOPS,继承,模式,消息传递,内存管理等等。

basically, if your foundations are strong, they would go a long way into becoming an excellent programmer versus a good programmer

基本上,如果你的基础很强大,那么与优秀的程序员相比,他们将成为一名出色的程序员


also keep yourself subscribed to rss of good sites like stack overflow :-) keep asking programming questions, read a lot of blogs, books.

还保持自己订阅堆栈溢出的好网站的rss :-)不断询问编程问题,阅读很多博客,书籍。

#13


Check out this related SO question. It has a ton of links for beginning programmers. Some will, no doubt, provide you with ample info on languages and what you can do with them.

看看这个相关的SO问题。它有很多初学程序员的链接。毫无疑问,有些人会为您提供有关语言的充分信息以及您可以使用它们做些什么。

I like C/C++/C#, but that's me. You can't go wrong by learning them, but there is a world of other things out there.

我喜欢C / C ++ / C#,但那就是我。学习它们不会出错,但那里还有其他的东西。

Good luck!

#14


Whichever language you pick -- C is the best to start with for a serious aspiring programmer, or you could start with VB, Java, whatever you can get access to -- start with the Hello World program, understand everything that is going on when that simple program executes. Then try and add to it, prompt user for a name and make it a Hello "User Name" program etc. and then explore the chosen language to make it a feature-rich program.

无论你选择哪种语言 - 对于一个认真的有抱负的程序员来说,C是最好的,或者你可以从VB,Java开始,无论你能访问什么 - 从Hello World程序开始,了解当时发生的一切。那个简单的程序执行。然后尝试添加它,提示用户输入名称并使其成为Hello“用户名”程序等,然后浏览所选语言,使其成为功能丰富的程序。

Once you've mastered the basic syntax, move on to programming examples from a good beginners programming book. Do things like printing numbers in different patterns, odd/even, pyramids etc. then move on to strings and that should get you started nicely.

一旦掌握了基本语法,就可以从一本优秀的初学者编程书中继续编写示例。做一些事情,比如打印不同模式的数字,奇数/偶数,金字塔等,然后转到字符串,这应该让你开始很好。

Most importantly don't forget or be afraid to experiment and constantly ask yourself why something works and something else doesn't.

最重要的是不要忘记或害怕尝试并不断问自己为什么有些东西可以运作而其他东西却没有。

#15


I have found that the best way to learn programming is to write programs. The most fun programs to write are often games, because they are motivating, interesting and the end result is something you don't tire of immediately. It is after all, a game.

我发现学习编程的最好方法是编写程序。最有趣的程序通常是游戏,因为它们是激励性的,有趣的,最终结果是你不会立即厌倦的东西。这毕竟是一场比赛。

I'm not talking of learning to program by building the next 3-D rendering engine for an FPS shooter. I'm talking about building simple applications like mathematical games, quiz applications, horoscope calculators, etc.

我不是说通过为FPS射击游戏构建下一个3-D渲染引擎来学习编程。我正在谈论构建简单的应用程序,如数学游戏,测验应用程序,星座计算器等。

#16


You really should check out Microsoft's "Small Basic"... This is a great learning environment. I wish I had had something this cool when I got started.

你真的应该看看微软的“小基础”......这是一个很好的学习环境。我希望当我开始时我有一些很酷的东西。

Microsoft Small Basic

Microsoft Small Basic

I also strongly recommend you find a mentor.

我也强烈建议你找一位导师。

#17


this is a free cource from microsoft Link the good stuff starts at tier 2 where you can chose to watch VB.net videos or c# videos (i recomend c#) it is abou 16 video that will get you started and at the end you will create a complete application

这是一个来自microsoft Link的免费资源,好的东西从第二层开始,你可以选择观看VB.net视频或c#视频(我推荐c#)这是一个可以帮助你入门的视频,最后你会创建完整的申请

#18


While it's certainly tempting to begin by learning one of the popular languages, I would advise against it as a first experience. Of course, they are the easiest ones to find help about, but they are also the languages with the most idiosyncratic ways, limitations and twists due to the way things evolved with industrial use, etc. That's a lot of confusing stuff, and it's difficult to have a critic eye without the perspective of experience.

虽然从学习一种流行语言开始肯定是诱人的,但我建议不要将它作为第一次体验。当然,他们是最容易找到帮助的人,但他们也是最特殊的方式,限制和扭曲的语言,因为工业用途的方式发展,等等。这是很多令人困惑的东西,而且很难没有经验的观点就有批评的眼光。

In contrast, the more exotic languages are often cleaner and simpler to understand, especially if you don't have pre-made ideas about programming. The communities are small, but that also means they are more fun and welcoming.

相比之下,更具异国情调的语言通常更清晰,更易于理解,特别是如果您没有预先制定的关于编程的想法。社区很小,但这也意味着他们更有趣和热情。

So I think it's better to learn the bases first with a very high-level language and an interactive environment. You could go through How to Design Programs, it's an excellent book which goes from simple math to advanced stuff. Also have a look at Smalltalk, with Squeak or Pharo. Processing is probably not a bad idea to experiment with either.

所以我认为最好先用高级语言和交互式环境来学习基础知识。你可以通过如何设计程序,这是一本很好的书,从简单的数学到高级的东西。还可以看看Smalltalk,还有Squeak或Pharo。处理也可能不是一个坏主意。

Then when you want to go to more popular languages, there is Ruby, Python, Javascript, and the Web languages like HTML and CSS. C will be nice when you wonder how things really work with the hardware. Reserve Java and C# for when you need a job, they are not that fun anyways :)

然后,当你想要更流行的语言时,有Ruby,Python,Javascript以及HTML和CSS等Web语言。当你想知道硬件是如何工作的时候,C会很好。保留Java和C#,当你需要一份工作时,他们不是那么有趣:)

#19


I think you should google "Hello World" programs. After seeing how to do them in different languages, choose whichever you like best and write a bit more advanced version of a Hello World program. Then you can follow a 20 min tutorial on that language. There are a bunch of tutorials like that online.

我认为你应该google“Hello World”节目。在看到如何使用不同语言进行操作后,请选择您最喜欢的方法并编写更高级的Hello World程序版本。然后,您可以按照该语言进行20分钟的教程。网上有很多这样的教程。

#20


I'm a vbscript programmer among other languages but that is a dead end. If you want to write simple but powerfull programs real quick choose a functional language like Python of in your case still better Ruby. You can write usefull stuff in just a few lines of code and won't be limited. Dont forget the multi OS factor, so don't restict yoyself to .net solutions but skip java for the moment.

我是其他语言的vbscript程序员,但这是一个死胡同。如果您想编写简单但功能强大的程序,请快速选择像Python这样的函数式语言,更好的Ruby。您可以在几行代码中编写有用的东西,并且不受限制。不要忘记多操作系统因素,所以不要将自己重新安置到.net解决方案,但暂时跳过java。

Nowadays knowing just one language as a programmer is not enough, you have to choose the right language for the right job, so i would say until you are a few years older and still interested in programming you will have used at least five languages. Luckily once you know a few the rest comes as naturally.

如今只知道一种语言作为程序员是不够的,你必须为正确的工作选择合适的语言,所以我想说,直到你年龄大了几年,仍然对编程感兴趣,你将使用至少五种语言。幸运的是,一旦你知道了一些其余的自然而然。

You should take a look at the rosetta stone programming site http://rosettacode.org/wiki/Category:Programming_Tasks . It has a collections of tasks with solutions in many languages, it learns you a lot about style and difficulty.

您应该查看rosetta stone编程站点http://rosettacode.org/wiki/Category:Programming_Tasks。它拥有许多语言解决方案的任务集合,它可以让您了解很多关于风格和难度的知识。

#21


GOOGLE IS YOUR FRIEND!!! start with http://www.python.org/

谷歌是你的朋友!从http://www.python.org/开始