BlackHatPlus.com

A forum about BlackHat and Beyond

Do you use emacs for editing javascript?

by Christopher » 2016-02-14 14:18

Just knowing someone is using this combo will put me at ease.

Do you have autoprettifier for your code? What do you want to indent: tabs, 4 rooms, 8 spaces? extension what to have?
Christopher
 
Posts: 75
Joined: 2012-04-05 4:01

by Alexander » 2016-02-14 22:48

It was sort of funny. I walked into some js only this afternoon and see mode for this. It seems web-mode is probably the first thing to try, but I do not have a go at it yet.
personal preferences, for me, generally four chambers, and anyone entering the tab to the codebase got a free ride out the nearest window.
Alexander
 
Posts: 76
Joined: 2011-02-20 5:25

by Cameron » 2016-02-15 8:19

It was sort of funny. I walked into some js only this afternoon and see mode for this. It seems web-mode is probably the first thing to try, but I do not have a go at it yet.
personal preferences, for me, generally four chambers, and anyone entering the tab to the codebase got a free ride out the nearest window.
Cameron
 
Posts: 61
Joined: 2012-04-28 5:34

by Anthony » 2016-02-15 22:03

People usually use spaces not tabs in web development (for projects at github). I prefer 4;)
I have written many js over the past few years, and nesting can be a problem, if you are not experienced enough in js to get around it.
There are many good ways to prevent deep nested function.

I personally would not use emacs, so instead I'll list some of the editors popular among web devs. this time huh:
Visual Studio Code (new, amazing with text)
Atom (new)
Brackets (new)
Sublime
WebStorm
Anthony
 
Posts: 58
Joined: 2012-03-02 5:31

by Francis » 2016-02-16 14:06

I also prefer spaces to tabs (regardless of language), and usually go for 2 or 4 spaces. However, I also think that everyone just had to have a tab-expansion in ...
Francis
 
Posts: 56
Joined: 2012-05-24 5:52

by August » 2016-02-17 1:53

I don't understood what is the deal with spaces and tabs. When I learn programming, I was the editor defaults on a tab so I tab. Then one day I changed to another editor, default is 4 spaces and I do four spaces. It's the same key, he did the same thing. Why do people become passionate about this? Now when I open the old files with the new editor, I saw the ugly arrows and indentation style mix. That's rubbish.
August
 
Posts: 50
Joined: 2012-03-04 5:33


Return to Programming Tutorials

cron

Who is online

Users browsing this forum: No registered users and 1 guest
SpinnerChief - WhiteHatBox