danger/u/
This thread is permanently archived
Programming language of choice?

| I'm well aware that programming languages each have their own utilities and problems they excel or fail at comparatively, but that doesn't mean we can't have favorites that are [at least partially] based in fact. What are some of yours?


| I'd have to throw C and C++ here due to their versatility, Python (and to an extent, Ruby) for its ease-of-use, and probably throw in BASIC in there for nostalgic reason.


| Ruby is the coolest
Crystal may become the best of all languages once it is more stable, fast like C easy like ruby that's their motto
I also like C, C++, brainfuck(it is funny and forces you to break out of common programming logic)
People usually love Python and I myself know how to code in Python, but it feels wrong somehow I never get used to it


| Forgot to mention VHDL, it's like a normal programming language, but it generates circuits that's so badass IMO


| My first is Python, which means I will forever be cursed by semicolons and curly braces whenever I do C++ and JS.

I love Python, writing in it is a joy.


| Python or rust depending on the project.


| OP here
You've all got some really cool favorites.
I've always had a kink for J (APL derivative from 90s, http://www.jsoftware.com/). The syntax is really quite something and it's always fun to challenge myself to write meaningful functions within a single line.


| I started learning Ruby from SoloLearn app on Android and looks easy to learn, medicore to use


| Probably Rust, I don't really like the Phyton syntaxis but it's surely the most powerful scripting language I have used.
I also like the SNES ASM language (65c816 or something like that), I've coded some patches for SNES games but I guess it doesn't have many other applications nowadays...


| Javascript, it is not at all that versatile, but it feels good to code on it.


| >>120608
you code snes patches? respect


| >>120687
H-how...? Javascript is a mess and you can't ever be certain what will come out of it.


| I'm finna become a Ruby-boy


| Crystal because that's the future


| >>122196
Can you elaborate?


| Python and c++ though I'm trying to learn rust


| C, C++, C#


| Crystal is the language of the future
Easy as ruby, fast as C


| 'Brainfuck' is cool programming language


| >>125172 love brainfuck


| OP again. I hadn't heard of Crystal until this very thread. I am definitely going to check it out now. It looks exciting.


| Lol Perl
Burn me alive


| Python and SQL are my favorite languages. HTML and CSS are therapeutic for me.


| I like Python a lot and really want to get into Lua now.
I appreciate PHP for possibly providing me with a job and not being as much of a shit nugget as I keep getting told.
I respect C++ for its sheer power, but also fear its complexity.


| >>126618
Lua was my first language, it's really great. There's a Linux tiling window manager called awesome wm and it uses lua for scripting and I find it a lot of fun to mess with. Great for learning IMO.


| Lua is terrifyingly easy to learn


| >>126773
Speaking of Lua, how does it handle OOP? I've heard it uses a rather...unorthodox system for that


| >>127017 unorthodox? Seems fun.


| This might sound weird but I'm currently learning Java and I'm liking it so far.

Oh and python, python is love.


| >>127167 Java is ok, unless you have to use swing then it's hell since now the standard is using JavaFX I can't say whether it is better to make graphical desktop applications now


| Scheme all the way


| VHDL not exactly programming but who cares? What it does is infinitely cooler that just programming


| I feel as the odd one being strictly c based, with c# being my favourite, then c++ and java.


| >>127017
Lua doesn't have a builtin system to handle classes, but you can put functions inside tables with other functions/variables, so you can sorta make an OOP system yourself


| powershell because you get .net and otherwise don't have much choice with managing windows environments


| Perl life bois *I'm forever a slave to the bioinformatics machine*


| >>127901 windows is for users, supah hackahs use linux


| Nope. Supah Hackahs use IBM 5100s


| >>128134 you're righ, forgive my ignorance


| >>127017
>>127885
Please do not confuse object oriented analysis with classes / OOP. Classes and OOP are an extension of OOA and to utilize them you should learn about it. I suggest you read up on OOA, its possibly one of the most neglected aspects about programming but at the same time in my opinion one of the most critical for any project. OOP is only going to make your program better if you structure it properly beforehand.


| the best lang is
B I N A R Y
L A M B D A
C A L C U L U S


| >>128614
Still, Lua doesn't really have classes in 'traditional' sense, does it?


