I'm sure there are many people which know around 3 or only 1. Then why did you learnt these programming language(s)?
I'm sure there are many people which know around 3 or only 1. Then why did you learnt these programming language(s)?
For further actions, you may consider blocking this person and/or reporting abuse
The ones I use regularly are C++ (including 11, 14 etc.), Java, C, Javascript, C# and Bash scripting.
So which one is your favourite?
I don't have one. All of them have their advantages and drawbacks. Only the first five I listed are probably no longer useful, well, maybe C for embedded systems.
My first language(!), and it's still my main and favourite.
I started C# and PHP which was really bad, I haven't learnt anything about programming I was just copy-pasting.
After learning functional programming what is it (without any programming language), I started to learn every functional programming language (Haskell, Elm, Clojure, ...) and most comfortable one was OCaml. It's more practical compared to other languages. It's mostly functional, but it makes you able to use other concepts. It's really (but really) fast. I'm in love with its syntax (ML syntax). Just using it for fun, solving problems, and frontend (haven't learnt it yet) with Reasonml which is just an alternate syntax for OCaml. I haven't created and projects with it yet.
I needed a concurrent and good language for web language. I have looked to other languages like Golang, Scala, Clojure. But the best ones were Erlang/Elixir. Its concurrency is really powerful and easy. It can spawn a lot of processes. Also, it's generally used for web servers and sending HTTP requests. There was Elixir, but I became more comfortable with Erlang. Both runs in Erlang VM(s).
Planning
The syntax is nice, have good frameworks like Ruby on Rails, Sinatra. The usage will be the same with Python.
For systems programming or low level things.
BASIC: Language taught in Primary School Grade 2-3
Logo: Language taught in Grade 4-5. Turtle graphics and arithmetic operations only.
C: Learnt as part of Grade 6 coursework.
C++: I didn't want to stop at C. I did a tutor course in the summer holidays. Revisited as part of Standard Grade 10-12 and college coursework. The only use I could extract from it was in competitive programming.
HTML/CSS: I didn't have internet access at that time but my computer guy set up FrontPage and Dreamweaver on it. Learnt the basics from manual and auto-suggestions.
Python: Learning C/C++ again in college was boring. Python was a breath in fresh air. My favorite ❤.
JavaScript: When I started making web pages, I quickly understood that only HTML/CSS is never going to be enough. Node/express stack is also great at quickly fleshing out a back-end.
Bash: Switched to Linux in second year of college. Although zsh is preferred shell, nobody should write their shell scripts in it.
Java: College coursework in 2nd year. Haven't touched it since then.
Go: Learnt to make a multi-threaded filesystem watcher at work and really liked it.
TypeScript: When I was learning React to work on a new project at work, I went with TS. Now, I use it in place of JS wherever I can. Even when working with Node. Type-safety helps a lot when working on large projects.
Rust: Better C++. Currently trying to learn.
Actually not better C++. It's a better systems programming language.
That's what I meant by Better C++. I was actually referring to the primary usecase of C++.
To answer the Why did you learn these programming languages? question, I offer my Rule of 3 strategy. It has mostly an economics incentive. At any time I'd like to concentrate on practicing 3 languages.
At the beginning of my career the tiers were:
Then at some point I switched to.
Nowadays it looks like that:
So yeah. That's my Rule of 3.
I presume you mean programming languages?
I learned more then 6 along the years, each served its purpose at a specific time, in my career or for a project. I played around with a few others just to learn.
As for my current and future language I moved to Go, because ... Many reasons, mainly because it suits me, my plans (cloud) and tech challenges (big data, big distributed systems), and I avoid Java ecosystem at all costs.
Ah yeah, updated the title. Also, I still think to go is young for big things.
Have you heard of Dropbox? Or kubernetes?
It will be pretty complete after Go 2.0 (with modules, better errors and generics).
I agree that now is in a grey state. But I will take my chances and bet my career on it (actually am) :))
PHP
Built an app using Laravel at my job. Still running. Done PHP for 3 years and Laravel for 1.
Python
Using Odoo for our ERP. Got to love it. Done Python & odoo since 1 year now.
Javascript
My Laravel app works besides Javascript for interactivity (rich text editor,...). Got to love it too. Mostly used for bundling my apps (Gulp.js).
Got some knowledge on C, C++, C#, Java, but not enough!
Mostly JavaScript, because web dev.
Next is Python, because scraping/munging/other repetitive tasks.
Sometimes Bash, but not that often.
At least for now, this gets the job done. I've been wanting to play more with game dev in Unity for a while, so I expect to add C# to the list.
Python: my second language. started learning it after getting frustrated with BASH shell's speed. Most of my projects to date are written in python.
Ive written everything from a window manager framework of sorts to a point and click adventure engine, to a gopherspace client. in fact, the next language comes from one of my python projects...
I don't know if anyone else here has written any project-specific languages. but id figure id mention one of mine. At least the most interesting.
Python (3.x) - swiss army knife scripting language, lovely syntax, approachable... my only gripe: I'm still not a fan of indentation for block structure, I guess I have curly-braces in my DNA
Lua (5.x) - tiny footprint embedded scripting engine, elegant syntax with just the right amount of sugar... my biggest gripe: 1-based indexing
C++ (C++14 these days) - powerful, not a nanny language, dangerous, my day-to-day language (and it pays the bills)... I have a love-hate relationship with C++
D (2.x) - a better C++ than C++, created by Walter (1.x & 2.x) & Andrei (2.x)... I look at this as a "What C++ could have been if it hadn't been backwards-ish compatible with C"
F# (4.x) - functional programming is a game-changer; F# is a mature, pragmatic language with a beautiful syntax (basically it is OCaml for .NET; the ML lineage has been around since the 1970s)... Haskell is a pure language, and can teach the functional programming concepts, but I don't like its syntax and it's not what I'd use for an industrial strength program... attempting to learn functional programming in C++ or Lisp will do much to injure one's understanding of functional programming... another interesting functional programming language is Elm (but it is a rapidly evolving 0.x language, which makes for difficult code maintenance)
JavaScript (ES5, ES6) - only because I have to, because it's the language of the web... I am not a fan of JavaScript, and fortunately I don't have to do a lot of it. (If I had to do a lot of it, I think I'd use CoffeeScript 2.) In Brendan Eich's defense, JavaScript was created to make little snippets of code to glue events to actions. It was not originally designed to write 100+ kLOC applications.
I next want to learn Swift. I've been putting it off, because I had to come up to speed with modern C++ (C++11, C++14 and C++17).
I've used many other languages, but I either don't use them anymore or very little. BASIC (a wide variety of flavors), 6502, 68000, C, Objective-C, Pascal, Object Pascal, FORTRAN, Scheme (an offshoot of LISP), Perl, Rexx, TypeScript, Java, SQL, Prolog, bunch of shell scripts across many platforms, Awk (not sure where to draw the line; I guess Awk is the line as a utility / tool / DSL).
I've learned a few languages just for fun or academically. Never used them for real work. Never learned them deeply. Go, Rust, Ada, Ruby, x86, Spec#, Sing#, Groovy, Boo, MATLAB, COBOL, and many others.
I've tried my hand at making my own general-purpose programming language. I've discovered that it is very hard. Very, very hard. If it is a hobby one is interested in, expect to devote 10+ years to it. Longer if it becomes successful.
I've created several programming languages for shipping products, but since those were domain-specific languages (rather than general-purpose) and had fairly limited and constrained capabilities, they were relatively easy to create.
Ah sure, i'll share right now :p
C#
Actually, you can use Reason ML for anything else, it's just an alternate syntax on top of Ocaml, it's just that the FB fellows talk a lot about Reason React.
Thanks for the recommendation!
Every problem that Haskell or C can solve. It's both functional, imperative and object-oriented. Also fast like C.