Hi
user
Admin Login:
Username:
Password:
Name:
If Statements are a Code Smell
--client
pyohio
--show
pyohio_2019
--room cartoon1 14860 --force
Next: 12 Your Own Personal Bootcamp: How to Efficiently Learn Your Next Technology
show more...
Marks
Author(s):
Aly Sivji
Location
Cartoon 1
Date
jul Sat 27
Days Raw Files
Start
15:00
First Raw Start
14:32
Duration
0:30:0
Offset
0:27:21
End
15:30
Last Raw End
15:32
Chapters
00:00
0:02:56
0:22:14
Total cuts_time
24 min.
https://www.pyohio.org/2019/presentations/74
raw-playlist
raw-mp4-playlist
encoded-files-playlist
host
archive
tweet
mp4
svg
png
assets
release.pdf
If_Statements_are_a_Code_Smell.json
logs
Admin:
episode
episode list
cut list
raw files day
marks day
marks day
image_files
State:
---------
borked
edit
encode
push to queue
post
richard
review 1
email
review 2
make public
tweet
to-miror
conf
done
Locked:
clear this to unlock
Locked by:
user/process that locked.
Start:
initially scheduled time from master, adjusted to match reality
Duration:
length in hh:mm:ss
Name:
Video Title (shows in video search results)
Emails:
email(s) of the presenter(s)
Released:
has someone authorised pubication
Unknown
Yes
No
Normalise:
Channelcopy:
m=mono, 01=copy left to right, 10=right to left, 00=ignore.
Thumbnail:
filename.png
Description:
markdown
Writing software is about making trade-offs between getting things done and doing them right. Time constraints often force us to take shortcuts to handle slight variations resulting in patches of conditional logic sprinkled throughout our codebase. Workarounds that once allowed us to move quickly now hinder our progress in getting new features out to customers. It doesn't have to be this way! This talk will demonstrate how to use Object-Oriented programming patterns, specifically polymorphism, to handle conditional logic resulting in code that is easy to modify. The material will be presented in the context of a real-world code refactor for an open-source project. We will examine the initial solution, discuss its limitations, and walk through the process of refactoring nested `if` blocks into polymorphic classes. The session is geared towards developers who do not have a lot of experience implementing Object-Oriented solutions. After this talk, you will be able to identify situations where Object-Oriented design can be used to simplify complex conditional logic. Using the steps outlined, you will be able to refactor code to improve software architecture without changing existing functionality. `if` statements allow us to selectively execute code based on conditional logic. Overusing conditionals results in code that is hard to understand and difficult to modify. This talk will demonstrate how to refactor `if` statements into polymorphic classes, resulting in cleaner program design. After this session, you will be able to implement complex conditional logic using simple Python classes.
Comment:
production notes
2019-07-27/14_32_39.ts
Apply:
14:32:39 - 14:41:19 ( 00:08:40 )
S:
14:32:39 -
E:
15:02:39
D:
00:30:00
(
End:
520.0)
show more...
vlc ~/Videos/veyepar/pyohio/pyohio_2019/dv/cartoon1/2019-07-27/14_32_39.ts :start-time=00.0 --audio-desync=0
Raw File
Cut List
14:32:39
seconds: 0.0
Wall: 14:32:39
Duration
00:30:00
15:02:39
seconds: 520.0
Wall: 14:41:19
Comments:
mp4
mp4.m3u
dv.m3u
Split:
Sequence:
:
delete
2019-07-27/14_32_39.ts
Apply:
14:41:19 - 14:59:43 ( 00:18:24 )
S:
14:32:39 -
E:
15:02:39
D:
00:30:00
(
Start:
520.0) (
End:
1624.0)
show more...
vlc ~/Videos/veyepar/pyohio/pyohio_2019/dv/cartoon1/2019-07-27/14_32_39.ts :start-time=0520.0 --audio-desync=0
Raw File
Cut List
14:32:39
seconds: 520.0
Wall: 14:41:19
Duration
00:30:00
15:02:39
seconds: 1624.0
Wall: 14:59:43
Comments:
mp4
mp4.m3u
dv.m3u
Split:
Sequence:
:
delete
2019-07-27/14_32_39.ts
Apply:
14:59:43 - 15:02:39 ( 00:02:56 )
S:
14:32:39 -
E:
15:02:39
D:
00:30:00
(
Start:
1624.0)
show more...
vlc ~/Videos/veyepar/pyohio/pyohio_2019/dv/cartoon1/2019-07-27/14_32_39.ts :start-time=01624.0 --audio-desync=0
Raw File
Cut List
14:32:39
seconds: 1624.0
Wall: 14:59:43
Duration
00:30:00
15:02:39
seconds: 0.0
Wall: 14:32:39
Comments:
mp4
mp4.m3u
dv.m3u
Split:
Sequence:
:
delete
2019-07-27/15_02_39.ts
Apply:
15:02:39 - 15:21:57 ( 00:19:18 )
S:
15:02:39 -
E:
15:32:38
D:
00:29:59
(
End:
1158.0)
show more...
vlc ~/Videos/veyepar/pyohio/pyohio_2019/dv/cartoon1/2019-07-27/15_02_39.ts :start-time=00.0 --audio-desync=0
Raw File
Cut List
15:02:39
seconds: 0.0
Wall: 15:02:39
Duration
00:29:59
15:32:38
seconds: 1158.0
Wall: 15:21:57
Comments:
mp4
mp4.m3u
dv.m3u
Split:
Sequence:
:
delete
2019-07-27/15_02_39.ts
Apply:
15:21:57 - 15:23:53 ( 00:01:56 )
S:
15:02:39 -
E:
15:32:38
D:
00:29:59
(
Start:
1158.0) (
End:
1274.0)
show more...
vlc ~/Videos/veyepar/pyohio/pyohio_2019/dv/cartoon1/2019-07-27/15_02_39.ts :start-time=01158.0 --audio-desync=0
Raw File
Cut List
15:02:39
seconds: 1158.0
Wall: 15:21:57
Duration
00:29:59
15:32:38
seconds: 1274.0
Wall: 15:23:53
Comments:
mp4
mp4.m3u
dv.m3u
Split:
Sequence:
:
delete
2019-07-27/15_02_39.ts
Apply:
15:23:53 - 15:32:38 ( 00:08:45 )
S:
15:02:39 -
E:
15:32:38
D:
00:29:59
(
Start:
1274.0)
show more...
vlc ~/Videos/veyepar/pyohio/pyohio_2019/dv/cartoon1/2019-07-27/15_02_39.ts :start-time=01274.0 --audio-desync=0
Raw File
Cut List
15:02:39
seconds: 1274.0
Wall: 15:23:53
Duration
00:29:59
15:32:38
seconds: 0.0
Wall: 15:02:39
Comments:
mp4
mp4.m3u
dv.m3u
Split:
Sequence:
:
delete
Rf filename:
root is .../show/dv/location/, example: 2013-03-13/13:13:30.dv
Sequence:
get this:
check and save to add this
2019-07-27/14_32_39.ts
2019-07-27/15_02_39.ts
Veyepar
Video Eyeball Processor and Review