Favorite Programming Language?

Favorite Programming Language

  • Assembly Language

    Votes: 1 1.2%
  • ASP.NET

    Votes: 2 2.4%
  • C#

    Votes: 9 10.8%
  • C / C++

    Votes: 7 8.4%
  • FORTRAN

    Votes: 0 0.0%
  • Java

    Votes: 8 9.6%
  • JavaScript

    Votes: 7 8.4%
  • Lisp

    Votes: 0 0.0%
  • PERL

    Votes: 2 2.4%
  • PHP

    Votes: 37 44.6%
  • Python

    Votes: 5 6.0%
  • Ruby

    Votes: 0 0.0%
  • Shakespeare

    Votes: 0 0.0%
  • Smalltalk

    Votes: 0 0.0%
  • Other

    Votes: 5 6.0%

  • Total voters
    83

Elli

Reputable
Jan 20, 2019
242
97
35
ellimccale.com
FP$
904
JavaScript! It's a little silly about type coercion, but I like it. And to be fair, the only other language I've ever touched in PHP—which I think is trash—so someday that answer might change.
 

TopSilver

Acquaintance
Mar 16, 2019
47
23
10
28
www.mindpiff.com
FP$
182
I also voted PHP as currently it's the only one I'm learning. Mainly a web developer here but PHP is something I enjoy so far and looking into getting deeper into it's studies. Object Oriented especially for making Xenforo 2 add-ons which I have a couple already made is quite fun to do.
 

Ghost

Seasoned Veteran
Blogger
Jun 25, 2009
3,135
153
185
Earth
wubur.com
FP$
2,372
I probably already posted in this discussion, but I cannot remember...
I definitely had a huge love for PHP, and I still do because PROPER php can be extremely efficient & beneficial for a website. Being able to manage / use a database, manage / use files, store & display user data, and do a lot of server-side functions is absolutely incredible. Today I actually wrote a script that I called "LockDir.php" which checks every single /directory/ or /folder/ on the website and makes sure it either has index.php or index.html. The reason for this is because if an index file is not present, Google and other search engines will crawl and index those directories... that is absolutely 100% not ideal if there are pages that should be hidden, scripts that you don't want search engines to trigger/execute, or people to be able to snoop in. As a security measure, having an index.php/index.html inside every single folder on your website can go a long way... so here's the issue. We had a client that used WordPress in the past.... now they do not use it. However, they wanted to keep their uploaded files, so they specifically told us we could not alter or delete the designated uploads folder. We advised them against this and mentioned that we could actually keep their uploads, but secure them with authentication methods for the uploads directory. They did not want to pay any more money, so they opted to keep their old Wordpress files & folders... thats' right... all of them... Not just the uploads directory - EVERYTHING.

Well, today they complained that Google had indexed their PDF uploads (no surprise there).
One of those PDF files had contact details of the people in their organization. That was a huge no-no... So, we went ahead and applied a bunch of security measures (for $$) to make those files inaccessible. However, we were still displeased with this because their server admin likes to add new files and directories (he calls them archives). We wanted to make sure that Google and other search engines could not index the directories/files as a final security measure. However, with WordPress and theme folders, they had literally 879 different folders (without an index.html or index.php file inside of them). I had the choice to either manually right click "create file -> index.php -> copy & paste 'Directory Access Denied' into the file -> save file" or come up with another method. I used PHP to recursively search through every single folder. When it got into a folder, it looked to see if there were any "sub folders". When it went into a "sub folder" it looked for "sub sub folders", and so on and so on. I was able to write 32 lines of code that could look for ANY folder/directory that did not contain either index.php or index.html (to prevent search engines from indexing the files in those directories). With those 32 lines of code, I was able to automatically create the 'index.php' files with the message 'Directory Access Denied' in less than 5 seconds. 879 separate index.php files were created! That's just one example of the power of PHP.

However, my favorite language is JavaScript because of how you can manipulate what the user sees, see what the user does, create browser games, send data to a database, and so much more. Although PHP is vital and amazing for server-side functions like creating files and managing a database, JavaScript is much more fun and incredible boosting user engagement & improving their experience.
 
  • Winner
Reactions: 1 person

Ravenisawesome

Resident
Aug 4, 2012
608
41
75
29
Mobius
FP$
5,493
No surprise that I'm the only one who voted Assembly. I'm a strange person, I find Assembly to be easier to work with than object oriented languages. It's probably because the first language I've ever messed around with was 68k asm. :p
 

Azareal

Paragon
Dec 18, 2010
1,746
354
130
Mars
gosora-project.com
FP$
4,498
No surprise that I'm the only one who voted Assembly. I'm a strange person, I find Assembly to be easier to work with than object oriented languages. It's probably because the first language I've ever messed around with was 68k asm. :p
Assembly is certainly an interesting one. I've poked around a bit with x86 assembly and WebAssembly before, although it's a bit too much boilerplate for regular use lol
 
  • Like
Reactions: Ravenisawesome