4 ms·
Could you explain why you think this? Programming is 75-90% repetition of patterns. The remaining 10-15% are the difference between a simple translation of usu
by chupa-chups 7y ago
Could you explain why you think this?
Programming is 75-90% repetition of patterns. The remaining 10-15% are the difference between a simple translation of usual human language into a foreign language vs. developing algorithms and/or logic to solve a problem.
If we can get rid of the non-algorithm, non-logic part we'd be better off, and this is what i read into this sentence.
- bryanrasmussen 7y agorepetition of patterns is the easy part, so getting rid of the easy part and leaving the difficult part might not make much difference in the end. Especially as the easy part can be an access point to the more complicated.
- chupa-chups 7y agoStill it takes easily 50% of the time available for actual coding, even using modern IDEs.
- wolco 7y agoUse a framework and/or abstract your patterns.
- bryanrasmussen 7y agoAnd meetings take the other 50% of time available. I know what I want to get rid of.
- msla 7y agoNew learners are suspicious, if they're any good. Look at this snippet of Java: public static void main(String[] args) You have to put that exactly in every Java program. Why? What does it mean? Why can't I omit it? To answer all of those questions, you need to go into method visibility, the difference between static and instance methods (itself easily requiring the teacher to introduce the concept of 'state' and what OO is at a basic level), types and the notion of a "void" type, and odd historical baggage which prompts the JVM to look for 'main' as a special, magical name. You haven't even gotten to "Hello, world!" and you have to unpack at least a lecture's worth of knowledge into the poor sap's head. It's a lot easier to have a language where you type commands and the machine follows them. Even fundamentally bad languages, like GW-BASIC (my first language), have a hypnotic power over young programmers simply by virtue of that immediate response.
- chupa-chups 7y agoThis is what is said. So why do you appear to oppose? Programming today still means 85%-90% doing repetitive stuff. Tools could do away with this, freeing the developer/engineer to spend more time on solving actual problems. If you oppose to this, please state the reason why, since I'm probably fogged. To be more clear, I don't propose to make programming easier. I do propose to make so-called "programming" go away, to focus on the actual problem-solving part. "Programming" to me means mostly translating requirements into code (without having to deal with decomposing and recombining requirements, which is the real work).
- msla 7y ago> Programming today still means 85%-90% doing repetitive stuff. But some languages have more than others, which is why they're bad teaching languages. That's my point. > To be more clear, I don't propose to make programming easier. I do propose to make so-called "programming" go away, to focus on the actual problem-solving part. "Programming" to me means mostly translating requirements into code (without having to deal with decomposing and recombining requirements, which is the real work). Translating requirements into code is programming. Reducing boilerplate isn't making programming go away.
- brutt 7y ago> It's a lot easier to have a language where you type commands and the machine follows them. It's known as "shell". It's opposite to programming.
- TeMPOraL 7y agoNo, it's known as a Read-Eval-Print Loop, or REPL. "Shell" is a kind of REPL for a kind of language, both being optimized to minimize typing required to execute commands and string them together in a pipe. It's good at its job, but it's poor general REPL. Proper programming REPLs are very powerful and very useful tools, to the point I'm pretty unhappy when I have to work in a language without one.