|
my theory is, if you need to fold your code, then your code is too complex and needs to be split into methods/functions and different files
|
# ? May 5, 2016 19:21 |
|
|
# ? May 15, 2024 09:41 |
|
i never use it, it's annoying
|
# ? May 5, 2016 19:39 |
|
yeah it can really screw me up if i fold something by accident
|
# ? May 5, 2016 19:40 |
|
op what if I'm folding functions and methods?
|
# ? May 5, 2016 19:49 |
|
fold this thread into an airplane and fly it to the gas chamber
|
# ? May 5, 2016 20:02 |
|
Symbolic Butt posted:op what if I'm folding functions and methods? why should you? are they getting in the way? e: are you talking about higher-order functions?
|
# ? May 5, 2016 20:11 |
|
i use it because i mostly program microcontrollers and in low-memory situations procedural code is a lot cleaner than factory factory factories.
|
# ? May 5, 2016 20:31 |
|
i use it when moving big blocks of html code around. you might say that my code is complex and im a poo poo lord for using html, and yes youre right
|
# ? May 5, 2016 20:32 |
|
html isn't code, it's markup
|
# ? May 5, 2016 20:39 |
|
Sagebrush posted:html isn't code, it's markup
|
# ? May 5, 2016 20:40 |
|
never ever, OP. every single line of code is important. if you don't want to see a line of code, well, that's what the scroll bar is for. i suggest you use it.
|
# ? May 5, 2016 20:40 |
|
actually, he's right.
|
# ? May 5, 2016 20:41 |
|
LP0 ON FIRE posted:why should you? are they getting in the way? no, it's just that I like to skim through code reading only the function signatures kinda like reading a header file
|
# ? May 5, 2016 21:18 |
|
that's what intellisense is for.
|
# ? May 5, 2016 21:23 |
|
lol if you ever have so much code in one file that you need to fold it
|
# ? May 5, 2016 21:58 |
|
Symbolic Butt posted:no, it's just that I like to skim through code reading only the function signatures that's what header files are for
|
# ? May 5, 2016 22:01 |
|
I feel bad for u if ur programming language doesn't have header files
|
# ? May 5, 2016 22:03 |
|
since august i've been working on a project that uses javascript, php and mysqli and everything about all three of those things SUCKS rear end. i have an interview setup somewhere else so i can leave lol. ive been here for 6.5 years and used to work on a game that got cancelled after 4 years and everything is going down hill =D
|
# ? May 5, 2016 22:20 |
|
I use vim, is code folding right for me?
|
# ? May 5, 2016 22:20 |
|
The Management posted:I use vim, is code folding right for me? i dunno. it's yet another key command you need to learn, so maybe not
|
# ? May 5, 2016 22:21 |
|
LP0 ON FIRE posted:since august i've been working on a project that uses javascript, php and mysqli and everything about all three of those things SUCKS rear end. i have an interview setup somewhere else so i can leave lol. ive been here for 6.5 years and used to work on a game that got cancelled after 4 years and everything is going down hill =D LP0 ON FIRE is good now.
|
# ? May 5, 2016 22:27 |
|
a lot of posters have been making some huge comebacks lately, or maybe it's just that i've softened. i don't know. but i wish you only the best, LP0 ON FIRE.
|
# ? May 5, 2016 22:28 |
|
GameCube posted:actually, he's right. what if u write ur scripts inline
|
# ? May 5, 2016 23:21 |
|
GameCube posted:a lot of posters have been making some huge comebacks lately, or maybe it's just that i've softened. i don't know. but i wish you only the best, LP0 ON FIRE. thanks man
|
# ? May 6, 2016 00:40 |
|
I had folding at home installed in 2002
|
# ? May 6, 2016 00:47 |
|
I fold and unfold my code constantly at work while I"m playing cell phone games, so it looks like I'm busy.
|
# ? May 6, 2016 00:55 |
|
never mostly because xcode's support for it is awful so i got out of the habit of using it
|
# ? May 6, 2016 01:09 |
|
Plorkyeran posted:never Yeah basically same; I use to fold code then I got better at organizing classes and got use to making most files < 100 lines. Anyways the code needs to be really annoying to look at to get me to fold. Nude fucked around with this message at 03:49 on May 6, 2016 |
# ? May 6, 2016 03:38 |
|
Nude posted:Yeah basically same; I use to fold code then I got better at organizing classes and got use to making most files < 100 lines. Anyways the code needs to be really annoying to look at to get me to fold. "then I got better at organizing classes and got used to making most files < 100 lines."
|
# ? May 6, 2016 03:53 |
|
i use folding all the time op because gently caress splitting all of my lovely html parsing code into separate files, better to keep that garbage contained
|
# ? May 6, 2016 03:58 |
|
i just got layed off from my bad programming job where i wasn't doing much programming and i had a new position lined up within 5 minutes of finding out and lol im moving on from ruby on rails to make a deece six figgies writing javascript. development loving owns hahaha
|
# ? May 6, 2016 04:38 |
|
what im saying is, it was time to fold
|
# ? May 6, 2016 04:42 |
|
i fold other peoples code
|
# ? May 6, 2016 12:54 |
|
I remember in amos is was f9 i think and yeah I used to fold the poo poo out og my basic
|
# ? May 6, 2016 13:36 |
|
my stepdads beer posted:i fold other peoples code ihope you get all of the creases out
|
# ? May 6, 2016 14:12 |
|
Ludwig van Halen posted:I feel bad for u if ur programming language doesn't have header files you say as if like most header files are written in a sane way
|
# ? May 6, 2016 15:13 |
|
The Management posted:I use vim, is code folding right for me? every time i encounter a file where some idiot has added fold markers i waste a minute finding the 'open all' shortcut
|
# ? May 6, 2016 22:53 |
|
i almost folded some code today whilst studying a new class, but then i used visual studio's dropdown list at the top of the window instead. but if you like to fold, whatever. do what feels right.
|
# ? May 6, 2016 23:13 |
|
GameCube posted:i almost folded some code today whilst studying a new class, but then i used visual studio's dropdown list at the top of the window instead. but if you like to fold, whatever. do what feels right. visual studio code kicks rear end
|
# ? May 11, 2016 16:20 |
|
|
# ? May 15, 2024 09:41 |
|
visual studio fold
|
# ? May 11, 2016 18:10 |