• 0

Python, Java and C


Question

Yes, I can look them up on Wikipedia, and I plan to. However, I want input from you, assuming you've used the languages. Basically, the University of Toronto has always done Java first year, then moved on to Python and C in later years. Next year, they plan to do Python first year and Java and C in later years. I haven't touched any of these languages yet, but I think we're starting Visual C later on in the school year. I'd like to start learning one of these in the summer, but I'm not sure where to start. Which one I learn also affects how I organize my first year at the university, as first semester is the old way and second semester is the new way.

So, anything at all you guys can tell me about them, their differences, their strengths, which you recommend learning first (not necessarily because it's easier) and so on...

Link to comment
https://www.neowin.net/forum/topic/546817-python-java-and-c/
Share on other sites

14 answers to this question

Recommended Posts

  • 0

Java is slow and memory intensive. The only thing i like about it is its nice API (well documented as well)

C is very versatile. You can do just about anything with it

Python is a script. As far as scripts go, it is VERY powerful. I would say probably more powerful under Linux (I believe this is its native platform?)

I would recommend learning C. Pretty much everything stems from C.

  • 0

C because it's powerful, easy to learn, and it's necessary to understand the working of a procedural language first. It also lays the groundwork for understanding OOPLs like Java. So C++ or Java should come next, not before. I don't know anything about Python, so I can't comment on that.

  • 0

Visual C++ = (C++) + (Microsoft Proprietary Stuff)

Python is definitely a good language to learn because it is simple to understand, but very powerful at the same time. Nice OO design. I use it all the time and would highly recommend it.

C/C++ are also another language that are good to learn. Really, once you learn C/C++, everything is a piece of cake. Just like Robgig1088 said, pretty much everything derives from C/C++. Again, I use it all the time and would highly recommend them.

Java, eh. I mucked around with it but didn't find it compelling enough to use. The language itself is pretty verbose. I find that Python and C/C++ cover pretty much everything. Maybe a little sprinkling of ASM for optimization, but very rarely. Perhaps if I did cross platform work I would be using Java, but since I exclusively target my code to Linux there no need for cross-platform compatibility.

My recommendation, if you really want to do GUI work, as the Visual C++ implies, is to try something like GTK+. Its cross-platform and simple to use. There are even Python bindings, if you don't feel like coding in C/C++. http://www.gtk.org/

[edit] Basically C/C++ > Python > Java > Visual C++

Once you go Visual C++ your bound to Microsoft technology. Windows API, DirectX, etc.

  • 0
  Slimy said:
Let me rephrase that. How does Visual C compare to the three in the title? Would it make sense to learn them: Visual C > C > Java/Python

Well, I dont think you can "directly" compare Visual C to C since Visual C is just the IDE, but as dduardo implied, it is a bit Microsoft's dependent, in the sense its not quite standards-compliant, as for example, GCC is.

As for the new Visual Studio, I havent tried it much (just at work in my free time), so I cant say anything about the new API (Microsoft Foundation-Something, the new thing next to the WinAPI and MFC), but the old one = :pinch:

Python? Its very cool, very refreshing, but that is just me, as in, I love learning as much languages as I can :laugh:

But its cool man, its a cool language, maybe recommended for beginners.

Java? Im very good at it to be sincere, but because I was "forced" to use it at uni :shifty: But wouldnt recommend it as I hate VM-based languages (though the trend seems to be going there... but I made my mind with C# already, if C/C++ are ever taken down the ladder.. and that seems something not so crazy, to see in the not-so-distant future).

C? I'd recommend it 100%.

Look, if you're going "commercial" or thinking to, Visual Studio should be fine... but if you ever thought of multi-platform , open-source and the like.. then try to use something as Code::Blocks, and WxWidgets as the GUI Toolkit... I seriously recommend both :yes:

WxWidgets also has a ***load of bindings for most languages.. including Python, Ruby, Lua, C# etc.

  • 0

Am... Only three years and free languages...

I my country, first year you must learn C, Pascal and C++.

Next year now you will be need to learn JAVA, SQL, ASM and Python and some other languages.

The third year you could choose from very long list, maybe C# and even some students go to USA, some kind of Microsoft students program. Or course cryptography basics and algorithms.

At the same year you will need to write your own OS, that would take 3-6 months and one smaller program for data compression.

Fourth year - no information on this one.

And etc. in addition there are lot of other things you would be learning, like XML, JavaScript, XSLT, ...

And all universities are using Debian for programming, if your program works under Linux, it will work on the other platforms.

I am just curious, why in the other countries, such as USA and UK you need to learn just one or two, three languages. I went to ones university presentation and they said that I would be learning 3 years only JAVA.

P.S. That was only standard informatics studies, there are higher levels...

  • 0

Learning the syntax of any language is the easy part, regardless of how it's implemented. Learning how to use the language properly and efficiently is a completely different discussion. C is not like Java. Maybe in terms of syntax they are similar, but they are two completely different languages.

Visual C++ is an IDE on Windows for C++. It allows you to interface with MFC and Windows API calls pretty easily, in addition to providing a good developing environment. Just because the application itself was made by Microsoft and the application *can* interface with MS-specific calls, does not mean that it will automatically suck your application into MS lock mode. The IDE only completes actions when you tell it to do so. If you want to create a horribly designed application that doesn't extend well, then it's going to let you do it. It can hold your hand if you want it to, but you actually have to cross the street.

In the end, you have control over what is generated. I've read the same stuff regarding ASP.NET and Visual Studio 2005. "Well, I like to have control over my application and Visual Studio takes control away from me and generates code." No, you told VS to complete an action that generates code and it did it. You could have easily worked in 100% code editor mode, did it yourself and tied it into XYZ multi-platform library.

If you want to create a Windows application in C++, then Visual C++ is able to support you out of the box. If you want to create console applications in C++, it can also support you. If you want to use it to tie into another framework, it can help you, but you have to teach it.

It's about the right tool for the job. Use whatever makes your life easier. VS provides a lot of tools to make my life easier (refactoring, debugging, etc..) and that's why it's *one* of my tools. Using an editor like Notepad or WordPad will not get you an award, nor will it make your ePenis bigger.

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

    • No registered users viewing this page.
  • Posts

    • They are shifting into AI now. Don't you see?
    • Exactly. No need to pay to rent a license. I'd rather own it.
    • Weekend PC Game Deals: Automation fests, Civilization for free, charity specials, and more by Pulasthi Ariyasinghe Weekend PC Game Deals is where the hottest gaming deals from all over the internet are gathered into one place every week for your consumption. So kick back, relax, and hold on to your wallets. The Epic Games Store unlocked a big strategy game giveaway earlier this week: Civilization VI: Platinum Edition. Coming in from Firaxis Games, the turn-based 4X experience has you starting world-conquering campaigns to explore, expand, exploit, and exterminate everything in your empire's reach. PvP and co-op multiplayer are also options if the various forms of AI prove to be too easy or even too troublesome. The Sid Meier’s Civilization VI: Platinum Edition giveaway is live until July 24, and it comes with two massive expansions as well as six DLC packs with extra scenarios, leaders, and more. Next week, tower defense title Legion TD 2 will become the latest freebie on the Epic Games Store. The Humble Store brought a new bundle for action game fans this weekend, and it's all about the Devil May Cry franchise. The Devil Trigger Collection begins with DmC: Devil May Cry and Devil May Cry HD Collection for $10. If you want to complete the bundle, it will set you back $20, which gets you Devil May Cry 4 Special Edition as well as the most recent entry, Devil May Cry 5, as well as its Vergil DLC. This bundle has two weeks left on its counter before it goes away. Big Deals Most publishers are returning to their usual weekend specials after the massive summer sales, so there are plenty of discounts to go around. There's even a special Make a Wish charity sale running on Steam with some discounted viral hits. With all those and more, here's our hand-picked big deals list for the weekend: Satisfactory – $27.99 on Steam Captain of Industry – $24.49 on Steam No Man's Sky – $23.99 on Steam Persona 5 Royal – $23.99 on Steam No More Room in Hell 2 – $22.49 on Steam FOUNDRY – $20.99 on Steam Banishers: Ghosts of New Eden – $19.99 on Steam SULFUR – $19.99 on Steam Assassin's Creed Mirage – $19.99 on Steam Alan Wake 2 – $19.99 on Epic Store Grand Theft Auto V Enhanced – $19.79 on Steam Norland – $19.49 on Steam Stray – $17.99 on Steam V Rising – $17.49 on Steam Dyson Sphere Program – $15.99 on Steam The Outlast Trials – $15.99 on Steam Warhammer 40,000: Darktide – $15.99 on Steam The Outlast Trials – $15.99 on Steam Red Dead Redemption 2 – $14.99 on Steam Turing Complete – $13.99 on Steam Eden Crafters – $13.99 on Steam Core Keeper – $13.99 on Steam Thank Goodness You're Here! – $12.99 on Steam Opus Magnum – $9.99 on Steam Autonauts – $9.99 on Steam EXAPUNKS – $9.99 on Steam DRAGON BALL XENOVERSE 2 – $9.99 on Steam Superliminal – $9.99 on Steam Heaven's Vault – $9.99 on Steam RAILGRADE – $9.89 on Steam Goat Simulator 3 – $9.89 on Steam Tchia – $9.89 on Steam ACE COMBAT 7: SKIES UNKNOWN – $9.59 on Steam PAYDAY 3 – $8.99 on Steam Assassin's Creed Origins – $8.99 on Steam Viewfinder – $8.74 on Steam Escape Academy – $7.99 on Steam Pit People – $7.99 on Steam Skull and Bones – $7.99 on Steam Immortals Fenyx Rising – $7.99 on Steam Imperator: Rome – $7.59 on Steam SHENZHEN I/O – $7.49 on Steam Tom Clancy’s The Division 2 – $7.49 on Steam Bassmaster Fishing – $7.49 on Steam Let's Build a Zoo – $6.99 on Steam The Forgotten City – $6.24 on Steam Control Ultimate Edition – $5.99 on Steam Bramble: The Mountain King – $5.99 on Steam Assassin’s Creed Rogue – $5.99 on Steam RoboCop: Rogue City – $4.99 on Steam Kingdom Two Crowns – $4.99 on Steam Scott Pilgrim vs. The World: The Game – $4.94 on Steam Castle Crashers – $4.49 on Steam BattleBlock Theater – $4.49 on Steam TOEM: A Photo Adventure – $3.99 on Steam Supraland – $3.99 on Steam Vampire Survivors – $3.99 on Steam Darkwood – $3.74 on Steam Valiant Hearts: The Great War – $3.74 on Steam TIS-100 – $3.49 on Steam PAYDAY 2 – $3.29 on Steam Cake Bash – $2.99 on Steam Ragnarock – $1.99 on Steam Alan Wake – $1.49 on Steam Civilization VI Platinum Edition – $0 on Epic Store DRM-free Specials Lastly, here are some highlights from the DRM-free discounts available on the GOG store this weekend: Age of Wonders 4 - $29.99 on GOG Pathfinder: Wrath of the Righteous - Game of the Year Edition - $19.99 on GOG Tomb Raider IV-VI Remastered - $19.49 on GOG The Thaumaturge - $19.24 on GOG Chained Echoes - $13.74 on GOG Tyranny - Gold Edition - $12.49 on GOG Tomb Raider I-III Remastered Starring Lara Croft - $11.99 on GOG Baldur's Gate: Enhanced Edition - $9.99 on GOG Baldur's Gate II: Enhanced Edition - $9.99 on GOG Neverwinter Nights: Enhanced Edition - $9.99 on GOG Old World - $9.99 on GOG Icewind Dale: Enhanced Edition - $9.99 on GOG Neverwinter Nights: Doom of Icewind Dale - $7.99 on GOG Kingdom Come: Deliverance - $5.99 on GOG Might and Magic 6-pack Limited Edition - $4.99 on GOG Heroes of Might and Magic 3: Complete - $4.99 on GOG Blood Omen: Legacy of Kain - $3.49 on GOG Might and Magic 8: Day of the Destroyer™ - $2.99 on GOG Worms Armageddon - $2.99 on GOG ATOM RPG: Post-apocalyptic indie game - $2.99 on GOG Keep in mind that availability and pricing for some deals could vary depending on the region. That's it for our pick of this weekend's PC game deals, and hopefully, some of you have enough self-restraint not to keep adding to your ever-growing backlogs. As always, there are an enormous number of other deals ready and waiting all over the interwebs, as well as on services you may already subscribe to if you comb through them, so keep your eyes open for those, and have a great weekend.
  • Recent Achievements

    • One Month Later
      Helen Shafer earned a badge
      One Month Later
    • One Month Later
      ambani880 earned a badge
      One Month Later
    • Week One Done
      ambani880 earned a badge
      Week One Done
    • First Post
      artistro08 earned a badge
      First Post
    • First Post
      paul29 earned a badge
      First Post
  • Popular Contributors

    1. 1
      +primortal
      498
    2. 2
      ATLien_0
      223
    3. 3
      Michael Scrip
      196
    4. 4
      Xenon
      161
    5. 5
      +FloatingFatMan
      138
  • Tell a friend

    Love Neowin? Tell a friend!