Cedric Buest responds to Next-gen Java Programming Style
1–8 of 8 posts
Re: Cedric Buest responds to Next-gen Java Programming Style
#2Functions are just goto in desguise. switch/case is just an if/elif/else in diguise. Objects are just structs with some fancy function calling semantics. So which one will you use? Fluent interfaces may just be setters in disguise, but they add quite a bit of value.
Re: Cedric Buest responds to Next-gen Java Programming Style
#3Quoting the article: "Fluent interfaces Now that's an interesting recommendation since it contradicts directly Stephan's suggestion of not using setters, because make no mistakes: fluent interfaces are setters in disguise. So, Stephan, which one is it? :-)" Functions are just goto in desguise. switch/case is just an if/elif/else in diguise. Objects are just structs with some fancy function calling semantics. So which…
Gosub, if one were to nitpick:)
Re: Cedric Buest responds to Next-gen Java Programming Style
#4Quoting the article: "Fluent interfaces Now that's an interesting recommendation since it contradicts directly Stephan's suggestion of not using setters, because make no mistakes: fluent interfaces are setters in disguise. So, Stephan, which one is it? :-)" Functions are just goto in desguise. switch/case is just an if/elif/else in diguise. Objects are just structs with some fancy function calling semantics. So which…
Re: Cedric Buest responds to Next-gen Java Programming Style
#5Quoting the article: "Fluent interfaces Now that's an interesting recommendation since it contradicts directly Stephan's suggestion of not using setters, because make no mistakes: fluent interfaces are setters in disguise. So, Stephan, which one is it? :-)" Functions are just goto in desguise. switch/case is just an if/elif/else in diguise. Objects are just structs with some fancy function calling semantics. So which…
Yes you can come up with a case where every one of those guidelines are wrong, but I think that there are a lot of cases where they make sense.
Re: Cedric Buest responds to Next-gen Java Programming Style
#6Re: Cedric Buest responds to Next-gen Java Programming Style
#7Quoting the article: "Fluent interfaces Now that's an interesting recommendation since it contradicts directly Stephan's suggestion of not using setters, because make no mistakes: fluent interfaces are setters in disguise. So, Stephan, which one is it? :-)" Functions are just goto in desguise. switch/case is just an if/elif/else in diguise. Objects are just structs with some fancy function calling semantics. So which…
I was just observing that you can't argue against mutators and then encourage people to use fluent interfaces since they are basically the same thing.
Re: Cedric Buest responds to Next-gen Java Programming Style
#8Quoting the article: "Fluent interfaces Now that's an interesting recommendation since it contradicts directly Stephan's suggestion of not using setters, because make no mistakes: fluent interfaces are setters in disguise. So, Stephan, which one is it? :-)" Functions are just goto in desguise. switch/case is just an if/elif/else in diguise. Objects are just structs with some fancy function calling semantics. So which…
> Functions are just goto in desguise. Gosub, if one were to nitpick:)