• 0

Which language would you chose between C# and PHP


Question

I'm interested in changing career paths from computer repair and troubleshooting to programming. The two languages I'm looking at are C# and PHP. I understand the two are apples and oranges in comparison because they are for two entirely different things. However, I would like to learn a language that is in high demand and could give me a good level of job security. So based on your knowledge and experience, which of these two would you think could provide that? I appreciate any feed back you can provide.

Thanks! :D

Recommended Posts

  • 0

Been coding websites in PHP for about a year and a half. For a new company I set up I decided to use ASP (C#), because the website will have to manage larges about of data crunching (game stats and the like). And I have to say, the entire development experience has been better. The debugging, the designing, the structuring.. I built a site in 2 days that would of taken be a week in PHP.

  • 0

PHP is an odd duck, but it's still (usually) the P part of LAMP, so there are plenty of jobs out there for it. If you're going to start with a project that is already written in a language, I'd learn Python + Django instead of PHP if web development strikes your fancy. Python is extremely easy to learn, and outside of it's sometimes annoying whitespacing, is usually the most logical for a learner.

  • 0

Aeikus, you shouldn't pigeonhole yourself into just one language. It's OK to concentrate on one language while learning to see examples of programming concepts and to do some hands on learning, but you want to learn the fundamentals that will be language agnostic. I've covered this on my blog.

  • 0

...

that guy who wrote the article knows nothing and he then gave loads of arguments which he tried to justify why PHP is not needed or is used and It was just a load of hog

The article raises a ton of good points and provides a bunch of examples, I don't see how you can just reject them out of hand.

	function foo(string $s) {}

	foo("hello world");

Why should that cause a fatal error for example? And such a nonsensical error at that.

Catchable fatal error: Argument 1 passed to foo() must be an instance of string, string given, called in ? on line 3 and defined in ? on line 2
  • 0

Neither, all of them or any of them.

You said you are coming from a computer repair background and want to learn a programming language.

Without further info I assume you are just beggining so just pick one and learn the fundamentals first.

So you better start hacking. Programming is more like an art and there are millions ways to solve a problem some solutions better/elegant/etc than others and the only way to get there is to program and keep progamming, make lots mistakes and learn from them.

I would start with procedural programing to get the basic stuff first and then move to object oriented programming. The core concepts are the same for all common programming languages.

Many programming languages do better in specific fields than others such as web, desktop, mobile, scripiting, etc. There is no jack for all trades in my opinion.

Don't get confused when comparing programming languages and frameworks, django, ruby on rails, .net, etc are all frameworks so these frameworks should be compared to Zend, Codeigniter and other PHP frameworks.

I wouldn't recommend to start learning a language using a framework since frameworks usually have a certain pattern to follow and need to follow a certain way to do things which imho should be avoided when first learning a programming language.

To give you an example at school on my first year we started learning the basic stuff on Pascal which you can consider now a dead language but the basic principles have remain over the years and will probably not change anytime soon.

Now my personal preferences:

For web development I choose PHP for many other things which are not related to the language itself, such as documentation, code examples, big community, it's free, works on every platform, lots of tested code out there (lots of bad code as well :-)

On Linux enviroments for quick scripting I prefer python over perl.

For other type of work C# and Java are really popular, Java more than C# specially on big projects that I've been involved to. Java also has the android as a platform which is a big plus for the language.

Don't forget Objective-C for Apple devices lots of opportunities there especially since the mobile/tablet market is growing expentionally every year.

Anyway I envy you nothing is so exciting like learning a new thing from the first time especially programming and remember start coding from day zero. Don't waste time reading entire books before starting, you will only get better and better by coding.

One last thing If you know friends that are also into programming try to do things togheter. It is the most fun thing to do and you will learn a lot that from each other. Plus usually when you do programming for a living it involves working with other people which takes progamming to a different level since it is not just you reading and working on your code.

Cheers.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Affinity by Canva 3.2.2.4557 by Razvan Serea Affinity by Canva is a free, all-in-one creative app combining vector design, photo editing, and page layout in a single platform. Originally developed by Serif, it’s now under Canva, offering professional-grade tools without subscriptions. Users get full access to Pixel, Vector, and Layout studios, plus ongoing updates. Designed for Mac and Windows, it empowers designers, illustrators, and content creators to work faster, smarter, and more creatively than ever before. Affinity is a unified, high-performance design platform combining vector, raster, and layout workflows. It offers fully non-destructive editing, advanced curve and shape manipulation, artboards, symbols, and seamless integration of pixel and vector content. The photo engine supports RAW editing, compositing, retouching, and batch processing with macro automation. Layout tools include long-form document support, typographic precision, navigational elements, CMYK-ready print, and Data Merge. Canva AI Studio adds generative tools (Fill, Expand, Edit), Depth Map, Super Resolution, and advanced portrait effects, accessible via Canva Pro or higher. Broad file compatibility and customizable workspaces ensure professional-grade efficiency. Advanced AI features like Generative Fill and Expand are unlocked in Affinity through the Canva AI Studio for users with a Canva premium plan (Pro, Business, Enterprise, or Education). Affinity is truly free. Every tool in the Pixel, Vector, and Layout studios is fully accessible, along with all customization and export options—no limits, no payments required. The app also receives free updates with new features and improvements. Your creativity remains yours. Affinity stores all your work locally on your device. Canva does not use any Affinity content to train AI or develop features, including anything created with Canva AI tools within Affinity. If you export or upload your work to Canva, you remain in full control. Data preferences can be reviewed or updated at any time in your Canva account settings. Why is Affinity free? Curious how this is possible? Here’s the philosophy behind it and how it works. Note: A free Canva account is required to use Affinity. Your account gives access to Affinity along with other Canva products and features. Download: Affinity 3.2.2.4557 | ARM64 | ~600.0 MB (Freeware) Links: Affinity Website | macOS | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Finally we can whole-heartedly recommend the AMD 9070 GRE thanks to this discount by Sayan Sen Earlier this month at Computex 2026 AMD released the Radeon RX 9070 GRE for a global audience. We reviewed the GPU and it scored 8 out of 10 for gaming and 7.5 out of 10 for productivity including things like AI performance. The card launched for $550 which we thought was a bit on the higher side, though currently you are getting the chance to get the Gigabyte Gaming variant of the GPU for just $500 thanks to this discount (purchase link under the specs table down below). As such we can finally whole-heartedly recommend this GPU. The card employs Gigabyte's WINDFORCE cooling system which combines multiple design elements such as alternate-spinning Hawk fans, a vapor chamber, and composite heat pipes to manage heat dissipation. The Server-grade Thermal conductive gel further helps in this department. The inclusion of a semi-passive cooling mode allows the fans to remain inactive under low workloads, which allows for reduced noise operation during lighter usage. There is dual BIOS switch that allows toggling between performance and silent modes. The technical specs of the Gigabyte Gaming RX 9070 GRE OC is given in the table below: Specification Value Boost Clock Up to 2920 MHz Game Clock Up to 2340 MHz Stream Processors 3072 Memory Clock 18 Gbps Memory Size 12 GB Memory Type GDDR6 Memory Bus 192-bit Memory Bandwidth 432 GB/s Card Bus Interface PCI Express 5.0 Max Resolution 7680 × 4320 Max Displays (Multi-view) 4 Card Dimensions 288 × 132 × 50 mm (L × W × H) Recommended Power Supply 700 W Power Connectors 2 × 8-pin Display Outputs 2 × DisplayPort 2.1a 2 × HDMI 2.1b Get it at the link below: GIGABYTE Gaming Radeon RX 9070 GRE 12GB GDDR6 GPU (GV-R907GREGAMING OC-12GD): $549.99 + $50 discount with promo code in mail => $499.99 (Sold and Shipped by Newegg US) This Newegg deal is US-specific and not available in other regions unless specified. This is a first-party seller link (at the time of article publishing); ensure that you also purchase from a first-party seller link only. If you don't like it or want to look at more options, check out the previous deals that we have covered, OR you can also visit Amazon US deals page. Get Prime (SNAP), Prime Video, Audible Plus or Kindle / Music Unlimited. Free for 30 days. As an affiliate partner, we earn from qualifying purchases.
    • "to in-game content custom-made for the brands" Which EA will turn around and charge customers extra for in an attempt to double dip.
  • Recent Achievements

    • Week One Done
      Jeroen Wilms earned a badge
      Week One Done
    • Week One Done
      rolfus earned a badge
      Week One Done
    • One Month Later
      Leroy Jethro Gibbs earned a badge
      One Month Later
    • Conversation Starter
      flexorcist earned a badge
      Conversation Starter
    • One Month Later
      AndreaB earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      513
    2. 2
      +Edouard
      205
    3. 3
      PsYcHoKiLLa
      136
    4. 4
      ATLien_0
      89
    5. 5
      Steven P.
      85
  • Tell a friend

    Love Neowin? Tell a friend!