| Has anyone tried rust? I want to try but the syntax feels weird


| ah, Rust.
Someone elsewhere was mentioning:
- Twitter app for MacOS X: 5MB. Programmed in C/C++/ObjectiveC.
- Twitter app for iOS: 150MB.
Programmed in Rust.


| Usually C and Python are my go-to languages for personal projects. When I want to be more esoteric, I'll do something in Haskell, CLisp or Prolog.


| Okay, but what's THE language for both little 1-person indie games AND dicking around with various non-gaming-related projects?


| There's none, each language has its own pros and cons


| >>129565
No not really though that wasn't my point. OOA applies to all languages if you ask me, object oriented or not.
>>129835
Jeez man people never get this one right. "Every lang is different bro just pick the one you need"
>>129832
Please take a look at c++ and opengl-tutorial.org


| >>129714
I wouldn't be compiling rust apps for distribution. IMO rust excels server side


| python is really nice and javascript becouse it runs in most browsers XD


| >>129938
Yeahhh I kinda had a feeling I'd finally have to tackle (or actually just keep tackling) C++ at some point in my life... Oh well. Guess I'll do that sometime soon.


| Yoptascript


| I'll pipe in with something functional and say OCaml. Its better than haskell imo.


| >>129832 ypu could try crystal it has sdl2 bindings so game programming is possible but sin ce I never used it for this purpose I am not entirely sure


| JavaScript. Freedom, fast to learn, you can do whatever you want and build any application for any platform. Console in every browser.


| What about golang? I dont know about it, they just say it is good.


| It should be noted about Crystal that it doesn't natively support windows yet, but they are working on it


| >>130986 crap, that's sad...


| C++, so much code used but its really nice (until you accidently make a syntax error somewhere or you did something that made everything ambigious)


| If crystal is not windows compatible I guess c++ is still my go to language for games
>talking as if I ever managed to make a game...


| I have been using golang at work and I’m liking it so far. I wish that vendoring was nicer though.


| >>131366
What do you mean with vendoring?


| >>131477 managing dependencies for golang, since there is no central repository. You use a tool like dep or govendor


| >>131538
So there is no standard library yet? Like C has its stdlib?
Having not something standardized is a chore indeed. There are some things that need to be settled and fixed and immutable. Chasing an always moving wears you out. One of the awesome characteristic of C is its standard library. That is why C knowledge is rarely obsolete and you can always add on top of what you currently know. Today there is layers and layers which change more often than clothing fashion.


| Always moving target*


| >>131569 it has a standard library. But sometimes you need more than that and usually it requires something off of github. So you bring it in via some tool. But managing it is a bit immature as someone can take something you use off GitHub. So potentially you can bloat your own Repo by including the dependencies with your own project. Also making sure something you depend on is in the right path can get a bit weird when you get to remote build tools like AWS codebuild.


| > People who likes Javascript
How do y'all survive with this mess? I have a headache whenever I see those nested curly braces and brackets brrr


| >>132090
Curly braces are a blessing. Compare it with reading everywhere do/done/end and the likes, or the atrocious codeblock-by-intendation.


| >>132133 do/end is good but I agree that blocks by indentation are evil


| I know gurls! Let's make a new programming language for ourselves
Who opens the git repo?


| >>132133
How dare you sirs, indentation is the best thing to grace our barren tech wasteland


| i really like python


| For me blocks by indentation is frustrating. Often those few seconds to understand where a block ends are enough to distract away from what I am really looking for and doing. I envy Ada for its explicit code block ending declaration with 'end if' or 'end for' especially when there are many of them within each other, like:
...
...
end if
end for
end if
end if
end main


| >>132176
Idunno, I find blocks by indentation way more intuitive than trying to figure out which endif ends which block.


| >>132289
I agree to a certain extent. But for me becomes tedious when the block is longer than a screenful of code and you need to scroll up then down several times. Having an 'end' clause *and* indentation is really nice. Because nothing stops you having indentation too, that is encouraged at all cases and languages.


| I'd say Lua but that is mostly because it's so minimal I've had to learn to implement things myself (and its a one of the few scripting languages who's syntax "click" with me). Also like JS and c++.


| Python

Total number of posts: 77, last modified on: Tue Jan 1 00:00:00 1517467118

This thread is permanently archived