DSHack

Archive Generated December 23rd, 2018
Rate Your Programming Languages
Author Posted on 2017/01/07
#2816
MKGirlism Some of us know how to program, and often use multiple languages.
In this thread, list the programming languages you know, either from best to worst, or from worst to best, and explain why.
This includes the languages you used only once to play around with, and languages you just started to learn.

I'll start, ranking from worst to best.

6. Javascript
Javascript is by far the worst programming language I've ever used.
It's extremely difficult to wrap your head around, and it's getting over-abused by way to many hipster coders.
More often than necessary, your javascript code might not even work, even if your code is 100% correct.

However, this language isn't a complete waste, it's what powers this sites' ShoutBox, Top Bar, and Social Bar, after all.
My advice: Only use it when necessary, not because it's the standard of this era!

5. Java
I didn't use it a lot, because it's yet another language I can't figure out.
This time, not because of the code itself, but rather, because of the way compiled apps work.

Once apps get compiled, you'll find out how resource heavy they are.
Yes, even something as simple as "Hello World" can get much heavier than an equivalent made in C++, or even C#.
Besides, the default widgets instantly make your apps look like they were built in the time before your mother was even born.

But the positive thing is, there's lots of help available for it online, since that's the most popular programming language ever.

4. C#
C# is a nice beginners language, it can be used to teach you on how to make your own desktop apps, which is exactly what universities all over the world do.
C# apps can be made available for any platform, if you use Mono or GTK# as your Framework.
Unfortunately, Mono is mainly only used in the Unity3D Engine (which is my main use of this language, anyway), and other than that, there's a 99.9% chance a C# app was created using the .NET Framework, and therefore, will only work on Windows (also on macOS and Linux through Mono, given the app doesn't use any 3rd Party Libraries).

Although this is not a bad language in general, it can still get quite bloated.
In my opinion, C# does to much for you, which makes you lose control over it quite a lot.

.NET Framework over-usage, and being bloated are my reasons to put it on the 4th spot.
At least it's far less bloated than Java is...

3. C++
C++ is really nice, although quite hard to learn.
It runs on pretty much anything, and it's excellent for video games.
C++ allows you to go as deep as the bare metal, meaning you can optimise your code by a lot.

C++11 and C++14 add lots of cool features not available in the original C++ (aka, C++98).
I've put it on the 3rd spot, only because of its learning curve.

2. PHP
PHP is the language I started programming in.
I'm currently at such a level, that I can make pretty much anything with it, including this very Forum Software.

PHP is easy to use, easy to get started with, and it's very powerful.
However, it's difficult to make anything that's not web-based, and it gets compiled on runtime, meaning you have no idea if your code is correct, until you actually run it.
Therefore, it's not the best language on my list.

1. ANSI C
While I really like modern technology, I still have a bigger love over retro.
I really enjoy making things in C, especially when combined with GTK+.

There is no decent IDE for C programming, neither there is one for GTK+, so you're forced to make everything with a simple text editor, and a compiler.
But I don't mind it, that's the way I make PHP apps as well (minus the compiler part), and I enjoy it way more than using an IDE.

C does lack lots of essential features, but it actually makes me feel much more rewarded, once I've got something done.
If I would make this thread a few months ago, PHP would be my number 1 language, but now I actually prefer C.
Author Posted on 2017/01/07
#2818
Miles Ermiiworth Wow that's some very nice topic andI think I can go with this.
From worst to best in my opinion:

- Pascal
I've started programming 5 years ago at school but it wasn't anything serious, just some 2+3 and string1+string2. Very boring at first, but it eventually became interesting once we started programming "actual" stuff (real algorithms) 2,5 years ago. Syntax-wise, Pascal is very easy. What made me hate it isn't the programming language itself, but the environment we were forced to use: Borland Pascal (or Turbo Pascal), directly from the 80s, early 90s and on DOSBox that would crash each 5 minutes for whatever reason. I don't really know why they fucking made us use that. But well, I've learnt Object Oriented Programming by using it, since it was easy.

- Javascript and PHP
I really do like Javascript, it's simple and really versatile, but to find a bug you take a lot of time and sometimes you'd better start from scratch lol
I've made a bunch of funny games and it was really funny, funny isn't it?
I haven't much to say about it lol, it's just a fine language... (it's basically C, as most C-like languages I've learned)
Same applies for PHP.

- Java
Started learning Java some months ago, already can do pretty much anything. But as Yami said, I hate its looks (despite the fact you can actually change its appearence with a few liines of code, and the result is as good as the .NET apps) and it really feels heavy. But maybe it's just a feeling (considering .NET pretty much DOES the same as the Java Virtual Machine).
Bah, Java and C# are 90% the same language, that's why after 1 month of practising I can already pretty much do anything (anything I'm able to lol).
But IDK, I still don't like it as much as I like C#, Visual Studio and .NET. I never cared too much about cross-platforming, Java might be a great alternative if in the future I ever wanted to make some app for all Operating Systems. And one other thing, I hate updating that fucking Coffee, that's why my PCs always end up having old Java versions xD

