简体   繁体   English

Winforms 和 VB.net 不知道基础

[英]Winforms and VB.net without knowing the basics

Can one learn programming in VB.net using Visual Studio (Winforms stuff) and never learn what a console "hello world" looks like or how, in code, to change which part of the program starts at execution (and other basic things like that) and still be a successful VB.net programmer?可以使用 Visual Studio(Winforms 的东西)在 VB.net 中学习编程,并且永远不会了解控制台“hello world”的外观或如何在代码中更改程序的哪一部分在执行时开始(以及其他类似的基本内容)和仍然是一个成功的 VB.net 程序员吗? Or are there roadblocks just waiting there to be hit?还是有路障等着被击中?

Successful?成功的? Probably.大概。

Good?好的? No.不。

I'm sure you can , but I don't think it's a good idea.我相信你可以,但我认为这不是一个好主意。 You'd probably pick up the core ideas through trial and error - but you may well end up with plenty of misconceptions, and you'll probably waste a lot of time in that trial and error phase.您可能会通过反复试验来获得核心思想 - 但您最终可能会产生很多误解,并且您可能会在反复试验阶段浪费大量时间。

I'd thoroughly recommend learning core concepts first.我会彻底推荐首先学习核心概念。 Apart from anything else, UI development is full of its own little foibles - if you don't know the core stuff to start with, you won't know whether you've hit a UI gotcha or whether your core knowledge is lacking.除此之外,UI 开发也充满了它自己的小弱点——如果你不知道开始的核心内容,你将不知道你是否遇到了 UI 陷阱,或者你的核心知识是否缺乏。

Depends on what you are doing with the programs.取决于您使用这些程序做什么。 If you are just programming little tools for yourself to use, then there is probably no harm.如果您只是编写一些小工具供自己使用,那么可能没有什么坏处。 For hobby projects you can know as little as you want.对于爱好项目,您可以随心所欲地了解。 However, if you are programming as a job, you should have a much better grasp at what is going on.但是,如果您将编程作为一份工作,您应该更好地掌握正在发生的事情。 You may be able to fake your way through for a while, but eventually somebody is going to ask you to do something that should be simple, but because of your limited knowledge of programming is utterly impossible.您可能暂时可以伪装自己的方式,但最终有人会要求您做一些本应简单的事情,但由于您对编程的了解有限,这是完全不可能的。 Then you will know why you have to know the basics.然后你就会知道为什么你必须知道基础知识。

That being said, there's a lot of programmers out there in the real world with exactly that level of knowledge who do have jobs.话虽如此,在现实世界中,有很多程序员拥有同样水平的知识,他们确实有工作。 Personally, I think it's a bad idea, but you can't argue with the market.就个人而言,我认为这是一个坏主意,但你不能与市场争论。 If these people have jobs, there must be a real market need for this type of programmer.如果这些人有工作,那么这种类型的程序员一定有真正的市场需求。 Kind of goes along with what Welbog said.有点符合 Welbog 所说的。 You can be successful in that you can hold down a job.你可以成功,因为你可以保住一份工作。 But you still won't be a good programmer.但是你仍然不会是一个好的程序员。

It depends what you mean by success really.这取决于你所说的成功是什么意思。

It's entirely possible to write a decent winforms application without writing console apps and without changing the starting form from the default.完全可以编写一个体面的 winforms 应用程序,而无需编写控制台应用程序,也无需更改默认的起始表单。

When it comes to crafting well written applications in a professional way, you're likely to find requirements that mean using a boot strapper (which will control the initial flow) so at that point you'll definitely need to do some research.在以专业的方式编写编写良好的应用程序时,您可能会发现需要使用引导程序(它将控制初始流程),因此您肯定需要进行一些研究。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM