Thursday, April 13, 2017

Logging the Creation of a Beast -- the Good, the Bad, and the Template Metaprogramming.

Re: Thursday, April 13, 2017

Postby Detritus » Sat Apr 15, 2017 7:01 pm

Grumblesaur wrote:Sublime Text is for people who copy/paste their code.

That burns. :lol:
Image
User avatar
Detritus
Rear Admiral
 
Posts: 1765
Joined: Mon Nov 23, 2015 10:05 pm
Location: Al Nair Gamma III B

Re: Thursday, April 13, 2017

Postby JanB1 » Mon Apr 17, 2017 12:51 am

Silverware wrote:
charnode wrote:fwiw I tend to use https://atom.io/ for my text editing purposes.


I also use Atom, when I am dealing with small files, or remote systems.
Notepad++ on windows is better for large files, if I am on a nix system and need a large file edited, well that's what VIM is for. :V


Aaaah, Atom. Atom is cool. I like it. ^^

I sometimes use codepen.io when I want to test something webdesign related or repl.it when I want to test something quickly in a specific programming language.

Notepad++ is my favorite text editor when it comes to all sorts of plaintext files that don't need formatting (.ini, .log, .bat and whatever file I need to change something in quickly. I set it as my standard editor for Filezilla).


Grumblesaur wrote:Sublime Text is for people who copy/paste their code.


What makes you think that? :think:
Automation engineer, lateral thinker, soldier, addicted to music, books and gaming.
Nothing to see here

Flatfingers wrote:23.01.2017: "Show me the smoldering corpse of Perfectionist Josh"
User avatar
JanB1
Rear Admiral
 
Posts: 1265
Joined: Mon Mar 30, 2015 1:14 am
Location: Europe

Re: Thursday, April 13, 2017

Postby Silverware » Mon Apr 17, 2017 2:35 am

JanB1 wrote:
Silverware wrote:
charnode wrote:fwiw I tend to use https://atom.io/ for my text editing purposes.


I also use Atom, when I am dealing with small files, or remote systems.
Notepad++ on windows is better for large files, if I am on a nix system and need a large file edited, well that's what VIM is for. :V


Aaaah, Atom. Atom is cool. I like it. ^^

I sometimes use codepen.io when I want to test something webdesign related or repl.it when I want to test something quickly in a specific programming language.

Notepad++ is my favorite text editor when it comes to all sorts of plaintext files that don't need formatting (.ini, .log, .bat and whatever file I need to change something in quickly. I set it as my standard editor for Filezilla).


Grumblesaur wrote:Sublime Text is for people who copy/paste their code.


What makes you think that? :think:


Try c9.io if you need to test things. :V Basically a tiny VM you get some control over :3
Image
Image
User avatar
Silverware
Vice Admiral
 
Posts: 2966
Joined: Sun Sep 07, 2014 3:23 pm
Location: Goattown-Three, Sigma Six, Goat Space

Re: Thursday, April 13, 2017

Postby Employee 2-4601 » Mon Apr 17, 2017 3:27 am

I am quite confused by the concept of people using different text editors for different situations. The case that makes sense to me is knowing how to use vi even when that's not your first choice (because some version of it is available by default almost everywhere), and there are some language-specific cases where certain editors are almost mandatory. Otherwise I feel people should learn one editor really well and want to use it for everything. I guess it helps to pick an editor that you can use everywhere. I think I'd go a bit nuts if I was regularly switching editors/features/key bindings.
Employee 2-4601
Lieutenant Commander
 
Posts: 134
Joined: Sat Dec 13, 2014 7:19 am

Re: Thursday, April 13, 2017

Postby Graf » Mon Apr 17, 2017 11:21 am

Employee 2-4601 wrote:Otherwise I feel people should learn one editor really well and want to use it for everything.


I hear EMACS is basically an operating system written in lua. That everything enough for you? :P
Libertas per Technica
Graf
Commander
 
Posts: 248
Joined: Sun Mar 09, 2014 8:14 pm
Location: Virginia, USA

Re: Thursday, April 13, 2017

Postby ThermalSpan » Mon Apr 17, 2017 12:23 pm

I disagree. I don't think its a good idea to force any one tool to fit all situations. I use vim extensively for my development needs. However, sometimes I just need a quick text pane open to jot something down or hold a paste-buffer, in which case it is quite nice to have sublime just a click away.

And there's also the education angle. Several things in my vimrc were inspired by trying out spacemacs.
User avatar
ThermalSpan
Recruit
 
Posts: 3
Joined: Sun Nov 23, 2014 9:09 pm

Re: Thursday, April 13, 2017

Postby Silverware » Mon Apr 17, 2017 2:56 pm

Employee 2-4601 wrote:I am quite confused by the concept of people using different text editors for different situations. The case that makes sense to me is knowing how to use vi even when that's not your first choice (because some version of it is available by default almost everywhere), and there are some language-specific cases where certain editors are almost mandatory. Otherwise I feel people should learn one editor really well and want to use it for everything. I guess it helps to pick an editor that you can use everywhere. I think I'd go a bit nuts if I was regularly switching editors/features/key bindings.


Learn multiple editors very well, and you will have more tools available. :V
Some are better at some things than others, not all text editors are worth the effort.

Notepad for instance is pretty shit.

Notepad++ is nice, but has areas it lacks in, especially in the visuals department, and it's a pain to use it to access files on a remote system.

Atom.io is pretty, but can't open large files, however it does have the advantage of a ton of tools that make editing on a remote system easy as pie.

Vim is a solid editor, but lacks a bunch of mouse control that I feel is almost entirely required in the modern day. Especially when used through a remote shell.


I haven't found a single thing that Sublime can do that can't be replicated in Atom/Notepad++/Vim, so yeah. I'll stick with my three editors of choice. V:
Image
Image
User avatar
Silverware
Vice Admiral
 
Posts: 2966
Joined: Sun Sep 07, 2014 3:23 pm
Location: Goattown-Three, Sigma Six, Goat Space

Re: Thursday, April 13, 2017

Postby NonBritGit » Mon Apr 17, 2017 4:05 pm

Talvieno wrote::lol:

Well, some people seem to appreciate it. If most people would rather I stop, that's fine too.


No, I wouldn't suggest you stop. :P Maybe it's because I understand what Josh says (is that scary or what?) :ghost:

(long time Notepad++ user here :crazy: )
User avatar
NonBritGit
Commander
 
Posts: 220
Joined: Wed Nov 20, 2013 1:03 pm

Re: Thursday, April 13, 2017

Postby Employee 2-4601 » Tue Apr 18, 2017 12:49 am

Graf wrote:
Employee 2-4601 wrote:Otherwise I feel people should learn one editor really well and want to use it for everything.
I hear EMACS is basically an operating system written in lua. That everything enough for you? :P
Lisp rather than Lua(*). The Emacs Lisp interpreter and performance-critical code is written in C, but everything else is written in Emacs Lisp (and extensible via the same -- it's not exactly the "operating system" people joke about, but it is at its core a live and malleable lisp environment, which makes it exceptionally flexible). And yes, that's the editor I use (everywhere for everything) :) (which I'll admit possibly skews my expectations of what other editors ought to be capable of).

(*) For starters Lua is less than 25 years old -- that's not nearly old enough for Emacs ;)
Employee 2-4601
Lieutenant Commander
 
Posts: 134
Joined: Sat Dec 13, 2014 7:19 am

Re: Thursday, April 13, 2017

Postby JanB1 » Tue Apr 18, 2017 10:56 am

Silverware wrote:Try c9.io if you need to test things. :V Basically a tiny VM you get some control over :3


Hmm...thanks! I'll take a look. But on first glance, it seems like it needs more setup. Cool thing for repl.it is when you want to test out like...1 function. Just something that came up your mind and you're not sure if it works. It's done in a few seconds. For me, c9.io looks like a tool to test large bits of code without the hassle of a compiler or the need to set up a web server to test web-dev related things. Or am I wrong with my first glance?
Automation engineer, lateral thinker, soldier, addicted to music, books and gaming.
Nothing to see here

Flatfingers wrote:23.01.2017: "Show me the smoldering corpse of Perfectionist Josh"
User avatar
JanB1
Rear Admiral
 
Posts: 1265
Joined: Mon Mar 30, 2015 1:14 am
Location: Europe

Re: Thursday, April 13, 2017

Postby Jazehiah » Tue Apr 18, 2017 11:10 am

Talvieno wrote:True oldschool is MS-DOS Edit. ;)

