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: Which laptop for development?

46 pointsby loneswordover 7 years ago
Moved across the country for a startup and had to put my desktop in the office (the only machine I own) since they don&#x27;t give you a computer. I feel like I&#x27;m missing out since the other devs take their shiny MacBook pros and sit around a table and work (and chat) while I&#x27;m tucked away in an obscure corner. Also, driving to the office everytime time something breaks on a holiday could be a major inconvenience. Still gonna keep my desktop in the office so looking for a cheap laptop. I work on python Django so as long as it can run PyCharm and slack and a few chrome tabs, I should be fine (no need to run VMs or anything fancy). I live in India so my options are somewhat limited since many models are either unavailable or simply more expensive than in the US. These are the models I narrowed down on to:<p>1. Refurbished Lenovo T420. 2nd gen i5, 16 gigs of RAM. Really cheap for 250$. Just concerned since the cpu is old<p>2. [A cheap 6th gen core i3 laptop](https:&#x2F;&#x2F;www.amazon.in&#x2F;dp&#x2F;B074DYBT2K&#x2F;ref=cm_sw_r_cp_apa_i_W290zbRF005PZ). Brand new. 450$. At least the battery would last a couple of hours and since it&#x27;s new it might not break down for another 2 years.<p>3. A MacBook air. 1000USD. Pretty expensive for me. But willing to Shell out the money if it is absolutely worth it. Concerned about learning the weird shortcuts (and force forgetting them when working on my desktop). It&#x27;s &#x27;nix but it&#x27;s really not Linux. I&#x27;ve heard that getting some libraries to work on Mac is a pain - if at all possible. Still worth it? Battery life would be liberating but not sure if it is relevant for me<p>Thanks in advance.<p>PS: My desktop has an SSD so I am planning to take it out and put it on the laptop I end up buying.

39 comments

