|
nrook posted:also, basic list operations appear to be a pain in the rear end in java, or at least they were before java 8. can't use java 8 at work yet so I don't have opinions about it, but it probably fixes some of this i think you mean code:
|
# ? Apr 15, 2014 07:42 |
|
|
# ? May 26, 2024 12:13 |
|
coffeetable posted:as to scala, i haven't used it but i know many of its headline features are now in java 8, so you might wanna try that first. not even. pattern matching, case classes, implicits, partial functions, etc.
|
# ? Apr 15, 2014 07:54 |
|
to be fair I wouldn't call list comprehension or filter a basic list operation, you're just used to the sweet syntactic sugar but that's not the point, can't you write an iterator in java 7?
|
# ? Apr 15, 2014 10:29 |
|
nrook posted:also, basic list operations appear to be a pain in the rear end in java, or at least they were before java 8. can't use java 8 at work yet so I don't have opinions about it, but it probably fixes some of this code:
|
# ? Apr 15, 2014 11:57 |
|
prefect posted:
code:
|
# ? Apr 15, 2014 12:09 |
|
Shinku ABOOKEN posted:i am doing c# so no can do guy at my work uses comic sans 14 pt bold as his ide typeface
|
# ? Apr 15, 2014 12:27 |
|
~Coxy posted:guy at my work uses comic sans 14 pt bold as his ide typeface recently former coworker did the same hmm
|
# ? Apr 15, 2014 12:57 |
|
nrook posted:also, basic list operations appear to be a pain in the rear end in java, or at least they were before java 8. can't use java 8 at work yet so I don't have opinions about it, but it probably fixes some of this lol. not using linq for that is the most retarded thing.
|
# ? Apr 15, 2014 15:02 |
|
yeah couldn't you just do foos.where
|
# ? Apr 15, 2014 15:03 |
|
yes. but he thinks putting retarded garbage you will never reuse into reusable functions is a thing that people should do
|
# ? Apr 15, 2014 15:04 |
|
not that you couldn't make a reusable function w/ linq
|
# ? Apr 15, 2014 15:04 |
|
k gonna keep laughsing
|
# ? Apr 15, 2014 15:11 |
|
Shaggar posted:yes. but he thinks putting retarded garbage you will never reuse into reusable functions is a thing that people should do uh idk shaggar, breaking poo poo into functions (even if you'll never reuse them) sounds like a good thing compared to just writing a big sequence of convoluted garbage at least your garbage is all isolated into tiny digestible chunks
|
# ? Apr 15, 2014 15:51 |
|
why would it be better to have that awful function call than a single call to a std function
|
# ? Apr 15, 2014 15:52 |
|
idk about that because I don't even know what are java's std functions, I was just thinking in a general case
|
# ? Apr 15, 2014 15:54 |
|
Symbolic Butt posted:idk about that because I don't even know what are java's std functions, I was just thinking in a general case the java code is correct afaik but the c# code is functionally equivalent to code:
|
# ? Apr 15, 2014 16:00 |
|
regardless of your opinions on reusability i don't see much way that you could improve that from a readability standpoint, since all the information is right there
|
# ? Apr 15, 2014 16:01 |
|
Dessert Rose posted:the java code is correct afaik but the c# code is functionally equivalent to neat
|
# ? Apr 15, 2014 16:02 |
|
Dessert Rose posted:the java code is correct afaik but the c# code is functionally equivalent to actually hes trying to get the indexes of the foos where their bar value is "hi" instead of selecting the foos (which is stupid). the linq would be something like C# code:
|
# ? Apr 15, 2014 16:23 |
|
Dessert Rose posted:
does this return the indices or all the "hi"s?
|
# ? Apr 15, 2014 16:24 |
|
im the code in a high level language where indices in a list are being janitored
|
# ? Apr 15, 2014 16:29 |
|
Shaggar posted:actually hes trying to get the indexes of the foos where their bar value is "hi" instead of selecting the foos (which is stupid). the linq would be something like poo poo I forgot c# had nice anonclasses like that, it's been too long. also I'm not sure I ever knew there was a select that gave you the indices. in that case yeah the linq way is better and yeah good code would not require a list of indices ever. But I was passing them into bad code, which wanted the list of indices. doing dumb things with sequences to pass them into various functions is a really, really common thing to have to do, so good languages make it easy ah well, I (think?) java 8 should make this better anyway
|
# ? Apr 15, 2014 16:35 |
|
just found my new favorite phrasecode:
|
# ? Apr 15, 2014 18:47 |
|
Bloody posted:im the code in a high level language where indices in a list are being janitored this is why i missed what the hell was going on the first time around also why you don't wrap tiny linq queries in their own method
|
# ? Apr 15, 2014 18:51 |
|
ctps: making monstrous nested struct/union beasts like, a union of a struct and an array and the struct is full of unions of bits and bytes and also loose bytes and aughughguh its like russian nesting dolls made of poo poo
|
# ? Apr 15, 2014 18:53 |
|
Bloody posted:ctps: making monstrous nested struct/union beasts why
|
# ? Apr 15, 2014 19:14 |
|
my chickens, they have come home to roost. currently tasked with "performance optimization" of our EF use. lol
|
# ? Apr 15, 2014 19:42 |
|
expression trees rule everything around me.
|
# ? Apr 15, 2014 19:43 |
|
because im a horrible monster relying on compiler behavior to slightly-more-sanely address bitfields in a large pile of poo poo
|
# ? Apr 15, 2014 19:46 |
|
Morkai posted:my chickens, they have come home to roost. currently tasked with "performance optimization" of our EF use. lol just reduce the length of the busy loop, ez
|
# ? Apr 15, 2014 22:45 |
|
doing software engineering at my university is literally just CS except you get less choice of classes in your final year, and in the third year there is a mandatory summer work placement with accompanying essay/presentation
|
# ? Apr 16, 2014 02:44 |
|
thanks -ocode:
|
# ? Apr 16, 2014 04:53 |
|
Morkai posted:my chickens, they have come home to roost. currently tasked with "performance optimization" of our EF use. lol rewrite those methods to not use EF. done!
|
# ? Apr 16, 2014 18:50 |
|
Valeyard posted:doing software engineering at my university is literally just CS except you get less choice of classes in your final year, and in the third year there is a mandatory summer work placement with accompanying essay/presentation you're lying
|
# ? Apr 16, 2014 18:50 |
|
apt gangbang posted:you're lying mobile software engineering is the only one that is different, becaause you get to drop the database class and take an embedded systems class in its place
|
# ? Apr 16, 2014 19:00 |
|
oh
|
# ? Apr 16, 2014 19:09 |
|
Valeyard posted:mobile software engineering is the only one that is different, becaause you get to drop the database class and take an embedded systems class in its place what? that's dumb, database design is really important in mobile. embedded systems class is cool though, they should be required to take both
|
# ? Apr 16, 2014 19:19 |
|
Uncomfortable Gaze posted:what? that's dumb, database design is really important in mobile. embedded systems class is cool though, they should be required to take both yup, there are definetely other classes that could be removed instead of database, the one about programming language syntax parsing/scope checking/code generation is interesting but would make more sense to lose
|
# ? Apr 16, 2014 19:22 |
|
at my uni software engineering was pretty good, the mandatory courses were often shared with CS but i think there was a good focus on applying the science which would be my definition of engineering. there was a pretty good choice of cs/eng courses you could take too as elective slots and we had to do at least 400 hours of real work experience with reports over the degree, and a large project in 3rd and fourth year though heaps of people didn't do the work exp, never graduated, got a job anyway
|
# ? Apr 17, 2014 01:42 |
|
|
# ? May 26, 2024 12:13 |
|
is "software engineering" an actual ABET degree?
|
# ? Apr 17, 2014 01:44 |