What's the best programming language /g/?
C++
>>57614887
first post, best post
/thread
>>57614887
been doing it for 6 years, need a new one
>>57615015
Ruby.
Similar powers, even though it's not that low-level, but good fun.
>>57615230
Isn't it for web dev?
>>57615230
>C++
>low-level
what the fuck are you on about?
C++ is about as high level as you can get with a compiled language.
>>57615230
>unironically recommending hipster language
>>57615357
Mostly, yes.
But you can also use it for SysAdmin (Chef/Puppet) or Pentesting/InfoSec (Metaspoit) ro simple every day scripting (renaming filenames, downloading stuff and putting it somewhere).
You can also include C or C++ files in many different ways:
>https://www.amberbit.com/blog/2014/6/12/calling-c-cpp-from-ruby/
>>57614881
Python + C
LISP
>>57614881
go, for now.
Haskell of course
>>57615389
>I blindly believe in clichees
>>57615382
Let's not argue about wording here. Of course C++ is "high-level" in terms of what you can do (i.e. templates).
But in terms of semantics it's rather low level.
Think about this code:v,c = "some words here".upcase.chars.partition{ |i| i =~ /[AEIOU]/ }
a = $stdout
a.write v
puts "..are some vowels."
You just took a String, made it all-upper case and created two arrays: one containing all the vowels, the other one containing the rest. Then we captured stdout and printed the arrays of vowels.
All this is built-in, and it's not even the pit of the iceberg.
Other langauges like python have many of Ruby's goodies (i.e. never worry about int overflows anymore).
But Ruby has a lot of hidden power features, i.e. lazy evaluation, dead code elimination or really amazing meta-programming features.
>>57615566
Double-dubs confirm..p (1..100).reduce(:+)
>>57614881
>C#
Everything else is a meme
Swift and I'm not being ironic
>>57614881
C#, its what both Java and C++ should have been
>>57615230
>comparing a high level scripting language that has dynamic typing with a low level compiled language that has static/strong typing
>>57614881
that question is so vague as to be meaningless.
>What's the best car, /o/?
Well gee, idk. Do you want to commute to work economically? Go really fast? Haul equipment? Drive off-road?
>>57615015
rust
>>57615389
js is the real hipster language now
your question is like asking "what is the best sport?". it is entirely subjective unless you give a metric by which we can compare.
if you go by job availability, see pic related:
job availability in jewistan:
Java 310 jobs
C# 252 jobs
C++ 200 jobs
C 57
>>57614881
None. It all depends on personal preferences and needs and project's requirements.
My personal favourite is Lua, as it was my first language, then C, and C++. I like scripting languages (Python, JS, AS, Lua, Haxe). Assembly is fun too (I only tried x86 though). Recently I use Java and C# a lot and they're comfiest for what I'm up to. Java is more of a bloat though but I'm not a professional dev and I'm just learning so I can afford to spend some more time on my code to keep it clean and not be bothered. I'm trying Haskell too and slowly beginning to like it.
Depends. Do you want a good successful career? I'd say Java. Specifically developing fot Android. But of course if you want to be a special snowflake simply tag along with what /g/ says.
>>57614881
The one farthest to the right, 2bh
>>57614881
C# and Python
All you need
>>57614881
Fortran...
To bad no one will ever accept it though.
APL, FORTH, Idris, CPL/BCPL
Any others are just normie tier
>>57621256
this desu
As a non-professional, and only an amateur:
- Ruby: cleaner and more consistent than Python; it may be slower, but who gives a fuck about speed in an interpreted language.
- Clojure: neat as fuck. I like the Lisps, and Clojure seems like a nice, modern interpretation. Shame about the JVM.
- Haskell: has changed my thinking or reasoning about problems. My mind 'defaults' to a Haskell solution, for some reason.
- C: currently learning it more deeply. Feels one step up from Sinclair Basic I learnt in 1986.