|
Members in Shoutbox
None.
Shoutbox Search
Shoutbox Commands
/w [name] > Whisper
/r > Reply to last whisper /me > Marks as action Shoutbox Information
Moderators may delete any and all shouts at will.
|
Global Shoutbox
Please log in to shout.
[2016-5-01. : 4:25 pm] Roy -- There are code format extensions for VS that allow for way more customization than is built in.[2016-5-01. : 4:25 pm] Clokr_ -- RoyRoy shouted: Clokr_ That would be indenting by 5, not 3. And IDEs don't make this mistake. Right, but 5 is as bad. I guess you are right, haven't tried to use a proper IDE with tabs set to spaces. As you said, I'm an amateur programmer.[2016-5-01. : 4:24 pm] Clokr_ -- Mini Moose 2707Mini Moose 2707 shouted: Why are you indenting manually in 2016? IDEs are not as flexible as you'd think. I tried to get the C switch indenting the way I like with VStudio and it didn't have the right options.[2016-5-01. : 4:24 pm] Roy -- Clokr_Clokr_ shouted: Roy By pressing tab on a line that already had one space. But again, I don't remember which editor it was but handled tabs terribly (it just placed 4 spaces whenever you hit the key). That would be indenting by 5, not 3. And IDEs don't make this mistake.[2016-5-01. : 4:22 pm] Clokr_ -- RoyRoy shouted: How would you indent something by 3 spaces? By pressing tab on a line that already had one space. But again, I don't remember which editor it was but handled tabs terribly (it just placed 4 spaces whenever you hit the key).[2016-5-01. : 4:21 pm] Roy -- Mini Moose 2707Mini Moose 2707 shouted: Why are you indenting manually in 2016? Typing code outside of an IDE. Another place where spaces excel, interestingly enough.[2016-5-01. : 4:20 pm] Clokr_ -- The thought of indenting something by 3 spaces by mistake is very disturbing though.[2016-5-01. : 4:19 pm] Clokr_ -- RoyRoy shouted: Can't the IDE recognize a series of four spaces at the beginning of the line and choose how to display that for the user? I wouldn't mind the IDE internally saving tabs as spaces if it displays them grouped.[2016-5-01. : 4:18 pm] Roy -- Can't the IDE recognize a series of four spaces at the beginning of the line and choose how to display that for the user?[2016-5-01. : 4:15 pm] NudeRaider -- Mini Moose 2707Mini Moose 2707 shouted: NudeRaider To navigate between elements of a web page, fields of an input form, etc. that's the tab key, not the tab stop. though it's similar in function. One time you create tabular text, the other time you navigate between elements (not necessarily columns)[2016-5-01. : 4:15 pm] Roy -- In theory, practice and theory are the same. In practice, they are not.[2016-5-01. : 4:13 pm] Roy -- NudeRaiderNudeRaider shouted: Roy tabs were literally invented to jump to a specific point in the line, or multiple points, of a typewriter. What else you gonna use that for, if not to have text start at a specific place? Heroin was invented to relieve pain as a less addictive alternative to morphine. What else are you going to use that for, if not as a pain killer?[2016-5-01. : 4:11 pm] Roy -- Not to mention it's going to break formatting for people who expect tabs to be the default size.[2016-5-01. : 4:11 pm] Moose -- NudeRaiderNudeRaider shouted: Roy tabs were literally invented to jump to a specific point in the line, or multiple points, of a typewriter. What else you gonna use that for, if not to have text start at a specific place? To navigate between elements of a web page, fields of an input form, etc.[2016-5-01. : 4:10 pm] Roy -- How do you even configure tab size in a web browser? You need CSS, which means a user needs a userscript to have their preferred indentation apply on the web.[2016-5-01. : 4:10 pm] NudeRaider -- RoyRoy shouted: NudeRaider Tabs aren't for aligning text, and they aren't always used for indenting; some text fields don't even accept tabs. The problem with tabs is that there is no consistent use for them. tabs were literally invented to jump to a specific point in the line, or multiple points, of a typewriter. What else you gonna use that for, if not to have text start at a specific place?[2016-5-01. : 4:07 pm] Roy -- If you like wide tabs and someone else doesn't, then their code is going to create a horizontal scrollbar for you because their setup finds the line of code is not too long.[2016-5-01. : 4:01 pm] Roy -- NudeRaiderNudeRaider shouted: and being the computer-like mind I am, I want them to treat semantically which is why I prefer tabs. they say "indent" and how you interpret it, is your choice/problem. And it also explains why I like the mixed mode... use spaces to separate keywords, like param lists. Tabs aren't for aligning text, and they aren't always used for indenting; some text fields don't even accept tabs. The problem with tabs is that there is no consistent use for them.[2016-5-01. : 3:45 pm] TiKels -- If there's one thing I'm not, it's lazy. I just spent the last week and a half working to sun up 60% of the days lol. I never expected this out of college coming in[2016-5-01. : 3:38 pm] Moose -- TiKelsTiKels shouted: Sacrieur no I mean the project was to design a missile and it ended up having too many constraints. Like "it has to be below this weight and size, burn the motor this quickly, have this chamber pressure, and go to Mach 3.2" but you can't do it all. It just isn't a possible assignment. The person who wrote the project several years ago told the class "you're going to find out that the problem is over-defined, identify critical parameters and explained why you picked those" Nah, you're just lazy. Are you actually claiming to know the assignment and your own life better than Sacrieur?[2016-5-01. : 3:38 pm] jjf28 -- Mini Moose 2707Mini Moose 2707 shouted: That reminds me, we should get into a good English spacing versus French spacing debate. «quelle?»[2016-5-01. : 3:37 pm] TiKels -- SacrieurSacrieur shouted: The only thing that's going on here is your professor weeding out the crap. no I mean the project was to design a missile and it ended up having too many constraints. Like "it has to be below this weight and size, burn the motor this quickly, have this chamber pressure, and go to Mach 3.2" but you can't do it all. It just isn't a possible assignment. The person who wrote the project several years ago told the class "you're going to find out that the problem is over-defined, identify critical parameters and explained why you picked those"[2016-5-01. : 3:35 pm] Moose -- That reminds me, we should get into a good English spacing versus French spacing debate.[2016-5-01. : 3:30 pm] Moose -- https://www.reddit.com/r/technology/comments/4h84v2/us_spy_court_didnt_reject_a_single_government/d2ofehv?context=3[2016-5-01. : 3:28 pm] jjf28 -- NudeRaiderNudeRaider shouted: and being the computer-like mind I am, I want them to treat semantically which is why I prefer tabs. they say "indent" and how you interpret it, is your choice/problem. And it also explains why I like the mixed mode... use spaces to separate keywords, like param lists. sure, you can't just ignore very real problems they can cause tho ![]() [2016-5-01. : 3:24 pm] NudeRaider -- and being the computer-like mind I am, I want them to treat semantically which is why I prefer tabs. they say "indent" and how you interpret it, is your choice/problem. And it also explains why I like the mixed mode... use spaces to separate keywords, like param lists.[2016-5-01. : 3:22 pm] NudeRaider -- pretty much this: The problem is that we're using tabs and spaces to format text for aesthetic reasons rather than treating them semantically - tabs are for indenting and aligning text, spaces are for separating keywords.[2016-5-01. : 3:20 pm] Moose -- Though, actually, the demo animation isn't even using a monospaced font, so it's already horrendous[2016-5-01. : 3:19 pm] Moose -- It looks like it should display properly in any IDE by design. Whether or not the IDE would edit it properly is the question.[2016-5-01. : 3:16 pm] Clokr_ -- RoyRoy shouted: Back when I was a fan of tabs, I liked the idea of Elastic Tabstops. Interesting idea, but I guess it has the same problems usual tabs do: it will only look pretty in the right IDE.[2016-5-01. : 3:08 pm] Moose -- It's a shame you guys don't use it. If tabs versus spaces went like this, I can only imagine a vi versus emacs debate.[2016-5-01. : 3:04 pm] Moose -- "My IDE of choice is Linux. Heck, it can run other IDEs, serve websites, execute programs in a variety of languages, and by combining stuff (the pipe) it can run programs together that were written in different languages as though they were one. That thing is awesome. Oh, and it can connect to the internet and do all sorts of interesting things with it too, including spawning other versions of itself. Coolio! Don't settle for an IDE when you already have linux."[2016-5-01. : 2:48 pm] Moose -- Or at least have made significant progress in rendering this a non-issue[2016-5-01. : 2:47 pm] Moose -- I just want to hope that by now we've figured out how to make tools such that we don't really need to care about this stuff.[2016-5-01. : 2:46 pm] Roy -- I use -w for diff files a lot of times. Visual Studio likes to mess around with its csproj files in ways that I'll never understand.[2016-5-01. : 2:45 pm] Moose -- RoyRoy shouted: You can have Git be whitespace agnostic, but that causes problems, which is why it's not on by default. True, TBH, fam, I've never tried it, I just like to talk shit. XD[2016-5-01. : 2:43 pm] Moose -- Whitespace mattering? What are you trying to do, have us be productive instead of debating about whitespace preferences??[2016-5-01. : 2:42 pm] Roy -- Well, that and there are languages and file types where whitespace actually matters.[2016-5-01. : 2:42 pm] Roy -- You can have Git be whitespace agnostic, but that causes problems, which is why it's not on by default.[2016-5-01. : 2:42 pm] NudeRaider -- Mini Moose 2707Mini Moose 2707 shouted: alias git='git -Xignore-space-change' # LINUX! *[2016-5-01. : 2:41 pm] Clokr_ -- You are also as dependent on the IDE as when using tabs, if not more.[2016-5-01. : 2:40 pm] Roy -- This is slowly approaching my ideal solution of minified source code with universal user-customized formatting.[2016-5-01. : 2:39 pm] Roy -- That doesn't solve formatting issues. You'd need a diff tool that can format based on user preferences, and have those preferences sync with the IDE regardless of the interface.[2016-5-01. : 2:39 pm] Moose -- Or use a diff tool that is also whitespace agnostic like the compiler. |
Decency, ihjel, YmkjeHaringa938, MaritHooiveld195