Details
-
SkillsA little something for everyone, but don't expect me to know what I'm doing.
Joined devRant on 5/12/2018
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
Remind me to use this the next time i have to refactor legacy code.
Rip and tear, until it is done. -
@Lor-inc it does - some editors render tabs as 2 whitespaces, some as 4, some as 5(??), which can make mixed indentation look super weird.
-
@Lor-inc oh my god. for private projects, fine, but please don't tell that's what you do in FOSS.
-
@Lor-inc whitespace support is mandatory for both. unless you're ok with your code being indented with tabs AND spaces.
-
@EdoPhoenix as if programmers haven't been using whitespaces as formatting aid for decades.
-
@Lor-inc wait it can't?? i've never worked with vim, but if you're telling me that one of the most famed editors of our times can't deal with whitespaces, i'm gonna lose any and all respect for vim.
-
@Lor-inc maybe 10% was a bit far fetched, even. *EVERY* at least somewhat popular editor except nano has some whitespace capability, even if it's only showing them.
and frankly, the 1% that use notepad and wordpad are beyond saving. No serious tutorial would recommend this, not even the most retarded CS profs will. thus, those 1% most definitely deserve it. -
@hashedram lol. in an age where 90% of high-level programmers use whitespace-aware editors, formatters and the likes, how is that an argument?
-
used to be a One Dark dude, but i keep coming back to Monokai and Idea's Darcula.
-
@arcsector depends on the circumstances tbh. jenkins is good for large internal structures since you can script anything with pipelines. Github Actions are pretty good too. travis works, but is rather slow iirc. i haven't worked with the rest
-
i mean, i'm not gonna judge people for hating on languages... i just wanna know...
why would you write an interpreter in python?? -
@OneOfSimpleMind but... 3 billion devices run java! :)
-
@OneOfSimpleMind *except* it requires in interpreter, so except for js it's rather useless for end-users.
-
just call them surfers to piss people off
-
@fuckwit that is why you put a shebang there in the first place, so they are working even when running from other shells. and if you forgot your shebang, well, hope you learned something.
-
@arcsector we're just gonna blame c#, are we?
-
@arcsector there's no string primitive in java, only the uppercase String - much less a string primitive that's actually a char, it seems like?
-
@bartmr surprisingly, i haven't heard any complaints about rust yet. it's only a matter of time...
-
@bahua yes, although some regex implementations can be pretty damn fast. have a look at ripgrep, for example.
-
@lukegv i haven't tried it, but it appears to integrate most of the different CIs' strengths. it has full build matrix support, all three major operating systems, is free (for FOSS) and appears to run reasonably fast (which is the one thing that's different from travis afaik).
-
@powerfulparadox actually, i have some, namely ffmpeg vs handbrake or imagemagick vs any image processing program. CLI gets really complicated (and really hard to remember) once you have loads and loads of parameters. magick and ffmpeg are great tools and work for simple things, but nobody would actually use them for complex tasks, unless in a headless environment.
-
having used sed, i feel your pain. i tried awk for a while, but awk is a dick. then i tried ripgrep, which is blazingly fast, but unfortunately at the expense of lookahead support. i was seriously about to write my own tool...
then i found out just about any linux distro has perl. -
python is my second most used language, and it's okay for what it does. short scrips, smaller programs are perfectly fine.
dependency management works nicely unless you have one binding to C libraries, then you can get problems. If you have an issue with indentations (i don't), you're better off with something else.
comparing C and python is pretty hard, as they are completely different in various ways. just remember that C has much more performance potential, but it can be very hard to use that potential (or even write correct code to begin with). -
@QuanticoCEO as much of an emotional shock as it was - rationally it was just one part of it. i don't wanna mess with people who still have issues dealing with the memories, but at the same time, they're not always correct.
-
@Codex404 alright, at least you're consistent.
-
@Codex404 hm, and what about this?
python sucks -
@PrivateGER so, i'm gonna get reported for genuinely thinking php is bad? damn.
-
try git extensions, that was the one i stuck with
-
i occasionally have wet dreams about rust
-
so... how fast is it?