Yes.
User avatar
Jazehiah
Commander
 
Posts: 206
Joined: Wed Mar 04, 2015 1:05 am
Location: East Coast United States of America, Planet Earth, Earth-Moon System, Solar System, Local Group...

Re: Thursday, April 13, 2017

Postby JanB1 » Tue Apr 18, 2017 1:01 pm

Jazehiah wrote:
Talvieno wrote:True oldschool is MS-DOS Edit. ;)

Yes.

No! You ar NOT George R.R. Martin!
Automation engineer, lateral thinker, soldier, addicted to music, books and gaming.
Nothing to see here

Flatfingers wrote:23.01.2017: "Show me the smoldering corpse of Perfectionist Josh"
User avatar
JanB1
Rear Admiral
 
Posts: 1265
Joined: Mon Mar 30, 2015 1:14 am
Location: Europe

Re: Thursday, April 13, 2017

Postby Flatfingers » Tue Apr 18, 2017 3:07 pm

Jazehiah wrote:
Talvieno wrote:True oldschool is MS-DOS Edit. ;)

Yes.

I respectfully disagree, as noted in my comment above about TECO... and even that, with its fancy-schmancy CRT screen, isn't oldschool enough for those who used punchcards and paper tape. The same goes for the ISPF editor under MVS/TSO.

That said, I will award partial credit for EDLIN. It, at least, predated visual editing; changing code meant supplying a line number and and an operation (e.g., "in line 5, replace 'priny' with 'print'").

But I admit I was happy to deep-six EDLIN for the one true best text editor ever, BRIEF. It moved code from my brain to a file faster than anything else I've ever used. And if there was something it didn't do out of the box, it was easily extended using an intuitive scripting language (meaning, not LISP).

I miss BRIEF.
User avatar
Flatfingers
Vice Admiral
 
Posts: 4542
Joined: Sat Nov 24, 2012 12:45 am

Re: Thursday, April 13, 2017

Postby Silverware » Tue Apr 18, 2017 3:21 pm

JanB1 wrote:
Silverware wrote:Try c9.io if you need to test things. :V Basically a tiny VM you get some control over :3


Hmm...thanks! I'll take a look. But on first glance, it seems like it needs more setup. Cool thing for repl.it is when you want to test out like...1 function. Just something that came up your mind and you're not sure if it works. It's done in a few seconds. For me, c9.io looks like a tool to test large bits of code without the hassle of a compiler or the need to set up a web server to test web-dev related things. Or am I wrong with my first glance?


Basically that, C9 is good for smallish projects.
repl is good for instant gratification of small chunks of code. Most of what you can do there can be done in a node.js terminal. Or the browser console on any random webpage.
Image
Image
User avatar
Silverware
Vice Admiral
 
Posts: 2966
Joined: Sun Sep 07, 2014 3:23 pm
Location: Goattown-Three, Sigma Six, Goat Space

Re: Thursday, April 13, 2017

Postby Employee 2-4601 » Tue Apr 18, 2017 4:40 pm

Flatfingers wrote:an intuitive scripting language (meaning, not LISP).
Hey :)

I genuinely feel that people who don't like Lisp probably haven't spent enough time with Lisp. 'tis all subjective, though. The original Emacs was actually TECO based (as we're on the subject), but I'll admit that TECO scares me, so I think I'm glad I never used that. AFAIK the Multics implementation of Emacs was the first Lisp-based one (and http://multicians.org/mepap.html is a good read about that, if you're keen on that sort of thing).

BRIEF sounds interesting; I've not heard of that before. Ah, I see it was a DOS,OS/2,Windows thing. Apparently crisp-mode provides "CRiSP/Brief editor" key bindings in Emacs :) (but presumably nothing more than that).
Employee 2-4601
Lieutenant Commander
 
Posts: 134
Joined: Sat Dec 13, 2014 7:19 am

PreviousNext

Return to Dev Logs



Who is online

Users browsing this forum: No registered users and 2 guests