|
Finster Dexter posted:I think the CEO is willing to take feedback
|
# ¿ Jul 30, 2018 22:29 |
|
|
# ¿ Apr 19, 2024 01:50 |
|
the ceo is figuratively cracking the whip and complaining about his employees being lazy i have a feeling he's not willing to listen to constructive feedback on how he is being unreasonable here
|
# ¿ Jul 30, 2018 22:30 |
|
your ceo is saying instead of your workplace being a cool place to hang out and keep morale high with happy workers, your workplace should instead be: https://www.youtube.com/watch?v=WXh1tW16V-8
|
# ¿ Jul 30, 2018 22:38 |
|
lol that the world is run by a bunch of parasites lording over you that you have to constantly appease and handhold
|
# ¿ Jul 31, 2018 04:08 |
|
the ceo by his own admission is looking down on someone negatively purely because he is using butts-in-seats as his guiding productivity metric btw
|
# ¿ Jul 31, 2018 04:10 |
|
i used vanilla emacs w/ a bunch of customizations i now use spacemacs and i'm never going back. i'd rather crowdsource a bunch of autists managing my config instead of becoming the autist myself
|
# ¿ Aug 4, 2018 14:42 |
|
implicit this for member variables sucks (in C++, java, and C#) because you will get variable name collisions and you can get confused about scope it's such a problem that lots of programming conventions will make internal member variables be prefixed with strings like "_" or "m_"
|
# ¿ Aug 18, 2018 15:17 |
|
the other criticism you could make against self/this is that rust shouldn't have had member functions in the first place and tried to be more like a functional programming lang for better or for worse, Rust intentionally wanted its syntax to be more familiar to the mainstream and not turn off people by making its syntax look like haskell or ml or whatever
|
# ¿ Aug 18, 2018 15:22 |
|
i hate golang as much as anyone but dont they have some type of panic and recovery mechanism for goroutines? now, you might have to copy paste a shitload of boilerplate across every single goroutine to actually handle panics within a process, but the capability seems there? https://golangbot.com/panic-and-recover/
|
# ¿ Aug 24, 2018 17:51 |
|
MononcQc posted:the entire idiocy of go's error handling is not that you need to check the return values here and there; monad and maybe types have you do that in Haskell or Rust all the time, so do Erlang and Elixir's tuples.
|
# ¿ Aug 25, 2018 01:57 |
|
DONT THREAD ON ME posted:i have a basic generic linked list and if i want to define map it's all pointers to void and casting. pretty gross.
|
# ¿ Aug 31, 2018 05:49 |
|
DONT THREAD ON ME posted:yeah, it's a very different approach. my main worry is ambiguity, it seems like you could easily have two different types that each have a "foo" method with the same input/return types but wildly different semantics. it's like duck typing. as opposed to nominative typing which relies on you naming your types so you avoid the above problem
|
# ¿ Aug 31, 2018 20:37 |
|
eschaton posted:why did Rust go with its memory model instead of something like ARC where the semantics are a bit less opaque? you can still do RC (reference counted) and ARC (atomic reference counted) in rust a language implicitly doing some garbage collection or reference counting strategy for you incurs memory and cpu overhead that is not appropriate for the type of programming niche rust wants to fill comedyblissoption fucked around with this message at 05:11 on Sep 3, 2018 |
# ¿ Sep 3, 2018 05:02 |
|
rust's borrow rules also improve program correctness beyond what garbage collection and reference counting schemes offer the rules statically prevent you from incorrectly read or writing to data that you should not in certain scopes. some prominent examples:
in c++/java, violation of these rules can cause undefined behavior that you don't know about or a program exception rust's rules also encourages a design with less shared mutable and less global state. this probably improves programmer productivity some articles about this: https://manishearth.github.io/blog/2015/05/03/where-rust-really-shines/ https://manishearth.github.io/blog/2015/05/17/the-problem-with-shared-mutability/
|
# ¿ Sep 3, 2018 05:28 |
|
NihilCredo posted:big big big disclaimer: don't forget to make your objs immutable, otherwise the ez correctness goes out of the window rust shows that immutable vs mutable data structures for correctness vs performance is a false dichotomy you can do both just have mutable data structures and make them immutable/mutable in a scope you don't need a separate StringBuilder class
|
# ¿ Sep 3, 2018 21:03 |
|
not really str is a string slice and has no equivalent in java's std lib afaik edit: i know you're joking but people can get easily confused about it and i don't want them to lol
|
# ¿ Sep 3, 2018 21:27 |
|
is there something better than git's distributed immutable dag for programming source control seems deece enough for me
|
# ¿ Sep 5, 2018 03:56 |
|
yah those are all totally valid criticisms, but the broad strokes of git seem good enough the really lovely cli seems remedy-able with good enough wrappers (e.g. magit) and I personally want rebase to "destroy" history, but maybe that's b/c I'm unaware of alternatives
|
# ¿ Sep 5, 2018 04:50 |
|
we must pay for our sins in eternal torment such is the nature of touching computers
|
# ¿ Sep 5, 2018 05:19 |
|
i stopped believing in the unix philosophy when i saw higher order functions and realized that piping plain old text between programs is a really lovely way to program
|
# ¿ Sep 5, 2018 05:21 |
|
here's a fantastic article showing the myriad ways that the unix philosophy composes very poorly and why you should never create significant programs out of shell scriptlangs http://mkremins.github.io/blog/unix-not-acceptable-unix/
|
# ¿ Sep 5, 2018 05:28 |
|
Shaggar posted:theres no reason to not leave all those commits in other than bullshit ego. nobody gives a poo poo if you wrote something dumb in an initial revision, we care that the history is there so we can go back for context or to retrieve aborted designs that should be revisited. being able to make a bunch of garbage commits in a branch no one else cares about that you can throw away later speeds up development because your garbage commits don't need to pass the full suite of tests on the remote server for check-in and you have a 0% chance of impeding anyone else's development or being impeded by someone else's garbage interim commits. being impeded by garbage interim commits breaking poo poo was a problem at my previous workplace with like a couple dozen devs and SVN. this hasn't been a problem w/ git
|
# ¿ Sep 7, 2018 02:39 |
|
Symbolic Butt posted:I watched almost all of it, around 30min he finally gets to the main point which is this: I don't really see how jblow's paraphrased criticism is applicable, and I'm not willing to watch an hour long rant to see him ignore all the benefits of the system edit: i guess the other interpretation here is i guess he means you start programming in a style you don't need to constantly borrow poo poo in the first place like you might in other languages? i really don't see anything wrong with this comedyblissoption fucked around with this message at 20:02 on Sep 14, 2018 |
# ¿ Sep 14, 2018 19:59 |
|
weed-out courses are a dumb idea but even if you wanted a weed-out course, you could make your weed-out course still have actual programming making people program in pseudocode for a course before they are allowed to program is pedagogical malpractice
|
# ¿ Sep 15, 2018 15:15 |
|
Soricidus posted:depends how the course is branded really. if it's computer science then that's a branch of mathematics and it's perfectly reasonable to start with theory instead of getting bogged down in "no you just have to write public static because the compiler demands it don;t worry about why yet" from day 1 you can teach theory in tandem with writing actual programs running on non-abstract machines. this isn't the early 20th century
|
# ¿ Sep 15, 2018 15:49 |
|
programming and computer science go hand in hand teaching programming without theory or theory without programming is bad
|
# ¿ Sep 17, 2018 10:50 |
|
i like emacs b/c i think it has a legit better UI and philosophy for editing text for whatever than flavor of the month editors its anachronism has ironically made it make better UI decisions. a text-based interface has lots of pros over guis comedyblissoption fucked around with this message at 12:29 on Sep 24, 2018 |
# ¿ Sep 24, 2018 12:25 |
|
make sure you use for thunks for improved clarity
|
# ¿ Oct 10, 2018 02:59 |
|
always focus on whats best for yourself and do not chase some stupidass poisoned carrot on a stick your boss puts on your head
|
# ¿ Nov 3, 2019 12:17 |
|
you just have to be a mindreader whose telepathy can also read minds into the future and be a legal and financial expert to properly evaluate your stock options
|
# ¿ Nov 3, 2019 15:56 |
|
clean code doesnt really go into the ideas of 'minimize mutable state' and 'prefer pure functions' and why you would want that it also seems to embrace implementation inheritance with examples like SalariedEmployee and HourlyEmployee inherit from Employee which will look reasonable at tiny examples but breaks down as you get more complex it also eschews higher order functions, but that's b/c it's a very 90s-00s java book instead of a general treatise on code a starting point for a great book on how to write better code for the uninitiated would look something like this: http://loup-vaillant.fr/articles/good-code http://loup-vaillant.fr/articles/good-code-2
|
# ¿ Nov 4, 2019 13:11 |
|
surely western governments would never pressure company employees to access that data and hand it over
|
# ¿ Nov 4, 2019 14:22 |
|
Xarn posted:Shitposting aside, I am surprised it doesn't mention the principle of "use the least powerful language construct you can".
|
# ¿ Nov 4, 2019 19:00 |
|
DELETE CASCADE posted:when i was in school i remember being taught that oop was about things like encapsulation, polymorphism, and inheritance. when in fact those are just general programming concepts that ooplords hijacked, and the only fundamental feature of oop is dynamic dispatch the only feature i think that is really specific to langs billing themselves as oop is implementation inheritance, and the oop communities have somewhat or totally maligned that feature to be fair, OOP langs like C++ or java were contending at the time with langs like C in which encapsulation of structs was not commonly practiced
|
# ¿ Nov 15, 2019 08:26 |
|
imo you should have to instantiate an instance of Math before you can call sqrt
|
# ¿ Nov 16, 2019 03:41 |
|
avoid using static methods. why? b/c oop babies throw a tantrum if you dont
|
# ¿ Nov 17, 2019 00:39 |
|
|
# ¿ Apr 19, 2024 01:50 |
|
maybe the common paradigms for designing software are a lot more cache hostile today?
|
# ¿ Jan 13, 2020 06:06 |