- C
I've started programming in C after have learned Pascal. I really didn't understand a thing when I began. What the fuck are pointers? CASTS? WHAAA-
But I eventually started to love them at some point. Expecially after they've made EKDS to become a better hack I guess. I also like C because... you can do what the fuck you want, corrupt memory, copy memory you are not supposed to copy, sniff other processes memory and so on. You have the power with this. Unlike Yami, I've never made any Desktop app with C and I really wouldn't see how they would work since when I progam some app that has windows and buttons I always imagine Classes and OoP in general, but hey, I guess YOU CAN actually do them.

- C++
Oh yeah, C++, AWESOME. C with classes, what's better than this?
This could probably be the best programming language but I really haven't managed to do anything other than this.
You never end to learn: just some months ago I've learnt such a wonderful thing that's called Template is an actual feature (thanks Geri).
C++ might soon become my favorite, once I master it.

- C#
.NET is such a glitchy platform, just today I've noticed how limited it is since it does everything for you. That fucking TreeView double click was glitchy as fuck, I had to override the WndProc protected procedure and make a derived class that fixed the Double click.
But C# is my favorite language so far. Easy great looking apps, and it's fast. People say it's faster than Java, maybe it is but I don't really know and I don't care.
Finally, I can express with one sentence my love for C#:
KMP Expander

Author Posted on 2017/01/08
#2820
CosmicEternity Do you want to add that HTML/CSS are not programming languages, but rather just markup and styling for webpages? A couple people might get confused and put them down on here, especially those inexperienced in general.

I'm thinking of learning PHP or Python, what would you recommend to learn first? (Looking for whatever one would be easier, lighter and more clean, typically, or are they not good places to start for web development?)
Author Posted on 2017/01/08
#2821
MKGirlism HTML and CSS indeed don't count as programming languages, which is why I decided not to include them on my list.

As for your other question:
Easier: PHP.
Cleaner: Python.
Lighter: Both.
Author Posted on 2017/01/08
#2822
Miles Ermiiworth I always considered HTML and CSS a thing that's integrated when you program anything web related in Javascript PHP or whatever.
Author Posted on 2017/06/01
#3214
Super-toad 65 PHP: the only language i decently know to make stuff. It's simple to use and doesn't need compilers/interpreters. Wee
Author Posted on 2017/06/01
#3215
テクニカル諏訪子 You still need to have PHP installed on your own machine or server to run applications made with it.

My list:
7. Javascript
It's easy to code, but break easily.
Code formatting makes no sense either.

6. Objective-C and Swift
Despite both being completely different languages, I decided to put them in one group because Apple.
Tried both languages; understood neither.
No proper documentations anywhere, and requires a Mac to even compile shit.

5. C#
OK, this language is not too bad, but requires a Windows PC for most of the time.
You can make anything by hand too, but often requires Visual Studio, if you don't want your apps to be half-arsed.

Confused? Official documentations are here to make you EVEN MORE CONFUSED!!!
But at least there are zillions of unofficial tutorials available.

4. Java
Should actually be worse than C# due to its security holes and horrible lack of optimisation, but Java is flexible.
It runs on all supported platforms, but often requires you to have more RAM, 'cause it takes a fucking of resources.
And Java is premu the most useless language for those of us who refuse to use IDEs after the 2 Apple languages.

3. PHP
If I may be honest, PHP is a rotten language, but it's a language I know best, its documentations are straight forward, and there's tons of support from other devs, hence the high ranking.
The only reason why I'm not a fan of PHP is rather because the code can become a mess really quick (never used it with a framework, so it might not be the case if you use something like CakePHP, Symphony, Laravel, or whatevs).
Another reason why the source code of this forum isn't available yet, since only Yami and me can work with it (and it's still confusing for both of us if we don't use it oft enough).

2. C++
I really like C++, since it works everywhere, and it got everything.
Playing around with GTKmm is nice, but sometimes troublesome if you don't pay enough attention. Either before, during, or after compilation.
And debugging can be an arse too if you get segmentation faults.
But there are tons of frameworks, libraries, and stuff available, so there's really nothing you can't make with this.
As a bonus, the documentations are really easy to understand.

1. C
Just like Yami, I love C most.
This one truly works EVERYWHERE!
It's a very outdated language and does not include many concepts other languages have by default, but that's what makes it more challenging (and less bloated).

Bonus. Ruby on Rails
I recently started learning Ruby on Rails (right here).
This language is very different from what I'm used to, making it even more challenging to learn. ლ(´ڡ`ლ)