TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: What is the best programming language to learn first?

5 pointsby jongsover 14 years ago
I am looking for something less verbose than Java but more robust than PHP. I have been exposed to software as a product manager for several years and have witness how much longer coding in Java takes and how less scalable, less organized and consistent PHP is

6 comments

codeglomerationover 14 years ago
I would say that if your area is web development, your best options are the Ruby language and the Ruby on Rails framework, or the Python language and the Django framework.<p>You really can't go wrong with any of those.<p>I come from a .Net background and currently learning Ruby and Rails, and I'm impressed. Ruby is a very expressive language, not at all verbose, has good libraries and the community for the Ruby on Rails framework is impressive.<p>Before making the choice of what I wanted to learn myself, I spent a bit of time comparing the two and decided to go with Ruby.
p_nathanover 14 years ago
Python is currently Very Popular. I'm not a fan, but the popularity does give you access to lots of docs and help.<p>I would suggest C# is a good language for starting on Windows. It's popular, widely supported, and doggone easy to write GUI applications.<p>If you are working on Linux, Perl is good. It's almost everywhere, and can get everything done that isn't hard-real-time. It's also optimized for text processing.<p>The traditional route for ground-up understanding is C or C++. Those force you to deal up-front with a lot of low-level machine issues that only come up later in other languages.<p>If you are looking for the pure abstract programming language without worrying about usability, Scheme is likely your best bet.<p>Each of those languages provokes strong responses for and against. When choosing a language for a project, it is a engineering decision based on the tradeoffs.
gtaniover 14 years ago
Consensus is: python/ruby, the "P" in LAMP (Heh. actually, the P" was perl or php). These 3 (including perl) let you absorb language syntax quickly so you can start learning the disciplines of coding:<p>- OO and basic FP techniques<p>- composition, delegation vs. inheritance<p>- test-driven, mock/stub dependencies, what are your edge and corner cases?<p>- benchmark, profile, optimize where needed,<p>(stuff like that)
gentrysherrillover 14 years ago
As mentioned, Python or Ruby/Rails are your best bets; if you wanted to do something a bit more unusual, you might consider a functional language like Haskell (as functional languages are an up-and-coming development paradigm)...<p>Check out Real World Haskell: <a href="http://book.realworldhaskell.org/read/" rel="nofollow">http://book.realworldhaskell.org/read/</a>
评论 #1946073 未加载
nostrademonsover 14 years ago
Python.
评论 #1943925 未加载
评论 #1944159 未加载
jongsover 14 years ago
Is it easy to go from Phyton to PHP? and from Phyton to Java?
评论 #1944969 未加载