Your favorite programming language

Discussion in 'Off Topic' started by jackuars, Nov 30, 2017.

Tags:
?

Your favorite programming language

  1. C++

    38.5%
  2. C#

    15.4%
  3. Go

    0 vote(s)
    0.0%
  4. Java

    30.8%
  5. Javascript

    0 vote(s)
    0.0%
  6. PHP

    15.4%
  7. Python

    38.5%
  8. Ruby/Ruby on Rails

    0 vote(s)
    0.0%
  9. Rust

    0 vote(s)
    0.0%
  10. Swift

    7.7%
Multiple votes are allowed.
  1. jackuars

    jackuars Level 21

    Jul 2, 2014
    1,091
    2,143
    What is your favorite programming language?

    You can choose multiple options and if your favorite isn't on the list, please do comment below
     
    Tsiehshi, harlan4096 and daljeet like this.
  2. Tsiehshi

    Tsiehshi Level 1

    Nov 11, 2017
    43
    118
    Somewhere
    #2 Tsiehshi, Dec 4, 2017
    Last edited: Dec 4, 2017
    Python - clean, easy to write without pesky brackets, type names and semicolons in the way.
     
  3. Opcode

    Opcode Level 18
    Content Creator

    Aug 17, 2017
    891
    6,322
    Caille
    Windows 10
    C and Assembly are missing from the poll! :(

    I picked C++ if its only out of the poll choices
     
  4. karthic1998

    karthic1998 Level 3

    Jan 23, 2017
    137
    600
    india
    I'm always on assembly language buy it is not present in options
     
  5. Danielx64

    Danielx64 Level 8

    Mar 24, 2017
    396
    1,690
    Australia
    Windows 10
    ESET
    PHP, I could never understand why people like Python, I like those brackets and semicolons in PHP
     
  6. karthic1998

    karthic1998 Level 3

    Jan 23, 2017
    137
    600
    india
    All languages are converted into the assembly language
     
  7. Bleak

    Bleak Level 2

    Sep 5, 2017
    88
    496
    ::1
    Not really. Complied languages like C++ the compiler generates machine code. (depends on complier)
    other example can be C#'s JIT and Java's VM both are not converted into assembly.
    Also, I believe he's comparing them syntax-wise.
     
  8. kev216

    kev216 Level 18
    Content Creator Trusted

    Aug 6, 2014
    897
    12,014
    Belgium
    Windows 10
    Sophos
    I know Python, C, C++, Java, VB.NET and the basics of C# and javascript.
    I actually started to learn to program in Python at university, but after I learnt Java and C, I really prefer those over Python. I find it much clearer to read and write code that has neat semicolons and curly brackets, instead of for example Python that only uses indentation to separate your code into several blocks. Also object oriented programming is only limited available in Python, while the power of Java or C++ really lies in using OOP. Using inheritance in Python with all those
    __init__ statements is really horrible compared to the java approach. Also simple things like that you write the type of a variable explicitly in java or C++ (for example int i =1) compared to python (i = 1) makes it much easier to find errors when debugging your code in my opinion.
     
    Winter Soldier likes this.
  9. ravi prakash saini

    Apr 22, 2015
    604
    3,199
    india
    Windows 10
    Kaspersky
    C++ and FORTRAN for me
     
  10. Viking

    Viking Level 22
    Trusted

    Oct 2, 2011
    1,123
    5,724
    Australia
    Windows 10
    Emsisoft
    Probably C. (not listed)

    My least favourite without a doubt would be COBOL
     
  11. Opcode

    Opcode Level 18
    Content Creator

    Aug 17, 2017
    891
    6,322
    Caille
    Windows 10
    #11 Opcode, Jan 3, 2018
    Last edited: Jan 3, 2018
    Assembly will offer a performance boost as long as the Assembly code is good, and native compilers tend to insert optimisation features into the compiled binary if it isn't disabled. The C++ run-time tends to come along with things you may not necessarily want as well (by default) and this can decrease performance, compared to C which won't have as much junk coming with it's run-time.

    In regards to Assembly and machine code, some compilers do produce the source code down to assembler beforehand - and this can even be given back to you. Therefore, it isn't a definite that the compiler will generate the machine code straight away - for some compilers. A natively compiled program will end up being based on machine code anyway.
     
  12. karthic1998

    karthic1998 Level 3

    Jan 23, 2017
    137
    600
    india
    assembly language is a human convenience, so no architecture truly needs it. You could create an architecture without one if you really wanted to. But in practice, all architectures have an assembly language. First, it's very easy to create a new assembly language: give a textual name for all your machine opcodes and registers, add some syntax to represent the different addressing modes, and you're already mostly done. And even if all code was directly converted from a higher-level language directly to machine language, you still want an assembly language if only as a way of disassembling and visualizing machine code when hunting for compiler bugs, etc.
     
  13. Winter Soldier

    Winter Soldier Level 25

    Feb 13, 2017
    1,466
    10,342
    PLC programmer - Robotics industry
    Wormhole
    Windows 10
    Emsisoft
    Well my main programming language is not in the list but no surprise because
    AWL (Anweisungs-Lists) is a programming language for industrial automation, developed by Siemens for the Programmable Logic Controller ( PLC ), used in the management of industrial processes. AWL is a instruction list language in which instruction incorporates a specific operation (or function) of the PLC in form of mnemonic abbreviation. It is a text-based programming language similar to the assembly and AWL operations allow you to read or modify the values of the CPU logical stack.
    AWL allows a full control of the PLC unit but unfortunately it is also much more complex compared to other programming languages of industrial automation ( Ladder for example ).
     
    Opcode likes this.
Loading...