问题描述
我是 Microsoft Technologies 的忠实粉丝.学习了很多 .NET Framework 和 C# 之类的编程语言.但我相信 .NET 应用程序是在 .NET Framework 之上运行的,所以它们有些慢.然后我听说 MFC 是一个用于 Windows 开发的包装类,它是商业应用程序开发的标准(我的意思不是业务级应用程序)所以我想知道现在学习 MFC 是否值得?有其他选择吗?我想开发商业级应用程序感谢您阅读我的问题.
I am a big fan of Microsoft Technologies. Learned lot of .NET Framework and C# like programming languages. But I believe .NET applications are running on top of .NET Framework so They have some kind of slow. Then I heard about MFC a wrapper classes for Windows Development and It is standard for Commercial Application Development(I mean not business level application) so I want to know is it worth to learn MFC now? Is there any alternatives? I want to develop commercial level application Thanks for read my question.
推荐答案
不,我不会学习它 - 我会研究它以深入了解 GUI 类的一些工作方式,以便您拥有更广泛的了解这项古老但重要的技术.但我不会将它作为一种技术来学习,以便在未来创建新的 GUI.忘记 MFC 的非 GUI 部分吧,只有微软技术的忠实粉丝才会使用它们,其他人都使用更好的库......
No, I wouldn't learn it - I'd look into it to gain an insight into some of the ways the GUI classes work so you have a wider understanding of this old, but important, technology. But I would not learn it as a technology you want to create new GUIs into the future. Forget the non-GUI parts of MFC, only people who are big fans of Microsoft technologies used them, everyone else used much better libraries...
虽然您可以使用它编写出色的应用程序,例如 TortoiseSVN,但今天使用 Winforms 更容易,并为您提供相同的结果.是的,.net 比本机代码慢,但对于 GUI,您通常会受到人类对更改的反应速度的限制,因此慢"系统仍然可以,除非它变得如此缓慢以至于明显滞后或反应迟钝.出于这个原因,我会跳过 WPF,因为我知道有太多来自我自己和朋友的支持电话,他们都抱怨 WPF 的性能(网上也有很多关于 WPF 很差的文章).
Although you can write great applications using it, TortoiseSVN for example, today using Winforms is much easier and gives you the same results. Yes, .net is slower than native code but for a GUI you're generally limited by the speed a human can react to changes, so a 'slow' system is still going to be ok, unless it gets so slow it is noticeably laggy or slow to respond. For this reason I'd skip WPF as I know too many support calls from myself and friends who all have complained about WPF's performance (there's also lots on the web about WPF being pretty poor).
还有其他选择,Qt 是一个很棒的 GUI 工具.wxWidgets 很好用,也可以跨平台.今天对 GUI 的普遍态度是它们应该是基于 Web 的,所以最好建议你学习 ASP.NET MVC 4(不是旧版本),因为今天(明天)这项技术似乎有大量工作可能不一样!)
there are alternatives, Qt is a great GUI tool. wxWidgets is good to, and also cross platform. Today the general attitude to GUIs are that they should be web-based, so you might be better advised to learn ASP.NET MVC 4 (not the older versions) as there appears to be a significant number of jobs for this technology today (tomorrow might be different!)
这篇关于现在值得学习微软基础类(MFC)吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!