News for hackers. Stuff that matters.
Re:Visual Studio 2015 Final Release Event by rottyguy on Thursday July 16, 2015 @07:29AM (#9896533)
Tangential: New to c++ dev on Linux after years with devstudio/windows. What do you guys recommend for a dev env for a guy like me (say on a mac). Thanks!

Edit: I see Jetbrains has CLion. Any good?

Re:Visual Studio 2015 Final Release Event by blinkingled on Thursday July 16, 2015 @07:32AM (#9896541)
Check out QtCreator. It's for writing Qt based C++ programs but I'm fairly certain you can use it equally well for plain old C++ code.
Re:Visual Studio 2015 Final Release Event by VinzO on Thursday July 16, 2015 @08:36AM (#9896783)
I agree, QtCreator is great and yes even for plain old c++ code. You don't have to use Qt framework.
Re:Visual Studio 2015 Final Release Event by mkl on Thursday July 16, 2015 @08:17AM (#9896695)
Yes it works perfectly well for non-Qt programs. It's very good.
Re:Visual Studio 2015 Final Release Event by jtuente on Thursday July 16, 2015 @10:01AM (#9897210)
My favorite part of QtCreator is that I don't have to type that awkward arrow ->, it will convert my dots . for me when I'm working with pointers.
Re:Visual Studio 2015 Final Release Event by RoboSeldon on Thursday July 16, 2015 @08:06AM (#9896657)
Are you on Linux or on a Mac ?

If you are on a Mac, you should definitely give a try to XCode it is, after all, the official Apple IDE. Not even close to Visual Studio, but not as bad (for C++ at least) as many people advertise.

For Linux, Kdevelop seems nice, other Linux C++ IDEs: Eclipse, NetBeans, CLion.

You should also probably try Vim and Emacs at least once, start with their included tutorials.

Re:Visual Studio 2015 Final Release Event by toksaitov on Thursday July 16, 2015 @09:30AM (#9897009)
I always wanted to know that from people with experience in Windows dev (and some on Apple platforms). What are the features that XCode doesn't have for C++ development compared to VS? Genuinely interested. Not familiar with VS
Re:Visual Studio 2015 Final Release Event by on_and_off on Thursday July 16, 2015 @07:46AM (#9896583)
CLion is definitely worth checking out. The JetBrains guys know what they are doing.
Re:Visual Studio 2015 Final Release Event by merb on Thursday July 16, 2015 @08:30AM (#9896754)
The only things which they didn't solve is the hard GC pauses when developing really big projects or Scala. Mostly this happens on IntelliJ quite often if you are doing some work pauses while keeping IntelliJ open.

This happens quite often on bad machines and nearly never on machines with a really good memory module / awesome ssd's.

Still isn't easy to fix since they are working really hard to ensure performance on a lot of machines. Also that they support everything down to Java6 makes their codebase on some edges quite wierd.

Also I don't get it why they use so many languages at once (Java, Kotlin, Groovy) and I think some parts are in C++ (fileWatcher, launcher, restarter, updater, fsnotifier)?

(see: https://github.com/JetBrains/intellij-community)

Re:Visual Studio 2015 Final Release Event by on_and_off on Friday July 17, 2015 @10:28AM (#9902875)
>Also I don't get it why they use so many languages at once (Java, Kotlin, Groovy) and I think some parts are in C++ They seem to be mainly a Java shop. They probably use C++ for some performance intensive tasks where it makes a difference. Since they are creating Kotlin, they are starting to use it for their codebase as well.

Their different IDEs seem to be built on the same java core, but with extensions in the target language : Python for PyCharm, c# for ReSharper, ....

Re:Visual Studio 2015 Final Release Event by vorg on Friday July 17, 2015 @02:51AM (#9901536)
> why they use so many languages at once (Java, Kotlin, Groovy)

Kotlin is a JetBrains project. They're in the process of introducing Kotlin as a primary language for developing JetBrains applications, and Kotlin is still pre-1.0 release. As for Groovy, I think they want to replace it all with Kotlin code.

Re:Visual Studio 2015 Final Release Event by merb on Friday July 17, 2015 @04:02AM (#9901699)
I've looked at Kotlin and I liked the design, too. I was just wondering why so many at once. But it would be great if they will replace Groovy at all.

Still I think it's too early to support Kotlin at Enterprise Level. Also I'm in the transition to FP (Functional Programming) and I think Kotlin still misses some functionality around that.

Edit: maybe I will use Kotlin to replace our JavaScript Stack (currently in Angular, but totally against any practice)

Re:Visual Studio 2015 Final Release Event by Sir_Cmpwn on Thursday July 16, 2015 @07:44AM (#9896569)
Years of visual studio w/C# on Windows, then moved to Linux here. I suggest you dive straight into the deep end, learn vim, and go in raw.
Re:Visual Studio 2015 Final Release Event by rottyguy on Thursday July 16, 2015 @07:45AM (#9896573)
Are there books and/or resources you could recommend? tx
Re:Visual Studio 2015 Final Release Event by farresito on Thursday July 16, 2015 @08:21AM (#9896723)
Have you ever worked in vim? If you haven't, the way I learned the basics was by watching these videos: http://derekwyatt.org/vim/tutorials/

To get used to the hjkl keys, I would recommend you to download tetris and change the movement keys from the default arrows to hjkl and play for a week a little bit every day. I got used to very very fast. Some people recommend http://vim-adventures.com/ but I have never used it.

vim has a few very interesting plugins that I recommend installing, especially if you are interested in working with vim every day instead of using it only through ssh. If you end up going with vim and like it, answer me and I will go over the plugins I like the most.

Re:Visual Studio 2015 Final Release Event by rottyguy on Thursday July 16, 2015 @09:05AM (#9896894)
Will definitely take a look at vim so would appreciate the guidance.
Re:Visual Studio 2015 Final Release Event by farresito on Friday July 17, 2015 @07:02PM (#9905859)
The first thing I would recommend you is to build the vimrc yourself. Forget about the huge github vimrcs available out there. Check them out and see if there are things you like, but build your own vimrc.

The second thing is if you are planning on using plugins (which I recommend), use a plugin manager like https://github.com/junegunn/vim-plug. They make it extremely easy to install plugins, and updating them will be a breeze.

vim is not for everyone. Some people enjoy using some vim emulation for their favorite editor. Just because using vim is very common in the Linux world doesn't mean you should. I still recommend that people get used to the keys.

I would personally not install any plugins right away. I would get used to vim for at least 2 weeks and see from there what you want to do. That said, the plugins I've found the most interesting and helpful have been the following:

NERDTree (shows your project's structure. Similar to what you would find in sublime or any modern IDE)

NERDcommenter (allows you to comment/uncomment lines or groups of lines automatically)

CtrlP (fuzzy search of files in your current folder or subfolders, or inside the current repository)

ultisnips (snippets)

vim-surround (allows you to insert parentheses, brackets, quotes, etc. around the selected area)

auto-pairs (or something equivalent. Basically, creating the closing bracket, quote, etc. every time you open bracket, quote, etc.)

vim-easymotion (this is a very interesting plugin. I would recommend that you check it out to get an idea of what it does. It's useful when trying to navigate around the screen)

syntastic (syntax checker for multiple languages)

tagbar (if you enjoy having a small summary of all the functions and variables in the current file, this is for you)

supertab (vim uses c-p and c-n to complete words in insert mode. supertab allows you to complete with tab instead of c-p and c-n. If you are used to using tab in other editors, this will help you)

vim-fugitive (quite nice if you are use git. Helps you comparing newer and older revisions, for example. You can open a modified file with vim, write :Gdiff and get the uncommited changes)

youcompleteme (the best code completion tool available. Has very good context completion)

vim-colorschemes (a collection of a million different colorschemes to try)

vim-hybrid (my favorite dark colorscheme by far)

Re:Visual Studio 2015 Final Release Event by kristiandupont on Thursday July 16, 2015 @08:33AM (#9896765)
Regarding vim, I enjoyed this quite a bit: http://www.vimgenius.com/

..but mostly, I learned from videos. There are plenty of them and some are really good.

Re:Visual Studio 2015 Final Release Event by stkrzysiak on Thursday July 16, 2015 @08:00AM (#9896626)
Vim itself had a decent built-in tutorial, just launch vim and I think its the default prompt. People have gamified vim hot keys too, check out shortcut foo and Google 'vim' golf.
Re:Visual Studio 2015 Final Release Event by ohitsdom on Thursday July 16, 2015 @08:02AM (#9896636)
Visual Studio Code looks promising, and should feel familiar to you.
Re:Visual Studio 2015 Final Release Event by iends on Thursday July 16, 2015 @08:23AM (#9896730)
VS Code is C#, JavaScript, and Typescript only.
Re:Visual Studio 2015 Final Release Event by tgibson on Thursday July 16, 2015 @08:35AM (#9896775)
It does have syntax highlighting for C++ and a list of other languages as well. But for the fuller experience you're right.

Source: https://code.visualstudio.com/Docs/languages

Re:Visual Studio 2015 Final Release Event by CmonDev on Thursday July 16, 2015 @08:36AM (#9896779)
But it's like a notepad at the moment though (no refactoring) - so any language goes?
Re:Visual Studio 2015 Final Release Event by RazvanPanda on Thursday July 16, 2015 @06:37PM (#9900310)
It has code navigation for C#, find references, and many other cool things probably mostly provided by OmniSharp.
Re:Visual Studio 2015 Final Release Event by vblord on Thursday July 16, 2015 @08:29AM (#9896750)
Visual Basic too