Off-Topic Your favorite programming language

Your favorite programming language


  • Total voters
    16
Joined
Nov 11, 2017
Messages
58
#2
Python - clean, easy to write without pesky brackets, type names and semicolons in the way.
 
Last edited:
D

Deleted member 65228

Guest
#3
C and Assembly are missing from the poll! :(

I picked C++ if its only out of the poll choices
 
Joined
Mar 24, 2017
Messages
467
OS
Windows 10
Antivirus
ESET
#5
PHP, I could never understand why people like Python, I like those brackets and semicolons in PHP
 

Bleak

Level 3
Joined
Sep 5, 2017
Messages
132
#7
All languages are converted into the assembly language
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.
 

kev216

Level 19
Content Creator
Trusted
Joined
Aug 6, 2014
Messages
918
OS
Windows 10
Antivirus
Sophos
#8
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.
 

Viking

Level 22
Trusted
Joined
Oct 2, 2011
Messages
1,149
OS
Windows 10
Antivirus
Emsisoft
#10
Probably C. (not listed)

My least favourite without a doubt would be COBOL
 
D

Deleted member 65228

Guest
#11
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.
 
Last edited by a moderator:
Joined
Jan 23, 2017
Messages
171
#12
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.
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.
 
Joined
Feb 13, 2017
Messages
1,464
OS
Windows 10
Antivirus
Emsisoft
#13
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 ).
 

Similar Threads

Similar Threads