stampsover 7 years ago
T420.<p>But to go off your list here a bit I&#x27;d say bump up to the T430. i7 versions can be had on eBay for $250.<p>If you have an attachment to the keyboard on the T420[1] you can easily buy the keyboard and put it on the T430 (I did this on my x230 from a x220).<p>Also if you become interested you can neutralize the Intel Management Engine and install something like coreboot and sea bios.<p>[1] <a href="http:&#x2F;&#x2F;www.thinkwiki.org&#x2F;wiki&#x2F;Install_Classic_Keyboard_on_xx30_Series_ThinkPads#A_compatible_ThinkPad" rel="nofollow">http:&#x2F;&#x2F;www.thinkwiki.org&#x2F;wiki&#x2F;Install_Classic_Keyboard_on_xx...</a><p>EDIT: To take it further you could even upgrade the CPU to a i7-3632QM which is a quad core.
评论 #15395655 未加载
评论 #15396746 未加载
评论 #15395595 未加载
评论 #15395588 未加载
评论 #15398134 未加载
oneweekwonderover 7 years ago
&gt; MacBook air.<p>Still on my first 13&quot; 2012, i5 cpu, 4 gb mem, 128 gb ssd model. The battery is shot, but otherwise it took a beating and is still running like a champ.<p>Hopefully next year they will still be selling these puppies. Because I can not find something with similar price, spec and build quality. Air is really one of your best priced ultrabooks.<p>Otherwise I recommend you don&#x27;t settle for a i3, you are going to regret it. Had to give my brother-in-law advice on buying a notebook for writing docs and surfing, etc. Said a i3 should be fine for his needs... did I regret that at our next &quot;free technical support session&quot; :&#x2F; get a i5 atleast!<p>&gt; It&#x27;s &#x27;nix but it&#x27;s really not Linux.<p>Also, macOS is a Unix[0]. gnu&#x2F;linux is the &#x27;nix like os around here ;)<p>[0]: <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Single_UNIX_Specification#macOS" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Single_UNIX_Specification#macO...</a>
评论 #15397350 未加载
评论 #15395940 未加载
评论 #15395640 未加载
评论 #15395626 未加载
评论 #15398155 未加载
GiorgioGover 7 years ago
Buy a really cheap laptop and remote desktop (assuming it&#x27;s Windows) into your your PC. Desktop PCs are way way way way more powerful than those shiny MacBook Pros. I have 2 desktops (3930k, Threadripper), a 13 macbook pro, a 15&quot; XPS (2017) and the original retina iMac 27&quot; and hands down the desktop machines (even the 3930k which is from 2011) beat the laptops in performance (yes they all have SSDs, save the macbook pro, they all have 32gb of RAM.)<p>I don&#x27;t get the appeal of doing development on hardware that&#x27;s optimized for mobility, especially if you spend 99% of the time working in the same place (like me.)
评论 #15395689 未加载
评论 #15398211 未加载
评论 #15395647 未加载
starchaserover 7 years ago
I would recommend the T420&#x2F;T430 . Thinkpads T series have excellent keyboards, build quality and reliability. They usually last many years. I would just suggest you get a FullHD one, it will really help with your coding. On top of that, the T series , being an old generation laptop can still have its CPU upgraded further down the line.<p>The MacBook air is really expensive for what it offers. It&#x27;s basically a 2015 model, with an old generation processor and low resolution display: <a href="https:&#x2F;&#x2F;noteb.com&#x2F;?model&#x2F;model.php?conf=4423208233512210891&amp;ex=USD" rel="nofollow">https:&#x2F;&#x2F;noteb.com&#x2F;?model&#x2F;model.php?conf=4423208233512210891&amp;...</a><p>The Ideapad is not bad either for the price. It might get the job done but it&#x27;s a low build quality laptop not meant to last. If you could get a Thinkpad T420 for $250, that&#x27;s probably a better deal than $450 on a new IdeaPad.
评论 #15396819 未加载
chipuniover 7 years ago
The best tool is the closest one to what other devs are using. Why? If you have a problem, other devs won&#x27;t be trying to separate the difference of the system against the problem.<p>(Do all your other devs really use Macintoshes? Maybe you could buy one a few generations old, to save money.)
评论 #15395776 未加载
评论 #15398217 未加载
theyregreatover 7 years ago
Soon to be former Apple (13” MBP A1278 16 GiB 2x2 TiB SSDs) owner here:<p>Lenovo X270<p>- 20-ish hour battery life<p>- Awesome water-resistant keyboard. Did I mention it’s one of the best laptop keyboards IMHO?<p>- Lightweight<p>- Portable size for train, plane, automobile use<p>- Choice of displays<p>- Kensington lock port, headphone jack, USBs and SD card slot<p>Do not buy an Apple any longer: unrepairable, $750 LB repairs, glued in batteries, soldered-in RAM and SSDs, unupgradeable and new terrible, feedbackless keyboards. Watch Louis Rossmann’s channel if you need any more convincing that Apple’s are often overpriced money-pits.
评论 #15395529 未加载
评论 #15398229 未加载
platinumradover 7 years ago
Apple&#x27;s weird shortcuts are definitely weird but Karabiner (now Karabiner-Elements) can make things almost bearable[1]. However, I recently sold my Macbook Pro for a Thinkpad and went back to Linux so I&#x27;m very glad to not have to think about weird shortcut issues ever again.<p>A 2nd gen i5 will almost be certainly fine for what you&#x27;re using it for, but potential concerns here are 1. battery life and 2. feeling left out for not having a shiny Memebook Pro, although I personally prefer the Thinkpad aesthetic.<p>[1]<a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=14741749" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=14741749</a>
zachruss92over 7 years ago
I would probably go with the Lenovo T420 to get the best bang for your buck. An i5, 16gb of memory and an SSD will be more than enough. My home gaming PC used a 3rd gen processor until about 3 months ago, I was not limited by the CPU at all (I wanted an nvme SSD and the new AMD Ryzen processor)<p>Your #2 isn&#x27;t ideal as you&#x27;d undoubtedly struggle with 4gb of ram. Chrome and Slack can be a huge memory hog, on top of what PyCharm and your actual application use. You could upgrade the ram, but you&#x27;re already spending $450.<p>My primary work machine is a MacBook pro (2014), but it is by no means necessary. My next laptop will run linux.
mixedCaseover 7 years ago
T420 with an SSD no doubt.<p>Unless you&#x27;re mostly a native iOS developer, in which case the Macbook will obviously come in handy.
submetaover 7 years ago
Owned ThinkPads for more than ten years. Started using a MacBook pro in 2015 as my main machine and never looked back.<p>The good things about ThinkPads: Their keyboards are excellent. Also, I love the fact that I could replace almost every part of if. Other than that I can&#x27;t say too many good things about them. Mainly I was using the x2.... line. The x2...t models (tablets) were pretty sturdy. The non-tablet version wasn&#x27;t (x220, x230...). Constantly some part would break. Just by being carried in a messenger bag. Now that&#x27;s the hardware. (Lenovo advertises them as super sturdy, military spec or something.) Comparing that to my MacBook Pro Retina 2015: Been using my MBP daily. It goes with me everywhere. Never failed.<p>I won&#x27;t say much about the OS. Only so much: Windows was terrible for open source development. I heavily rely on a terminal and bash. I was using Cygwin and PuTTY. This combo gave me a decent terminal and shell. But it was far from perfect. Then I installled Ubuntu on one of my ThinkPads. Loved that. But I was missing so many tools (Evernote, OmniGraffle and so much more.) macOS gives me all the proprietary software I love. Plus a Unix environment and an awesome terminal (iTerm).<p>I&#x27;d go with a MacBook (Air&#x2F;Pro).
eesmithover 7 years ago
You&#x27;re working for cheap in a company that expects you to provide your own computer and, I assume, do your own maintenance and support for it. Do you pay for your own PyCharm license as well?<p>Don&#x27;t let the perceived social pressure of being left out make you spend even more of your own money. If it helps any, change the context. For example, slap a Tux sticker on it, and argue that since the application runs on Linux, you feel it&#x27;s best to immerse yourself in that environment.<p>If you have to get a laptop, go for something low-end. Either your #1 or #2. It isn&#x27;t worthwhile to get a MacBook Air at 2x the cost. It does have more pixels than your #2, but if that&#x27;s important you can get it without doubling the cost.<p>While it&#x27;s sometimes hard to get things working on a Mac, Homebrew and Conda have pretty much made those problems disappear. Conda is not Mac specific.<p>With your #1 you&#x27;ll likely have to get a new battery, so include that in your pricing. You aren&#x27;t doing anything that really involves CPU.<p>OTOH, your #2 has only 4GB RAM, which is 1&#x2F;2 the Air and 1&#x2F;4 your #1.<p>On your desktop, how much memory do you use now, and how loaded is your CPU?
评论 #15398271 未加载
_raoulcousinsover 7 years ago
I&#x27;ve been using used Thinkpad and Thinkpad competitors (Dell Latitude) forever. There always seems to be a big supply of used corporate computers. I just upgraded to a T450s and it&#x27;s fantastic.
bdcravensover 7 years ago
I don&#x27;t see the advantage of the MB Air based on your requirements. Now, I haven&#x27;t run into what you&#x27;re saying regarding libraries on OSX. Personally it sounds like option #1 is your best bet for compatibility. Option #2 means you many run into headaches in terms of getting all your hardware to work 100% with your distro. (Assuming Linux)
bootcatover 7 years ago
<a href="https:&#x2F;&#x2F;www.flipkart.com&#x2F;lenovo-ideapad-core-i5-7th-gen-8-gb-1-tb-hdd-windows-10-home-2-gb-graphics-ip-320-laptop&#x2F;p&#x2F;itmew6qp3hfm28tu?pid=COMEW6QPC5HDQAFK&amp;srno=s_1_2&amp;otracker=search&amp;lid=LSTCOMEW6QPC5HDQAFKRN9E0C&amp;fm=SEARCH&amp;iid=5416e21d-e7b4-47a5-b1a6-f436769132ae.COMEW6QPC5HDQAFK.SEARCH&amp;qH=312f91285e048e09" rel="nofollow">https:&#x2F;&#x2F;www.flipkart.com&#x2F;lenovo-ideapad-core-i5-7th-gen-8-gb...</a>, Has a GPU, while <a href="https:&#x2F;&#x2F;www.flipkart.com&#x2F;lenovo-ideapad-core-i5-7th-gen-4-gb-1-tb-hdd-windows-10-home-ip-320s-laptop&#x2F;p&#x2F;itmewhvungfvb9zx?pid=COMEWHVUVXR5YTTC&amp;srno=s_1_18&amp;otracker=search&amp;lid=LSTCOMEWHVUVXR5YTTCNTMFXO&amp;fm=SEARCH&amp;iid=abf0bcd4-ecc9-4a38-889e-c88b415b180a.COMEWHVUVXR5YTTC.SEARCH&amp;qH=312f91285e048e09" rel="nofollow">https:&#x2F;&#x2F;www.flipkart.com&#x2F;lenovo-ideapad-core-i5-7th-gen-4-gb...</a> is too light !!
salukiover 7 years ago
Go macbook air.<p>For development I&#x27;ve always had issues with windows machines. When learning rails I tried countless tutorials on windows, would get stuck, something isn&#x27;t working, spend time trouble shooting.<p>After a frustrating time one night I grabbed my Wife&#x27;s macbook. The tutorials worked flawlessly and I accomplished so much. I always recommend using a macbook for development.<p>The air is more than capable for rails&#x2F;laravel&#x2F;python development.<p>Looks like your are in India, in the states you can pick up an air at best buy on sale for around $800 to $900. Check the apple refurbished site too.<p>You won&#x27;t be sorry, you&#x27;ll fall in love with the trackpad and keyboard, and they come with an SSD.<p>Good luck with the startup.<p>Sounds like you already envy others &#x27;Shiny Macbooks&#x27; so save up for one and go for it.<p>My macbook air is still going strong, it&#x27;s about three years old and I plan on purchasing a new MBair over going with a MBpro when it&#x27;s time for a new one.
评论 #15398246 未加载
kusmiover 7 years ago
I got the t450s recently off eBay. I would not make the same purchase again. Instead I would go for the x series models. This is because the keys on the t450s size laptop (which is larger) are too far apart for coding. Then there&#x27;s the tn panel screen, the viewing angles are so bad that at 14&quot; you have to choose whether you want the top or the bottom of the screen to be clearly visible -the other side will appear washed out. I never noticed this on the X230 which probably has an equally shitty screen, because its size is just right to never be an issue.<p>If I could return the t450s I would go for x240 or x230. Upgrade the battery, and toss in SSD if it doesn&#x27;t already have one.<p>Also, check out mini PCs like the gigabyte brix. I use them as headless dev boxes on the local network. Run 24&#x2F;7 without issue for months now.
评论 #15398251 未加载
peterwwillisover 7 years ago
If you find a machine under 400 bucks with 16 gigs of RAM, and the machine doesn&#x27;t have to be portable, and it has a core i5 or better, you should probably get it. CPU is arguably not as important as ram + ssd.<p>But availability makes for much better buys: MicroCenter occasionally has display units or refurbs at a couple hundred lower than retail. I got a 6th gen core i7 8gb ram 256gb ssd 14&quot; lenovo for 400 bucks, and bought a 16gb ram stick for $100, and a 1tb hdd for $35. The retail price was still closer to $850 for the same configuration (and that laptop supposedly only supports 8gb, but lenovo liiiiies!!).<p>Howver, if it&#x27;s a relatively new machine, skip putting Linux on it. I&#x27;ve gone through setup hell three times this year and i&#x27;m just done with Linux on a modern laptop. It sucks.
foepysover 7 years ago
As someone who owns a T420, I can recommend it for that price. The CPU might be a bit slower and battery life might not be as good as a modern notebook but the keyboard is extremely nice and the overall performance with an SSD is good even for modern workflows. Just be sure to not use a Samsung 840 Evo SSD, I had bad experiences with stutter during heavy I&#x2F;O that didn&#x27;t happen with an HDD or Samsung 950 Pro. You can also upgrade the memory by yourself, if you need to.<p>Remember to check if the T420 has an Nvidia Quadro card inside. If it does, the Display Port is wired to the Nvidia card and works badly under Linux and sucks the battery dry quite fast.
limeblackover 7 years ago
I am typing this on a T420 although I just have 12gb not 16gb. No complaints. I like being able to swap the hard drives really quickly instead of messing with partition and the keyboard IMO is better then the new lenovo keyboards. If you are concerned about battery remember they are removable on the T420. In fact I often carry around an extra to double the battery life.<p>I also on a Macbook Pro and frankly it is nicer in many ways but if you money strapped it probably isn&#x27;t worth the price.
iainmerrickover 7 years ago
Be aware, you are not going to be able to put a generic SSD into any kind of MacBook. They all use special custom Apple SSDs and third-party replacements are few and far between.<p>MacBooks are fantastic but if you&#x27;re not already an OS X user and you have a tight budget, it may not be a good choice for you. A second-hand Air should be way less than $1000, though (but maybe not in India).
0xCMPover 7 years ago
&lt;rant&gt;<p>I tend to prefer Macs these days over Linux. The library problem is real when upgrading things like Xcode (which is a problem that just bit me trying to `pip install lxml`).<p>`brew` is not as good as `apt-get`&#x2F;`pacman`&#x2F;`yum` but it&#x27;s almost always more up to date since it&#x27;s like an AUR for macOS.<p>My issue with the Air is that they rarely update&#x2F;improve it. It&#x27;s a great laptop though.<p>&lt;&#x2F;rant&gt;
评论 #15396036 未加载
bitwizeover 7 years ago
Go for the ThinkPad. For browser and Web stuff, your bottleneck is going to be memory (and I&#x2F;O throughput, i.e., get an SSD), not CPU speed. For $250 you&#x27;d be getting a durable machine that runs Linux beautifully and has enough memory to handle your dev tasks.
dmachover 7 years ago
T420 would be ok if you can check that it should run docker. That would allow you to use or test many stacks without installs and deploy them to a bigger machine if needed. For a cheap option I recommend the Dell Inspiron 15 3000 Series with Ubuntu preinstalled instead of Windows. It is a Celeron processor and the 14.04 version of Ubuntu but it runs docker great. Also Ubuntu really looks better at the lower resolution which it most of been originally designed for. I got one new for €200.
wiremineover 7 years ago
I did Django dev work for 6 years... I&#x27;d lean towards the Lenovo, but it depends on a few things:<p>1. Are you going to do any photoshop work, or other design tasks?<p>2. Do you want to use an external monitor? If so, does the T420 have good specs?<p>One final thought: We&#x27;ve been moving towards using docker for most development, and Apple is behind the curve on this one, mainly due to the crazy workaround required to get adequate filesystem support. If that&#x27;s at all in your future, stick with linux.
评论 #15398289 未加载
dragontamerover 7 years ago
The T420 has better specs, especially on that RAM, but I&#x27;d expect the 6th Gen i3 to have superior battery life and also better single-threaded performance.<p>Lenovo&#x27;s T-line of laptops used to be pretty good. I hear that recently they&#x27;ve cheapened up the production line. So I don&#x27;t think you can go wrong as long as you&#x27;re willing to put up with subpar battery life (Sandy Bridge, 2nd Gen Intel, has much worse battery life than modern processors)
tym0over 7 years ago
About 3. I switch between a mac at work and a PC at home and the shortcuts are really not a problem, your brain gets used to it pretty quickly.
RaleyFieldover 7 years ago
I see a lot of you recommending Lenovo. Only 2 years and all is forgiven[1]. Y&#x27;all should be ashamed of yourselves.<p>[1] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Superfish#Lenovo_security_incident" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Superfish#Lenovo_security_inci...</a>
taudeover 7 years ago
I&#x27;m on a 2014 11&quot; MB Air. I love it. Best laptop I&#x27;ve ever owned. Yeah, I wish it had 16 GB RAM, and a hires display. But it works, and works well for me.<p>I run IntelliJ on mine, the basically feature rich version of PyCharm.<p>You can find older Air&#x27;s for around $500 used.
andrewaylettover 7 years ago
The T420s are great, definitely recommend. If you need more compute power, grab something suitably sized in the cloud for a couple of hours. If you need more battery, grab a spare :).
robert_labrieover 7 years ago
Any PC will do the job, the Windows subsystem for Linux is legit. Docker, Vagrant, all of it just works. No reason to buy a Mac if you&#x27;re not neck deep in the ecosystem already.
mbaumanover 7 years ago
I&#x27;d lean toward the Lenovo. Anecdotally, I&#x27;ve had a 2nd gen i5 in my desktop since I built it in 2011 and still have no complaints with its performance.
Rjevskiover 7 years ago
Just get a Mac. The time you&#x27;ll save by not tinkering with Windows or Linux issues will pay for it in a matter of weeks.
manishsharanover 7 years ago
Do check out Dell Precisions on Dell refurbished. They are Quadcore and have lots of memory. 4900HQ is pretty powerful.
edwingustafsonover 7 years ago
Can you remote into your desktop from a lightweight laptop or a decent tablet?
some-guyover 7 years ago
I have a T420s and it’s held up very well, and is very repairable.
Havocover 7 years ago
Refurb corporate laptop I&#x27;d say
michalptover 7 years ago
Macbook Pro without emoji keyboard
polskibusover 7 years ago
consider a gaming laptop with a desktop CPU. High CPU freq for the fastest builds!
sanjeetsuhagover 7 years ago
Get a 15-inch MacBook Pro. TouchBar is the best for programming.
评论 #15395408 未加载
评论 #15395490 未加载
评论 #15395430 未加载
评论 #15395412 未加载
评论 #15395641 未加载
评论 #15395493 未加载
评论 #15396054 未加载