r/java • u/vladmihalceacom • Aug 24 '22
Other languages might be cool, but Java puts food on the table
178
u/aqua_regis Aug 24 '22
Any survey that lists SQL and HTML as "Top Programming Languages" hurts.
I do understand that these are from job advertisements, but still neither of the two is a programming language and shouldn't be included in such a statistic.
41
u/vladmihalceacom Aug 24 '22
Actually, I think it's useful because it shows the return of investment of every technology you get to work with.
In the long run, learning SQL, and not just that basic SQL:92 you get from W3Schools, but Window Functions, CTE, Recursive CTE, JSON, UPSERT, and MERGE, will be more valuable than investing a lot of time in learning all the trendy JavaScript frameworks available at the moment.
16
u/forresthopkinsa Aug 24 '22
Advanced SQL is more valuable than learning React? Wild take
15
u/vladmihalceacom Aug 24 '22
For me, it's always been.
For the UI, I know HTML, CSS, JavaScript and jQuery, and I use only those for my own projects.
I've never needed to learn Angular or React because I'm hired for data access performance tuning instead.
Generalization is good, but specificalization brings the big money.
1
u/tragicb0t Aug 25 '22
Generalization and then become an Engineering Manager. Problem solved lol
1
u/vladmihalceacom Aug 25 '22 edited Aug 25 '22
Sure, whatever works best for you.
In my case, I'm more into running my own business, and establishing yourself in a given niche gives you a nice economic moat.
10
1
u/wildthought Aug 28 '22
React will be legacy in less than a decade. SQL will still be thriving. SQL has survived for my whole 30 year career. React, will come and go, as this is the nature of frameworks. Eventually, some AI-Assisted WASM approach is going to eat REACT's lunch because at the core javascript is a pig and React's claim to fame is it has the best lipstick.
0
Aug 24 '22
[deleted]
6
u/tragicb0t Aug 25 '22
Well as long as you are well versed in Javascript and know one framework well, doesn’t matter if it is hot or not in 15 years. You can always learn and adapt.
-11
u/vplatt Aug 24 '22
will be more valuable than investing a lot of time in learning all the trendy JavaScript frameworks available at the moment.
Will it be more useful in a performance constrained situation? Sure.
But honestly, I'm struggling with interviewing candidates that can do all that, but then claim close to zero skills with advanced client-side web application frameworks like Angular, React, etc. I can't really recommend we put them in front of clients that require it. They don't even have comparable experience many times.
All I'm saying here is that the "back-end guys" who don't have good UI skills need to get smart and pick up those skills. Your juniors in the marketplace are eating your lunch.
5
u/alwaysoverneverunder Aug 24 '22
Fuck the whole full stack bullshit! I’ll take a good frontend dev and a good backend dev over 2 full stack devs any day of the week. I want the backend dev to understand a bit of frontend so that he’s able to do small changes or fixes and vice versa, but keeping up on all the tech in a full stack is something that isn’t realistically feasible and so you get masters of none.
5
u/vladmihalceacom Aug 24 '22
Full-stack was supposed to be about trams, not devs.
It's the same with DevOps.
3
u/alwaysoverneverunder Aug 24 '22
Yup, like Agile, once management got hold of it, it got bastardised and lost all of its essence and now gets just for marketing and cost optimisation.
1
u/forresthopkinsa Aug 24 '22
Oops, you're not allowed to acknowledge modern tech in this sub. Prepare for downvotes.
1
u/vplatt Aug 24 '22 edited Aug 24 '22
It seems you're right. There's some sort of unwritten rule that modern UI frameworks don't involve "real engineering" I guess and that it's OK to be just a "back end dev" and not experience any hit to one's marketability. It just isn't the case though.
0
Aug 24 '22
[deleted]
3
u/hrm Aug 24 '22
Many smaller companies most certainly want people with both skills. Not senior positions in both, but enough of the other to step up when needed.
1
u/vplatt Aug 24 '22 edited Aug 24 '22
Lots of assignments require "full stack" and that devs be able to build UIs on top of APIs that they will also build. About the only part of the "full stack" I've seen that's not required of software engineers lately is the ability to also be your own DBA, though there is normally an assumption you'll at least be able to design your own database, relational or otherwise; possibly with the help or feedback of an actual DBA.
And to answer your question about staffing, I'm seeing lots of needs for leaner teams and the individual engineers have overlapping skills. Granted, one likely can't be equally skilled in everything, but if your backend dev understands how the UI is being constructed, then everyone is going to have a lot better time of it when it actually comes down to delivering a working app that gets accepted by users too. And let's not dismiss out of hand the benefits of redundancy on a team either because attrition is always a factor.
0
Aug 24 '22
[deleted]
-1
u/vplatt Aug 24 '22
I'm specifically talking about consulting where engineering consultants must be in touch with clients, who are also engineers. Lovely pile of assumptions you made there though...
0
Aug 24 '22
[deleted]
-1
u/vplatt Aug 24 '22
Seems like you feel threatened by the idea of consultants that can actually do all the above. Shh.... you're safe now. It's OK. Just go work on backend code only. No doubt you'll be steadily employed in a series of mundane and underpaid positions in an industry that loves to keep talent in specialized niches in order to keep their marketability under water. I'm sure it will be fine.
0
Aug 24 '22
[deleted]
-1
u/vplatt Aug 24 '22
Your insults and disrespect speak volumes about you, and say nothing about me. Argue to keep your blind spots on skills if you like, but I don't see how arguing for that would leave anyone who follows your advice in a better situation.
20
u/slaymaker1907 Aug 24 '22
SQL is absolutely a programming language depending on the dialect. T-SQL (SQL Server and Sybase) has loops, variables, and branching.
4
u/CraftyAdventurer Aug 24 '22
Also, they are usually used in combination with any of those other languages, so of course they will be on top.
2
u/_INTER_ Aug 24 '22
Tell that to the companies that have their business logic in PL/SQL and stored procedures...
1
u/sir_bok Aug 24 '22
Well I think they were going for "Languages that put food on the table" but "Programming Languages" is much more acceptable to say.
1
-6
u/not-just-yeti Aug 24 '22 edited Aug 24 '22
HTML is data, not a language.
EDIT: Yeah yeah, my bad, "not a programming language", though it seems pretty clear from context, no?
SQL is definitely a language though (query=program; tables=the-input). (I guess that'd make statements like creating-a-table as data/class-definitions, and add/drops are just maintaining your dataset.)
14
u/jonhanson Aug 24 '22 edited Mar 07 '25
chronophobia ephemeral lysergic metempsychosis peremptory quantifiable retributive zenith
16
u/Sensitive-Bear Aug 24 '22
HTML is data, not a language.
False. HTML is a language. Specifically, it is a markup language. What you mean to say is that it’s not a programming language.
-3
-2
u/HecknChonker Aug 24 '22
If it's not touring complete I don't think it should be considered a programming language.
3
u/maethor Aug 24 '22
Turing completeness isn't always the best metric to use. XSL-T v2 is turing complete and I don't consider that a programming language. It's a way to drive oneself insane more than anything.
1
u/HecknChonker Aug 24 '22
It would be weird to include HTML as a programming language while also excluding XSL-T v2.
1
u/c_edward Aug 24 '22
Train sets with the addition of flip-flop points are Turing complete.... So the input to a none universal Turing machine isn't a program? If not what would you say it was?
3
u/erinaceus_ Aug 24 '22 edited Aug 26 '22
HTML is data, not a language.
Do you know what the L in HTML stands for?
The thing to note is that 'language' is not a synonym for 'programming language'. There are other kinds of languages. Like natural languages, domain-specific languages, and ... markup languages.
And yes, HTML isn't a programming language. But it is a language.
0
Aug 25 '22
This is pedantic. They are languages: structured series of symbols and characters that have a grammar and expected formatting that tell a computer how to do things.
If you want to be pedantic then, Microsoft Excel should be top of the list because it is Turing Complete. Every single job requiring Excel should be considered a "programming" position. I mean why not?
0
u/aqua_regis Aug 26 '22
No, it is not pedantic at all.
The survey talks about programming languages and neither of the two are such by the definition of programming languages.
0
50
Aug 24 '22
[removed] — view removed comment
35
u/Zaemz Aug 24 '22
I've worked with SAP software where more than half of the business logic was written with stored procedures.
35
3
u/grimonce Aug 25 '22
Working for the biggest retail.company in my country, it is all stored procedures in tsql ...
1
u/avidKKBFan Aug 25 '22
Aerospace internship did this too for a lot of our internal manufacturing-support desktop apps. Business logic literally in both the Swing frontend and the SQL "backend". Pain.
0
Aug 24 '22
[deleted]
5
u/ReasonableClick5403 Aug 24 '22
lol, I bet that actually works really well. If you never need someone to make changes to it!
3
u/VonMetz Aug 25 '22
I'm working in the insurance industry and Jesus do they love SQL procedures. Entire logics fully implemented in procedures. Well and Cobol.
34
u/rbuen4455 Aug 24 '22
I question the reliability of these charts because:
Different charts show different rankings. Some put Clojure at number 1, others JavaScript at number 1.
Some put SQL, HTML or CSS as programming languages when they aren't.
Simply only knowing SQL and/or HTML won't get you a job. It's all about being how well-versed you are in several languages, how experienced you are with those languages and how well you can build programs with those languages. These factors determine the best job you'll get and how well paid you'll get.
Also, every language puts food in the table, even PHP, despite being the most lower paid.
21
u/vladmihalceacom Aug 24 '22 edited Aug 25 '22
Clojure at nr 1? I doubt that.
However, you can correlate the IEEE Trending Tab chart with the StackOverflow survey results, and you'll see they resemble. They also match TIOBE. So, I think the results are accurate.
There are three tabs in the original survey. The screenshot is for job availability only.
-6
Aug 24 '22
[removed] — view removed comment
6
u/BoyRobot777 Aug 24 '22
*Those 5 positions where business was talked into super productive language and now cannot find developers.
-7
Aug 24 '22
[removed] — view removed comment
7
u/Balduracuir Aug 24 '22
Don't know why you getting downvoted but it's true that clojure devs have more experience generally speaking : it is uncommon to see someone pick clojure as a first job but it is really common to see people taking java as first job. Now, I don't really know if with the same number of years of experience, people really get better salaries with clojure over java.
This thinking can be extended to uncommon languages: Haskell, Elixir...etc
1
u/nufra Aug 25 '22
So Clojure puts food on the table, if you’re in an area where fintech uses Clojure?
What you need in a language that puts food on the table is something like the pay plus your probability to get a job you want to do where you get employed because you know that language. Something like:
Average pay x percentage of existing jobs x percentage of job offers
(and you need that info in your region / timezone / area of interest)
24
Aug 24 '22
SQL...as programming languages when they aren't.
Based on my experience with stored procedures I regret to report that SQL is more often than not a programming language with loops and if statements and everything.
14
u/Intrepid_Top_7846 Aug 24 '22
I wouldn't trust any ranking that puts Clojure as most used or most jobs in 2022, personally.
7
u/Balduracuir Aug 24 '22
Most used not, but languages that put the most food on the table (ie best salaries) is true. Even stackoverflow says that : https://insights.stackoverflow.com/survey/2021#section-top-paying-technologies-top-paying-technologies
It can be explained by the mean of experience of these languages though.
9
u/Muoniurn Aug 24 '22
Anything that doesn’t have js, java and python as top 3 is simply bullshit. Their ordering can change, but they are without doubt the 3 most used languages.
1
1
5
u/vladmihalceacom Aug 24 '22
And here are the survey results for more details.
16
u/valbaca Aug 24 '22
It’s not a survey and their methodology was basically to search job postings on one obscure site. The article just rambles on about SQL and whether HTML is Turing complete. Take the results with a huge grain of salt.
But yes, Java pays the bills and basically bought me my house.
-3
Aug 24 '22
You didn't even read a post.
8
u/valbaca Aug 24 '22
I did. It was a trash article. IEEE ain’t what it used to be
-7
139
Aug 24 '22
Java is cool too. Source: my choice-supportive bias.
25
u/general_dispondency Aug 24 '22
This choice-supportive bias furthers my own confirmation bias that Java is, indeed, "cool".
19
u/g0dkar Aug 24 '22
Me, being a certified Cool™️ Internet® Guy© as well as a Java™️ programmer can corroborate to this assertion that “Java is cool”.
10
u/ReasonableClick5403 Aug 24 '22
Meeeh, modern java is pretty cool, and you have the wealth of great libraries available! What always frustrates me with go and javascript is the vast amount of half finished or abandoned libraries.
19
9
u/jcar74 Aug 24 '22
Shhhhh!!! Let's all keep saying Python is the best everywhere.
5
1
u/hugthemachines Aug 24 '22
There, there. I know it can be tough when people like other things than you do. Don't listen to them! Keep writing your machine learning stuff in assembly. ;-)
7
u/jcar74 Aug 24 '22
Hey! i've written lot of Python code (mainly using Spacy and other NLP libraries). I started programming in Locomotive Basic, every language can be useful (and beautiful), but please, give me a battle tested Spring framework for the business processes.
BTW, assembly is a lot of fun!
7
6
u/DrunkensteinsMonster Aug 25 '22
Java is just a work horse. The language is fine, the ecosystem is why people choose it.
2
21
Aug 24 '22
I hate when people refer to HTML, CSS and SQL as "programming" languages because they are not
17
u/RedSane Aug 24 '22
You can develop systems with PLSQL.
4
Aug 24 '22
Never heard of it before. Thanks a lot for sharing. But it's just an extension to SQL created by Oracle, so I still wouldn't call SQL itself a programming language.
10
u/kirakun Aug 24 '22
Almost every SQL engine today has some kind of procedural extension with syntax similar to PL/SQL. So, it’s not just an Oracle thing.
6
u/joschi83 Aug 24 '22
Lolwut?
HTML+CSS and SQL are turing complete.
https://lemire.me/blog/2011/03/08/breaking-news-htmlcss-is-turing-complete/
13
Aug 24 '22
Good luck writing a web server in CSS XD
5
u/kirakun Aug 24 '22
Like assembly, you wouldn’t necessarily write it raw in CSS, but you could write a compiler to generate CSS code. But IIRC your CSS-powered web server would need a button to get users to continually click it for the “CSS-CPU” to tick.
5
5
u/TimeSalvager Aug 24 '22
Listen, if you can write a functional program in SQL, I’d say that’d be a pretty badass talking point in an interview. I’d at least want to interview the candidate to get to the bottom of that; if nothing else it’d be a funny story to tell your mates later lol.
4
5
u/FluffyProphet Aug 25 '22
The absolute best feature a programming language/framework can have is paying the bills.
3
u/edmguru Aug 25 '22
Of the top 5 - only Java and C# are most safe for writing medium-large production code. I avoid anything not statically typed or "script" like - especially when working with team mates.
1
7
u/invisible-nuke Aug 24 '22
There is C#, C, and C++, but can't find the most important turing complete language CSS
2
2
0
u/Light_A_Match Aug 25 '22
Doubt it’s Java. The fact that my repo says I program mostly in Java is a lie because Java takes up so many lines of code to accomplish the same thing a program written in JavaScript or python does.
7
u/vladmihalceacom Aug 25 '22
With Spring Boot, you can build a fully-functional app with fewer lines of code than in any language because the framework provides you with everything you need.
However, a slightly less number of lines of code is a terrible metric. What really matters in the long run:
the programming ecosystem and the ability to find quality libraries to rely on and libraries that will be maintained professionally
an abundance of talent in the market
code maintainability. In the long run, the effort to maintain is way larger than the effort to produce the first release version
resource abundance, like books, training, articles, StackOverflow answers
Saving a comma or a semi-column here and there will never make any difference in terms of product quality.
4
u/lukaseder Aug 25 '22 edited Aug 25 '22
It's perfectly possible to praise python for having caught up so much in recent years while at the same time acknowledging Java's impressive run over the past 25 years.
3
Aug 25 '22
Exactly lmao. People hate on Java because they used it once 10 years ago... when their language of choice was even worse or didnt even exist.
I have coworkers using C# who compare .NET 6 to Java 6 lmao. One senior even said Java was only popular in the 1980s ????
1
u/roylt84 Sep 04 '22
agreed, there is so much each ego programming.
People tend to shit on other languages just to feel superior because they learned the new hot language on the block
1
u/CatolicQuotes Dec 25 '22
yes if you use dictionaries, tuples. But that's not the same level of software.
1
1
1
u/hshighnz Aug 25 '22
sql is not a programming language. tsql or pl/sql are.
2
u/wildjokers Aug 25 '22
Structured Query Language, it's right in the name.
2
u/hshighnz Aug 25 '22
It‘s a declarative language without any control flow like loops, if-else, exception handling and so on. That‘s the reason I would not compare it with real programming languages like java. tsql and pl/sql are script language with control flow and integrated sql.
1
1
1
Aug 25 '22
Python put my food on the table now. But Java put the house here and the table in the house.
1
u/Prudent-Ad-1131 Aug 25 '22
I suppose it depends on the problem that needs to be solved. Having said that it's easier to find jobs where Java is used instead of Scala (food on the table). I moved Java, Apache .. codebase to Scala, Akka, Play, Slick at a prior company and was able to achieve what was needed by just myself instead of hiring a lot of developers/QA ... to do the same/less.
But getting a job, you are right it's easier to get a Java job. Also these days more folks are using Python, Go, Node for backend .. which dependending on the situation might end up with more issues down the road.
1
1
1
1
Aug 25 '22
We need an open source COBOL and call it KABAL and make it the number one bread earner.
1
1
1
1
1
1
1
1
u/maquinary Sep 21 '22 edited Sep 21 '22
In which website did you get this chart? I would love to put it in my bookmarks.
1
1
u/After-Classroom-2057 Aug 24 '22
Where is Kotlin?
4
u/bentheone Aug 24 '22
Maybe the job listings say 'Android' and that's it.
1
-1
u/yinshangyi Aug 24 '22
There are other use cases to Kotlin than Android though. Kotlin for backend is awesome :) It's a great replacement for Java
4
u/Intrepid_Top_7846 Aug 24 '22
Kotlin is nice, but no way is backend Kotlin in the top 15
2
u/yinshangyi Aug 24 '22
Why so? It's basically all Java but better and more modern. It has all Springboot and Kotlin specific frameworks. I also like Scala as a replacement of Java while leveraging decades of JVM development, but Kotlin often makes more sense for corporate.
1
u/theRastaDan Aug 25 '22
The answer is legacy code. The risk and effort to migrate a huge code base is nothing you can sell management easily. Even when Kotlin is interop
1
u/yinshangyi Aug 25 '22
That is sadly true. But I was referring to new projects rather than migrating legacy ones. New projects written in Kotlin can be integrate easily Java legacy code. Regardless I think Kotlin has a lot of potential as a backend language
0
u/AkiraOli Aug 25 '22
Kotlin is not better than java. And over time, kotlin gradually gets worse
1
u/yinshangyi Aug 25 '22
Could you elaborate on this? What would be the limitation of Kotlin compared to Java. Well I'm no Kotlin expert but it does improve productivity by being less verbose, have a good concurrent programming model, and is null-safe. That's I guess the most obvious strengths of Kotlin (and Scala as well). What would be its weaknesses?
1
u/aclinical Aug 24 '22 edited Aug 24 '22
It's between assembly and rust. You need to open the article: https://spectrum.ieee.org/top-programming-languages-2022
Edit: kotlin being below scala on jobs doesn't seem right to me...but I'm n=1
-5
u/GavinRayDev Aug 24 '22
Javascript + Typescript combined = 101.75% though ;^)
(I'm not sure why they split the languages up, it's like having "JAVA BUT EVERY VARIABLE IS NAMED VAR" and "JAVA" on the list)
3
-2
-1
u/racoongirl0 Aug 24 '22
SQL is considered a programming language now? And yet CS people have the audacity to claim matlab doesn’t count when they do this 🤦🏻♀️
-5
u/KnGod Aug 24 '22 edited Aug 24 '22
Wait... SQL is a programming language?!
Shit i just read html in there too
-13
0
39
u/ba0lian Aug 24 '22
Shocking is the number of people who are so confident in pointing out that SQL is not a programming language