As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I'm a PHP developer trying to learn a new language which has better security and performance. I heard that facebook is built on C# and PHP front end. I was thinking of learning Java and use it backend, business logics and use PHP for front-end. Is this a great combination for big websites/webapps or not?
It is possiple, but each of these languages have it's own stack of technologies. If you intended to use Java, i'd recommend you to use JSP instead of PHP (same with ASP for C#). It allows you to use advanced possibilities, provided by these languages.
Facebook does not use C#, instead, it uses HipHop to compile the php code into c++.
In my opinion, Java and PHP are the best gears for web developers. So try to learn java instead of C#. Also Java has cross-platform support
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I need to write a program which connects to some databases and handles data within them. I must run Ubuntu. I have more experience with C#, but on windows..
Should I write the program using C# and Mono, or - would it make me many troubles and I should just go with C++? Thanks a lot!
I would use Java or Python. I'm not a big fan of the concept of running .NET code on Linux and serialization in c++ is just a complete pain in the ass. If those are really your only two options I would probably do C# but I would recommend doing something entirely different. If you've written C# and c++ learning enough Java or Python to get this done won't be a whole lot of trouble.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 12 years ago.
can any one tell me the difference between vb.net web apps and c# .net webapps y most of the apps are done in c# rather than vb.net
There is no difference, they all compile down to the same CLR.
Nothing but preference. C# and VB.Net are extremely similar in nature as far as programming languages go.
Microsoft has said that both languages will co-evolve from now on. They will both get the same additional features with each new release, and MS is committed to both. There was a rumor that VB was going to be replaced by C#, but that is not true. They have dispelled that myth.
Because there are more coders that use c#, perhaps? Underlying philosophy of .net is that you can use language that you are most comfortable with, and stay in the same environment.
The only difference is the language that the code behind files are written in.
Both use the same objects and .NET framework, it's only a choice of programming language.
As for why most examples are in C#, more people prefer to use that.
From what I've heard, VB.NET was shoehorned into .NET as a late addition because too many programmers were familiar with it. Programmers tend to have their preferences with higher-level languages (which is by far the most distinct difference). In the end, they both provide virtually the same capability and functionality.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I'm looking for a linear programming solver for C#. In the other words I'm looking for a library for C# that solves linear programming problems.
I need an easy to use library (so I can learn how to use it quickly), but it would be nice if it supported some features as automatic absolute values conversion (so I don't have to program the conversion myself). It is important that the library should be for free (not necessarily open source).
Good documentation is huge advantage for me. 10%-20% worse performance is not critical for my project.
Thanks for your answers
Math.NET
Read C# linear algebra library
EDIT: Check out http://en.wikipedia.org/wiki/Linear_programming#Solvers_and_scripting_.28programming.29_languages
This one might be what your looking for though. Says it works with .Net
http://lpsolve.sourceforge.net/5.5/
You can use WNLIB, but it's plain C so you have to wrap it in a DLL library and then use it with C#.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm looking for a fun challenge, and am thinking about learning Python. I've heard really good things about the language. My question is, how (if at all) can Python complement the skills of a typical C# developer working mainly with MS technologies on a Windows Platform.
Some examples of typical C# dev on windows would be (SOA applications, web applications, windows services, automation, xml handling)
Surely there must be some scenarios where knowing Python would help you get certain tasks done quicker or more efficiently than using traditional C# / MS technologies.
If you know of any specific scenarios, then please share.
At first, if you don't know a dymanic, non static-typed language, it will certainly help you to learn one. You will find out new programming paradigms and will affect your coding style and even if you don't use for a proper project, there are benefits in it for you. This of course applies for any new language you learn.
Specifically for C# and Python, have a look at IronPython. You can use it interchangeably with C# code and select to program specific bits in it.
One interesting application will be add scripting functionality in an existing application. You can embed IronPython to it and build a scripting environment with it.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I remember when I switched from Classic ASP to PHP many years ago, and I came accross an awesome document on the net showing how the VBscript differed to PHP. It really helped me when I ported an old photo album software I made to PHP.
I was wondering if anyone knows a similar guide, from PHP to .net? If not, what are the best resources to start? Is there anything I need to untrain myself in doing, being a PHP developer?
Learn ASP.NET: for PHP Developers
This series of code casts and labs from Microsoft should really help you.
http://msdn.microsoft.com/en-us/rampup/dd861537.aspx
Since you seem to be into web development, I assume that you want to use .net and C# to make web projects. There are basically two flavors: ASP.NET Web Forms and ASP.NET MVC. Google for the latter, I think it will feel more "at home" concept-wise when you're coming from PHP.