28 points · by jsudhams · 11y ago · 57 comments
I want to be a good programmer for alternate income as in India it is not possible continue as IT Infra guy with out biting management bullet after some level of salary. I get around 34K USD after tax here in india and manage a team now but also consult and design apps. Very innovative and have can solove anything attitude and does not drop/give up before trying. Have learned trading in real markets as well as openstack, aws and TOGAF way of EA. Been around a lot in this forum and earlier in slash dot.
I have gone through funtional programming pros and cons and discussion here. What i need is what langauage can/should i learn out of the below ones.
1. Rust 2. Go 3. Haskell 4. Elixr (Erlang) 5. Lisp
What I want to get out is side income to start with as remote work ( i dont have regular education for H1B but L1 i can get so dont want try moving)
But want to pick up a domain like Trading or Telephony or large systems management learn using real worl scenarios and problems and create applications as i learn. I have plan bootstrap few ideas in banking and in chat areas. But main thing is want to have some steady income via side project some thing like US$ 2 K per month is sustainable for long run.
As a primer i have started (again) on math on Khan academy and refreshing math skills.
So my question is which language should i learn? (Note: i can love what i do so no answer of love what u do, had developed this mentality to come so i am fine with start something love it)
Perhaps the most demotivational advice I've ever read :-)
"Learn javascript and clean up other people's mess."
Plus if you want to be a $200+ per hour contractor, this type of "mercenary work" can be really profitable.
http://thenextweb.com/dd/2015/06/16/node-js-and-io-js-are-se...
Now io.js and Node.js are "merging", but the merge is just the io.js codebase with some patches from node.js all under the node.js branding and the new node foundation (which has blessings from the linux foundation, IBM, Microsoft, etc). So the community has been "resolved."
But really, you should read http://www.kalzumeus.com/2011/10/28/dont-call-yourself-a-pro... which has the more correct answer for your question: It doesn't matter.
Not on your list: Java, C++, C#, maybe even COBOL.
If you want cool work then: Rust, Haskell, Elixir and Lisp (Clojure). As these will see a lot more green field projects, use at start-ups, use by teams that are less constrained by Enterprise criteria.
0 jobs available for most of the "cool" languages, but some for clojure, 4 for go, and hundreds for java, C++, C#.
So, it depends if he wants to get paid or just learn for the sake of learning.
Of the five you got there, I would go for Go. Or Clojure as a Lisp. Scala is also a good option.
Also, I'd refrain from trying to learn as many languages as possible. Understand how systems work and how to build them. You have to understand how to read code, before you become a great coder (Maybe you already are, I'm speaking in general).
Go is the new C, for good and ill.
We're going to be stuck with it for decades. Might as well become conversant.
1+
> Rust should take over,
no </3
On the other hand, if you're creating personal projects to monetise, use whatever you like/has the best libraries, etc.
When I was in school I focused primarily becoming proficient at Python, as I thought that was the language that would land me a decent career. Since I am mostly interested in web programming, I found myself building backends in Python - but always ended up still using a ton of JavaScript. When I switched my focus to being primarily a JavaScript developer, I ended up finding a ton of work and that is still the case to this day (5-6 years later).
Honestly you already have a language that's much more commercially viable: C#. You'll find it easier to make money by expanding your C# skills than with any of the languages you suggest. If you want to go functional then F# is a good companion language since it's interoperable with C#, so you can use small pieces of it where appropriate.
What matters is the product you create and whether people will use it and/or pay for it.
Rust while promising (I use it heavily myself) still hasn't seen much industry adoption. I'm confident it will... eventually.
I will say though that in most low level systems that demand absolute performance or that have been around for quite a while it is still mostly C/C++ based. So if you are wanting to break into those areas, then C is going to be the language to know really well. I have worked on a number of telephony systems and am familiar with a few financial trading platform architectures, and C is really core and popular in both domains. Other languages are used in both domains, but just wanted to toss that out there to you.
I think you need to be very careful with this and quantify it more. I suspect that if you graphed Go + Elixr on a graph with either LOC deployed, new LOC written, expected future projects or jobs available it wouldn't even be visible on the same scale as C# or C++. Compared to Java you'd have to do some sort of dramatic log scale or something to see it.
Ok, this has one big flaw, it doesn't tell much about langs that are still in development (rust, go, ...), so keep that in mind.
I worked at a telephony company and that was the most interesting job I had thus far.
I've been doing Ruby for over 10 years. Never seen anything like Elixir.
Rust, Haskell, Clojure will have their niches too. But Elixir will probably take over back-end web development.
That's a very large claim, can you give some more reasons as to why you think so?
1) Extreme concurrency due to Erlang underneath, which means not only being able to handle lots of connections at once, but very good DDoS resistance. See WhatsApp's blog post about it: http://blog.whatsapp.com/196/1-million-is-so-2011 An Elixir (or Erlang) process can fire up a million new nodes in a second on commodity hardware. No joke. The out-of-the-box concurrency in Elixir replaces many tools in Ruby that are normally separate gems: http://www.smashcompany.com/technology/ruby-concurrency-need...
2) Near-100% uptime possible. (Google "Whatsapp uptime"). Erlang was designed to run cell networks. It made them very reliable. The entire philosophy of the language is to "embrace failure, log it and try again ASAP." This ends up being a very good strategy when dealing with the uncertainty of the real world, and things like security concerns.
3) Live code upgrades without downtime. See this demo: https://youtu.be/96UzSHyp0F8
4) MUCH nicer syntax than Erlang. Especially for ex-Rubyists. It's a functional language (with all the advantages that provides) with a Ruby-flavored syntax. Best of all worlds.
5) Phoenix, the Rails-equivalent web API, has come out of the gate with a 2 to 10x performance improvement over Rails using a fraction of the CPU load: http://www.littlelines.com/blog/2014/07/08/elixir-vs-ruby-sh...
6) Elixir provides true macros (in the Lisp sense). It seems to be the very first non-homoiconic (https://en.wikipedia.org/wiki/Homoiconicity) language to pull this off: http://elixir-lang.org/getting-started/meta/macros.html Macros allow for some very powerful code, but the homoiconicity of Lisplikes (which is normally the only place "true" macros are available) has been a turn-off for many. I probably don't need to sell you on macros if you're on Hacker News, Paul Graham has historically praised them as a key differentiator: http://www.paulgraham.com/avg.html Also see his praising of Lisp: http://www.paulgraham.com/diff.html
7) No reliance on the JVM (and its spinup time).
8) The tooling is fantastic so far- Mix is like a combination of "bundler", "gem" and "rake". The test suites run in parallel by default, which means faster code turnaround.
9) You can take advantage of the entire existing Erlang code library. Trivial to include it in your project and call into it. That's quite the bootstrapping, and eliminates a lot of upfront work to make things useful.
10) Harder to make bugs in general- Making state explicit means less coupling, dependencies and bugs. Immutable data means less bugs (and trivial concurrency). Pattern-matching means less control-flow logic, and again, less bugs. Using typespecs in conjuction with Dialyzer means less bugs: http://learningelixir.joekain.com/elixir-type-safety/
Less bugs means far more productive programmers. More resilience means more uptime and more resistance to DDoS and happier customers. Live code upgrades mean more uptime. Faster test suites means far more productive programmers. Nice syntax means it "feels nice" for Rubyists (and likely Pythonistas). Faster language, period, means less hardware is necessary.
All of this and more, combined with the sense of intelligence and professionalism I'm detecting in the community (Jose Valim, Chris McCord, etc.) gives me a pretty good feeling about it.
Out of those, would pick Go
I was born in England and have had to work at developing a "mid-Atlantic" English accent to make it easier for Americans to understand me on the phone.
One of my colleagues who grew up in Chennai says that learning how to speak with an American accent has won him a lot of contracts over competing outsourcing firms.
If you are selling something then making it as easy as possible to buy from you is a good idea.
If I were in the position of trying to get remote work in telephony, I'd start learning the popular open source packages in use (Asterisk, FreeSWITCH, OpenSIPS), read up on protocol SIP (SIP Illustrated is a good course, includes an annotated RFC) and get your name out there in the community (answer questions, post write ups, etc.)
There's a range of work from cobbling CRUD apps together around a telephony core, to fixing core code, setting up networks, etc. Telecom has a lot of legacy and complexity, and that means there's opportunity for people figuring it out. I've seen this happen: guy joins mailing list asking super newb questions. Fast forward a bit and now he's billed out as an expert. All self-taught and promoted.
You'd also need solid networking skills (which come in handy even in web dev; I'm annoyed/surprised that many "web developers" are unable to diagnose basic network issues with Wireshark). The material in a CCNA course should be a decent starting point, though don't obsess about learning IOS management.
On languages, if you're steady with C (you have a good idea how the machine works), and you've got a couple popular languages learned, I don't believe language will hold you back. Domain experience will compensate, and you can always learn new languages easily enough. Though I'd highly suggest picking up a functional language (I'm preferential to F#) for the much more powerful thinking it'll bring you. Ultimately, I'm unconvinced that picking up a hot language will lead to work in that language (hey, I just learned Go, hire me!). But demonstrating ability will show you off very well. For instance, Rust is hot, a great language, and there's still opportunity for write-ups on "I did $neatish_thing, in Rust", to get a fair amount of interest.
Otherwise if you really just are trying to bid on random contract work, others said it: adding the JVM/Java keyword is probably the best way to increase reach.
Edit: With 17 years IT, when you add programming to the mix, you now have the very hot "devops" buzzword which seems to be very popular.
1. JavaScript
2. Java
3. C#
Everything else is niche, recommended by people drinking too much Kool-Aid.Niche isn't always a bad thing.
> recommended by people drinking too much Kool-Aid.
Sure, it's just because of Kool-Aid that people choose to use C, Lisp, Haskell, Python, Ruby, etc for projects instead of one of your blessed 3 languages.
Objective-C and Swift are niche? Apple has sold 100,000,000s of devices.
PHP is niche? Python is niche?
Be careful about writing in absolutes.
Objective-C and Swift are obviously big in terms of absolute number of jobs available but I'd suspect still an order of magnitude smaller relative to the other three combined.
Learning the more esoteric stuff can be fun and can teach some interesting approaches to programming, but they are niche. Maybe more highly-paid jobs, but the availability is orders of magnitude lower than the more widely-used languages.
Not knowing anything else about you than that you are from India, and just going on the experiences I have had working with some Indian subcontractors, doing some Rosetta Stone English would probably be a worthwhile investment. It's mostly the tempo that seems to confuddle Americans.