7

I know some C++. What should I really learn next Python or Java?
I want to be able to make a meaningful project as soon as possible.(with Java as I can see I have SpigotPlugins, and with Python I have Telegram Bots).
Sorry for asking for advice here but idk what to do.

Comments
  • 1
    Python! You will end up writing code quicker!
  • 0
    @spl0 thank you.
  • 0
    @spl0 why do you not have a avatar?
  • 0
    @SweetHuman too complicated for me man!
  • 0
    Both are going to be weird after c++, but id recommend java, at least you wont get errors for ending lines with ;
  • 0
    @RazorSh4rk oh. That won't matter. I can get used without them.
  • 0
    Honestly, both are good and relatively easy to learn, py scripting can take a bit of getting used to
  • 0
    @RazorSh4rk You wont normally get errors in python for ending lines with ; either - you just dont need it!
  • 0
    @spl0 eclipse wants to explode if i even think about semicolons, maybe i should switch to intellij
  • 1
    Let me say a bit more about python. If you're used to C++, try python.

    Java isn't that different to C++ - same edit/compile/run cycle etc.

    Python is very different, and the development is more interactive. Make sure you use a decent IDE with a good debugger, eg PyCharm or Wing.

    You will write a lot less code in Python compared to C++, and you will probably become productive very quickly with it.

    Even if you go back and learn Java later (and you probably will - why not?) try Python first. Much more importantly than just learning another language, it will open your eyes to another way of developing!
  • 1
    @RazorSh4rk Try PyCharm or Wing!
  • 0
    @spl0 i saw that.
  • 2
    Honestly, I'd say it really depends on your own preference since you could do anything in either. Why are you settled on Java or Python though?

    And what's your project? Might influence your choice ☺
  • 0
    @kvsm you can see above. TelegramBots or SpigotPlugins.
  • 1
    If you're going to try Java I'd suggest you skip that and go straight to C# because it's basically a better Java. Combined with Microsoft's recent efforts to open source their platform, as well as Visual Studio 2015, there's not much that can beat it.
  • 1
    @wsloth C# is too Microsoft specific.
  • 1
    @spl0 Read up on the platform.
    .NET core runs entirely cross platform with the entire standard library, and most nuget packages. You can develop entirely on MacOS or Linux using VS Code or Jetbrains' project Rider.

    Couple that with the recent open sourcing of Xamarin, and you suddenly support all major mobile platforms (actual native apps) with one language.

    Take it a step further and you will find you can even compile your application to JavaScript and run it on the web.

    So no, it isn't Microsoft-specific (anymore)
  • 2
    @wsloth 'too' Microsoft specific.
  • 1
    @wsloth Is it supported on HP-UX?
  • 2
    @wsloth "better java" im triggered
  • 2
    @spl0 I have not a clue. It seems to work on BSD and will probably work on any unix machine if you spend enough time configuring..
    I have a nice asp.net application running on Ubuntu at least.
  • 2
    @RazorSh4rk Lol imo it fixes all the quirks Java has and simply has some nicer syntax overall. But you can achieve the same things on both platforms, so it's totally subjective.
  • 2
    @wsloth 'Supported' is the key word though.

    Why would you write a production app in a language/environment that's not supported for your platform?

    So C# can't always be the answer.
  • 2
    This comment section is lit!
  • 2
    In a completely different direction, JavaScript?

    Or more likely, something that compiles to JavaScript?

    Yes, I am fond of JavaScript 😊
  • 2
    @spl0 ah yes I was not trying to imply that C# is always the best choice. Indeed it does depend on platform.
    But personally when it comes to enterprise scale software which needs to run stable, it's my goto pick if it's either windows or web.
    Native Linux and MacOS applications are possible with C#, but I personally don't think the platform is mature enough yet for that.
Add Comment